To recapture, I am running on a network of 4 Sun Ultra/Blade100 machines
with Solaris 7. I was not able to run certain testing programs in BLACS.
Now I have just installed LAM 6.5.9, as suggested by Jeff Squyres, with gcc
and f77 as the underlying compilers. When I installed Lam and "configured"
it, I did not change any of the configure switches, that is, I simply typed
"./configure --prefix=...."
I am not able to compile two of the BLACS testing programs:
1. xtc_CsameF77
prompt% make xtc_CsameF77
rm -f mpif.h
ln -s /home/lam6.5.9/include/mpif.h mpif.h
mpif77 -c -u -f -O4 tc_fCsameF77.f
tc_fCsameF77.f:
MAIN tctst:
mpicc -c -O3 -DSYSINC -I/home/lam6.5.9/include -DAdd_ -DBlacsDebugLvl=1
-DUseMpi2 tc_cCsameF77.c
mpif77 -o /home/BLACS/INSTALL/EXE/xtc_CsameF77 tc_fCsameF77.o
tc_cCsameF77.o /home/lam6.5.9/lib/libmpi.a
Undefined first referenced
symbol in file
__muldi3
/home/lam6.5.9/lib/libmpi.a(lamonesided.o)
ld: fatal: Symbol referencing errors. No output written to
/home/BLACS/INSTALL/EXE/xtc_CsameF77
*** Error code 1
make: Fatal error: Command failed for target
`/home/BLACS/INSTALL/EXE/xtc_CsameF77'
2. xfmpi_sane
prompt% make xfmpi_sanempif77 -c -u -f -O4 fmpi_sane.f
fmpi_sane.f:
MAIN fmpi_sane:
mpif77 -o /home/BLACS/INSTALL/EXE/xfmpi_sane fmpi_sane.o
/home/lam6.5.9/lib/libmpi.a
Undefined first referenced
symbol in file
__muldi3
/home/lam6.5.9/lib/libmpi.a(lamonesided.o)
ld: fatal: Symbol referencing errors. No output written to
/home/BLACS/INSTALL/EXE/xfmpi_sane
*** Error code 1
make: Fatal error: Command failed for target
`/home/BLACS/INSTALL/EXE/xfmpi_sane'
I can execute other testing programs kind of successfully, ignoring the
seemingly unimportant error msg:
1. prompt% mpirun n0-3 xsize
ISIZE=4
SSIZE=4
DSIZE=8
CSIZE=8
ZSIZE=16
ISIZE=4
SSIZE=4
DSIZE=8
CSIZE=8
ZSIZE=16
ISIZE=4
SSIZE=4
DSIZE=8
CSIZE=8
ZSIZE=16
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
2. prompt% mpirun n0-3 xintface
For this platform, set INTFACE = -DAdd_
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
3. 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.
4. 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.
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
Compile and run xtc_CsameF77 for correct TRANSCOMM setting.
If xtc_CsameF77 fails, leave TRANSCOMM blank.
5. 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
Any help is greatly appreciated. Thank you.
>From: Jeff Squyres <jsquyres_at_[hidden]>
>Date: Tue, 24 Jun 2003 22:25:01 -0400 (EDT)
>
>On Mon, 23 Jun 2003, x z wrote:
>
> > 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.
>
>I get the same result with LAM 7.0 on Solaris.
>
> > 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:
>
>This might be a function of using that old version of LAM; can you
>upgrade?
>
>It compiles and runs fine for me with LAM 7.0 (note that 7.0 isn't
>released yet -- but it's really close. I swear. ;-). I suspect the
>result will be the same with 6.5.9 (the currently released stable
>version); let me know if you have problems with 6.5.9.
>
> > 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.
>
>This does not compile for me because it uses MPIR_* functions, which is
>specific to MPICH. I'm surprised this compiled for you...?
>
> > 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:
>
>Ditto for #2.
>
>--
>{+} Jeff Squyres
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
|