11.2 Jumpshot
� ������ ��������
�������� mpich �������� ��������� �������� ��� ������������ ������ log,
������������ ������������ mpich, ��� ����� ���������� mpich. ����� ������ ��
���������� � mpich �������� ���������� upshot. ��� � ������ ���������� 7
tcl/tk. �� ��������� ���������� nupshot, ��� ������� ������ ���������� ��
������� log-������, ��� ��� ����� �� �������� �� ��. ����� ���������,
������������ �� ��� ��������������, ������������ Java-������ upshot,
������� �� �������� jumpshot. Upshot � nupshot ���������� log-���� � �������
ASCII, ������� �� �������� ALOG. Jumpshot ���������� �����, �������� ������,
������� �� �������� CLOG. Mpich ������ ����� � CLOG �� ���������;
��� ��������� ALOG-������ ���������� ���������� ��������� MPE LOG FORMAT ��
ALOG. �����, ��������������, ������ log-������ ���������� SLOG. ��
����� �������������� � mpich. ������������� ����� SLOG ����� ������ ���������
jumpshot.
� ������ ��������
������ ��������� � ����������� `examples/basic' ��� `mpe/contrib/test'
���� cpilog. ��� ��������� ���������� ��������� �� ����������� �� ����������
MPE. ���� �� ��������� � ��������� ��, ��� ������ ������� log-����, �������
����� ������������� ������������� ������������ ������� upshot ��� Jumpshot.
Upshot ����� ���������� ��� ����� ��������� mpich, ���� �������� �nompe
�� ����� ������� ������������ mpich, a ������������ � ����������� `mpe'
� ��������� ����� tk � wish (��� ����� ���� ������� ��� ��������� ���
������������ mpe; ��. ������ 10.2). ���� ���������� mpe �������� �����������
MPI, �������� �� MPICH, ������������ mpe ��� �����
����� ��������� � �������� ����� tk � wish.
����� ������������ upshot ��� ��������� log-�����, ���������
make cpilog mpirun �np 4 cpilog upshot cpilog.log
� ������ ��������
�������������� ��� ������������ SLOG-������ ���������� jumpshot-3. �� ���������
� mpich/jumpshot-3.
���������� jumpshot-3: (���� �� ����� ������ ������ upshot ���� ����������� � ������� Xlib � ������� Athena)
cd to $(MPICH)/jumpshot-3, �������� configure � ��������� ������. ���� ���� configure �������, ��� �� ����� ����� ������� ������ JAVA, ���� ���� �� ������ ��������������� jumpshot-3 � ������������ ������� JAVA, ��������
./configure �with-java=/homes/chan/java/jdk117.v3 � ����� ��������
make
cd to $(MPICH)/jumpshot-3/bin
����� �������, ���� �� ���������� jumpshot � slog.print. slog.print � ��� �������� ��� ���������� slog java api ��� ������ ���������� �� � log-������. jumpshot ���� �������� ��� ���������� jumpshot-3, ����������� ��������� ��� ������������ slog-������. ���� ���� �������, ������� �� � mpi-maint@mcs.anl.gov.
� ������ ��������
Jumpshot ������������ � 2 ���������� �������, `jumpshot.in' (��� �������������
� JAVA 1.1.*) � `jumpshot12.in' (��� ������������� � JAVA 1.2.*),
������� ��������� � ����������� `jumpshot/build/unix/bin'. ����������
���� ��������� ������ � ���������� ���������� CLASSPATH ����� ������������
jumpshot. ��� ��������� ���������� CLASSPATH ����� ������ ����������
JAVA HOME � JUMPSHOT HOME. ���� ������������ �� �������� `jumpshot'
������� � ������� ���� ����������, ����������� �� � ��������������� .in file,
�������� ���������� jumpshot ��� jumpshot12 � ��������� �� � ������
������� bin. ����� ��������� ������ ���� ��� ��������� ���� ��������� ��
������ � ��������� ������� jumpshot �� ������ ��������, ������
jumpshot
��� jumpshot !name of clog file?
� ������ ��������
Jumpshot ����� ��������������� ����� ���������:
��� ����� ������������ mpich. ���������������� � �������� mpich ����� ������� can ������������ � ����������� `mpe', ������� ����� ������� ������������ � ����������� `jumpshot'. ��� ���� ������ ��� ������������ mpich �� ���������, �� ����� ���� �������� ������������� mpich � ���������� �nompe.
��� ����� ������������ mpe. ������������ � �������� mpe ����� ������� ������������ � �������� jumpshot. ��� ���������� �� ���������, ���� ���������� mpe ���� ��������������� � mpich. � ��������� ������ ������ ���� ������ �������� ������������ �with-jumpshot home=JUMP HOME.
��������������. Jumpshot ����� ���������������, ������ configure !configure options? � �������� jumpshot. ������
./configure �help
� �������� �������� ������ `jumpshot', ����� ������� ������ �������/��������������. ������������ ���������������� ������/�������������:
-with-bindir=DIR ��������� ������� ��� ���������� ���������� ��������� jumpshot. ��� ����� jumpshot �� ����� ���������������. ��� ������������ � MPICH ��� ������ � ����������� mpe �� ����� ��������� �� ��������� (�� ����� ���� ��������).
-with-jumpshot home=JUMP HOME ��������� ���� � �������� �������� ������, ��� ���������� jumpshot. ��� ����� �������� jumpshot �� ����� �����������������. ��� ������������ � MPICH ������������� ������������ �� ��������� (�� ����� ���� ��������).
�������������� ������/�������������:
-enable-echo �������� ������� ���. �� ��������� ��� �����������.
-with-java=DIR ��������� ���� � �������� �������� JAVA. ���� ������, ������������ �������� ����� java.
-with-java version=VERSION ��������� ������ JAVA. ���� ������, ������������ ���� �������� ����� ���� ������ java.
� ������ ��������
��� ���������� ����, jumpshot ����� ���� ���������� ��� ����� ������������
mpich ��� mpe ��� ��������������. ���� ���������� ���������� � ������� ���
������� ������.
������������ jumpshot ��� ����� ������������ mpich. ��� ����� ��������� �� ��������� ������� ������������� ��� ������. ������������ � ��������� mpich � mpe ������� ����������� ���������� � �������� �� ������������ � �������� jumpshot. ���� ������������ � �������� mpich �� ��������� ����������, jumpshot ����� ��������������� � ���������� �� ���������. ������������ ��� ������� ����� �������� � ������������ � mpich ��������� ���������:
-mpe.opts=MPE.OPTS �jumpshot.opts=JUMP.OPTS
��� JUMP OPTS ���� ���� �� �������, ��������� � ������� 11.2.1 (������� ������������ �jumpshot.opts �� ��������� ��������� ����� ������ ��������� ��� ������������ jumpshot's configure). ��. ������ 10.1 � MPE OPTS.
������ 1: ���������������� MPICH � ����������� mpe � jumpshot
� �������� �������� ������ ��� mpich ��������
./configure !mpich configure options? make
������ 2: ���������������� MPICH ��� ���������� mpe library � � jumpshot
� ��������� �����, ���� MPICH ��������������� ��� ���������� mpe, �� jumpshot �� ������� ������������ (��������� ������������ mpe ������������ ������������ jumpshot). ��������� ���� ���������� ��� ������������ MPICH � jumpshot ��� ���������� mpe
� �������� mpich �������� ������ ��������
./configure !mpich configure options? �nompe make
� ����������� jumpshot
configure �with-bindir=!directory path of mpich/bin? � �with-jumpshot.home=!directory path of jumpshot?
������ 3: ���������������� MPICH � ����������� mpe � � ����� � �������� java ��������� ��� �������� ��� ������������ jumpshot
� �������� �������� ������ ��� mpich
./configure !mpich configure options? � �jumpshot.opts=-with-jumpshot.opts=-with-java=!directory path of java? make
���������� �������� �with-jumpshot.opts, ��������� ������������ mpich ��������� �� �jumpshot.opts � ������������ mpe ��������� �� �with-jumpshot.opts � �������� �������� � ������������ jumpshot.
������ 4: ���������������� MPICH � ����������� mpe � ����������� ��������� jumpshot home � ������������ jumpshot.
� �������� �������� ������ ��� mpich
./configure !mpich configure options? � �jumpshot.opts=-with-jumpshot.opts=-with-jumpshot.home=DIR
make
���������������� jumpshot ��� ����� ������������ mpe.
������ 1: ������������ ���������� mpe � jumpshot � MPICH (��� ����������������� � �������������)
� �������� �������� ������ ��� mpe
./configure �with-mpich=!top-level directory of MPICH? � �with-mpichdev=!library subdirectory of MPICH? make
������ 2: ������������ ���������� mpe � jumpshot � SGI's MPI
� ������� �������� ��� mpe
./configure �with-sgi �libdir=!directory path of libdir? � �with-jumpshot.home=!directory path of jumpshot? make
������ 3: ���������������� ���������� mpe ��� jumpshot � IBM's MPI
� ������� ��������he mpe
./configure �with-sp �libdir=!directory path of libdir? � �enable-jumpshot=no make
������ 4: ���������������� ���������� mpe � java ������ ��� �������� ��� ������������ jumpshot
� ������� �������� mpe
./configure !MPI implementation switch? � �with-jumpshot.opts=-with-java=!directory path of java? make
��������������� ������������ jumpshot. Example 1: ��������������� jumpshot
� ������� �������� ��� jumpshot
./configure �bindir=!directory path of bindir? � �with-jumpshot.home=!directory path of jumpshot?
������ 2: ���������������� jumpshot � ������� ���
� ������� �������� ��� jumpshot
./configure �bindir=!directory path of bindir? � �with-jumpshot.home=!directory path of jumpshot? � �enable-echo=yes
Log-����, �������������� � ������� cpilog, �� ����� ���������, ��� ��� cpi � ������� ���������. ����� ���������� log-����� ����� ���������� � ������������ `profiling/upshot/logfiles' ��� `jumpshot/lib/logfiles'. ���� cpilog.c ������������� ��� ����������������� ��� ����������� ��� ��� ������ ����� logs. ����������� ������������ 9 ���������, ��� ��������� � ������� mpich, ������� ���������� �� �������������. ��� �������� ���������� � ����������� � �������� examples/basic ��. ��� ���� README.