Hp XC System 2.x Software Manuel d'utilisateur Page 70

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 69
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 above example, ~/examples_directory/vtjacobic represents the file
specification for the vtjacobic example program.
For more information, see the following:
http://support.intel.com/support/performancetools/c/linux/sb/CS-
010097.htm
5.1.2 Running a Program Intel Trace Collector and HP-MPI
Assuming that you have built y our program u sing the -static-libcxa option, as discussed
in Section 5.1.1, you can launch the program with the mpirun.mpich command, as shown
in the following example.
C Example Running the vtjacobic Example Program
This example shows how to run the vtjacobic example program discussed in Section 5.1.1.
$ 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 the above example, ~/examples_directory/vtjacobic represents the file
specification for the vtjacobic example program.
5.1.3 Visualizing Data Intel Trace Analyzer an d HP-MPI
The Intel Trace Analyzer is used in a straightforward m anner on an HP X C system, as described
in it’s standard documentation. For more information, refer to the Intel Trace Analyzer Users
Guide. T his document is located on the HP XC s y stem at the following lo catio n: <install-
path-name>/ITA/doc/Intel_Trace_Analyzer_Users_Guide.pdf.
5-2 Tuning Applications
Vue de la page 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 153 154

Commentaires sur ces manuels

Pas de commentaire