Hp XC System 3.x Software Manual de usuario Pagina 74

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 133
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 73
Example 8-1 The vtjacobic Example Program
For the purposes of this example, the examples directory under /opt/IntelTrace/ITC is copied to the
user's home directory and renamed to examples_directory.
The GNU Makefile looks as follows:
CC = mpicc.mpich
F77 = mpif77.mpich
CLINKER = mpicc.mpich
FLINKER = mpif77.mpich
IFLAGS = -I$(VT_ROOT)/include
CFLAGS = -g
FFLAGS = -g
LIBS = -lvtunwind -ldwarf -lnsl -lm -lelf -lpthread
CLDFLAGS = -static-libcxa -L$(VT_ROOT)/lib $(TLIB) -lvtunwind \
-ldwarf -lnsl -lm -lelf -lpthread
FLDFLAGS = -static-libcxa -L$(VT_ROOT)/lib $(TLIB) -lvtunwind \
-ldwarf -lnsl -lm -lelf -lpthread
In the cases where Intel compilers are used, add the -static-libcxa option to the link line. Otherwise
the following type of error will occur at run-time:
$ mpirun.mpich -np 2 ~/examples_directory/vtjacobic
~/examples_directory/vtjacobic:
error while loading shared libraries:
libcprts.so.6: cannot open shared object file:
No such file or directory
MPI Application rank 0 exited before MPI_Init() with status 127
mpirun exits with status: 127
In “The vtjacobic Example Program”, ~/examples_directory/vtjacobic represents the file
specification for the vtjacobic example program.
For more information, see the following Web site:
http://support.intel.com/support/performancetools/c/linux/sb/CS-010097.htm
8.1.2 Running a Program Intel Trace Collector and HP-MPI
Assuming that you have built your program using the -static-libcxa option, as discussed in “Building
a Program — Intel Trace Collector and HP-MPI”, you can launch the program with the mpirun.mpich
command, as shown in the following example.
Example 8-2 shows how to run the vtjacobic example program discussed in “Building a Program —
Intel Trace Collector and HP-MPI”.
Example 8-2 C Example Running the vtjacobic Example Program
$ mpirun.mpich -np 2 ~/examples_directory/vtjacobic
~/examples_directory/vtjacobic:100 iterations
in 0.228252 secs (28.712103 MFlops), m=130 n=130 np=2 [0]
Intel Trace Collector INFO: Writing tracefile vtjacobic.stf
in ~/examples_directory/vtjacobic
mpirun exits with status: 0
In Example 8-2, ~/examples_directory/vtjacobic represents the file specification for the vtjacobic
example program.
74 Tuning Applications
Vista de pagina 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 132 133

Comentarios a estos manuales

Sin comentarios

Philips 017266693 manuals

Owner’s manuals and user’s guides for Outdoor lighting Philips 017266693.
We providing 1 pdf manuals Philips 017266693 for download free by document types: Datasheet






More products and manuals for Outdoor lighting Philips

Models Document Type
14653046 Datasheet   Philips 01465/30/46, 2 pages
170864746 Datasheet   Philips Wall light 17086/47/46, 2 pages
170144786 Datasheet   Philips Wall light 17014/47/86, 2 pages
320103146 Datasheet   Philips Wall light 32010/31/46, 2 pages
168068776 Datasheet   Philips Wall light 16806/87/76, 2 pages
171308746 Datasheet   Philips Wall light 17130/87/46, 2 pages
168094776 Datasheet   Philips Wall light 16809/47/76, 2 pages
171734746 Datasheet   Philips Wall light 17173/47/46, 2 pages
017266631 Datasheet   Philips 017266631, 2 pages
171733046 Datasheet   Philips Wall light 17173/30/46, 2 pages
171059346 Datasheet   Philips Wall light 17105/93/46, 2 pages
171309346 Datasheet   Philips Wall light 17130/93/46, 2 pages
170149386 Datasheet   Philips Wall light 17014/93/86, 2 pages
170143186 Datasheet   Philips Wall light 17014/31/86, 2 pages
17264693 Datasheet   Philips 01726/46/93, 2 pages
171504716 Datasheet   Philips myGarden Wall light 17150/47/16, 2 pages
171058746 Datasheet   Philips Wall light 17105/87/46, 2 pages
016520616 Datasheet   Philips myGarden Wall light 01652/06/16, 2 pages
320109346 Datasheet   Philips Wall light 32010/93/46, 2 pages
163209316 Datasheet   Philips Ledino Wall light 16320/93/16, 2 pages