I am a novice. I am running the latest BLACS just downloaded from
netlib.org with patch 3 applied, with LAM 6.3.1/MPI 2 C++ from Notre Dame.
My machine is a Sun Ultra running on Solaris 7. Other 3 machines in the
network includes a SunBlade100.
I made the following changes in Bmake.inc as suggested in lam-mpi.org:
F77 = mpif77
F77LOADFLAGS =
CC = mpicc
CCLOADFLAGS =
INTFACE = -DAdd_
TRANSCOMM = -DUseMpi2
There are five little test programs as described in page 7 of the
"Installing and Testing the BLACSv1.1" manual:
xsyserrors
xtc_CsameF77
xtc_UseMpich
xcmpi_sane
xfmpi_sane
They all compiled.
1. When I execute xsyserrors, I get the following msg:
prompt% mpirun n0-3 xsyserrors
If this routine does not complete, you should set SYSERRORS =
-DZeroByteTypeBug.
Leave SYSERRORS blank for this system.
If this routine does not complete, you should set SYSERRORS =
-DZeroByteTypeBug.
Leave SYSERRORS blank for this system.
If this routine does not complete, you should set SYSERRORS =
-DZeroByteTypeBug.
Leave SYSERRORS blank for this system.
If this routine does not complete, you should set SYSERRORS =
-DZeroByteTypeBug.
Leave SYSERRORS blank for this system.
So I think I can ignore them because my SYSERRORS is set to blank.
2. When I execute xtc_CsameF77, I get the following error msg:
prompt% mpirun n0-3 xtc_CsameF77
MPI_Comm_size: invalid communicator (rank 0, MPI_COMM_WORLD)
Rank 0: Call stack within LAM:
Rank 0: - MPI_Comm_size()
Rank 0: - main()
MPI_Comm_size: invalid communicator (rank 1, MPI_COMM_WORLD)
MPI_Comm_size: invalid communicator (rank 2, MPI_COMM_WORLD)
MPI_Comm_size: invalid communicator (rank 3, MPI_COMM_WORLD)
Rank 1: Call stack within LAM:
Rank 1: - MPI_Comm_size()
Rank 1: - main()
22046 (n0) exited with status 1
Rank 3: Call stack within LAM:
Rank 3: - MPI_Comm_size()
Rank 3: - main()
Rank 2: Call stack within LAM:
Rank 2: - MPI_Comm_size()
Rank 2: - main()
What should I do?
3. When I execute xtc_UseMpich, I get the following msg:
prompt% mpirun n0-3 xtc_UseMpich
Compile and run xtc_CsameF77 for correct TRANSCOMM setting.
If xtc_CsameF77 fails, leave TRANSCOMM blank.
Compile and run xtc_CsameF77 for correct TRANSCOMM setting.
If xtc_CsameF77 fails, leave TRANSCOMM blank.
Compile and run xtc_CsameF77 for correct TRANSCOMM setting.
If xtc_CsameF77 fails, leave TRANSCOMM blank.
mpirun: process terminated before completing MPI_Init()
Compile and run xtc_CsameF77 for correct TRANSCOMM setting.
If xtc_CsameF77 fails, leave TRANSCOMM blank.
Can I ignore the "mpirun: process terminated before completing MPI_Init()"
msg?
Can I disregard this entire thing since I am running LAM, not MPICH?
4. When I execute xcmpi_sane, I get the following msg:
prompt% mpirun n0-3 xcmpi_sane
0: C MPI sanity test passed
1: C MPI sanity test passed
3: C MPI sanity test passed
2: C MPI sanity test passed
5. When I execute xfmpi_sane, I get the following err msg:
prompt% mpirun n0-3 xfmpi_sane
MPI_Comm_size: invalid communicator (rank 0, MPI_COMM_WORLD)
Rank 0: Call stack within LAM:
Rank 0: - MPI_Comm_size()
Rank 0: - main()
MPI_Comm_size: invalid communicator (rank 1, MPI_COMM_WORLD)
MPI_Comm_size: invalid communicator (rank 2, MPI_COMM_WORLD)
MPI_Comm_size: invalid communicator (rank 3, MPI_COMM_WORLD)
22053 (n0) exited with status 1
Rank 1: Call stack within LAM:
Rank 1: - MPI_Comm_size()
Rank 1: - main()
Rank 3: Call stack within LAM:
Rank 3: - MPI_Comm_size()
Rank 3: - main()
Rank 2: Call stack within LAM:
Rank 2: - MPI_Comm_size()
Rank 2: - main()
What went wrong?
I searched the mail archive and it seems someone reported similar situation
but I cannot find an applicable solution.
I really appreciate any help.
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
|