lam-mpi.org's FAQ #7 says "Since LAM allows you to mpirun non-MPI programs,
you can either mpirun purify directly, or write a short shell script to
perform some "smart" execution decisions to limit your output." I do not
undersatnd what it really means.
I have a Makefile that containes:
PURIFY := purify
CC := mpicc
CFLAG := -g -c -O3
$(TAR): $(OBJ) $(INC)
$(PURIFY) $(CC) -o $(TAR) $(OBJ) $(LIB)
and I tried this:
% gmake
purify mpicc -o a.out my_prog.o
Sorry, 'mpicc' is an unknown compiler.
Usage: purify <compiler> foo.o ...
Purify only knows about the following compilers:
cc, acc, CC, gcc, g++, clcc, OSCC and ld.
See details in script:
/opt/rational/releases/purify.sol.2002a.06.00/purify.sh
Well,I compiled it without purify and tried this:
% mpirun C purify a.out
Sorry, 'a.out' is an unknown compiler.
Usage: purify <compiler> foo.o ...
Purify only knows about the following compilers:
cc, acc, CC, gcc, g++, clcc, OSCC and ld.
See details in script:
/opt/rational/releases/purify.sol.2002a.06.00/purify.sh
-----------------------------------------------------------------------------
It seems that [at least] one of processes that was started with mpirun
did not invoke MPI_INIT before quitting (it is possible that more than
one process did not invoke MPI_INIT -- mpirun was only notified of the
first one, which was on node n0).
mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.
-----------------------------------------------------------------------------
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
|