Hello, there:
We installed lam/mpi with pgi compilers. Installation is good. But we got
problem when we run a program. Here are the detail:
We installed it following the instruction as:
export PGI=/scracth/pgi
export PATH=/scracth/pgi/linux86_64/6.0/bin:$PATH
export cc=pgcc
export CC=pgCC
export FC=pgf95
export F77=pgf95
./configure --disable-tv-queue --with-exceptions
make
make install
Everything OK here
Then we tested it with the hello example
master:/scratch/lam-7.1.1/examples/hello> mpicc -o hello hello.c
It's OK
yzhao_at_master:/scratch/lam-7.1.1/examples/hello> lamboot -v lamhosts
LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University
n-1<10024> ssi:boot:base:linear: booting n0 (master)
n-1<10024> ssi:boot:base:linear: finished
It's OK too.
Then we got problem to run it.
yzhao_at_master:/scratch/lam-7.1.1/examples/hello> mpirun C hello
-----------------------------------------------------------------------------
No SSI RPI modules said that they were available to run.
This should only happen if you request an MPI thread level that is too
high (for example, none of the SSI RPI modules that are included with
LAM/MPI currently support MPI_THREAD_MULTIPLE). If this happened and
you did not call MPI_INIT_THREAD with MPI_THREAD_MULTIPLE, something
catastrophic happened during SSI module selection such that no RPIs
were able to run.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
It seems that [at least] one of the 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.
Anybody know what happened and how to solve it? Help will be highly
appreciated.
Regards
Yongsheng Zhao
|