ScaLAPACK Archives

[Scalapack] [EXAMPLES] Mpirun_Error

Hi,
you need also in the link the LAPACK library.
For information, LAPACK 3.4.0 and ScaLAPACK 2.0.0 have just been released.
Now the BLACS is included inside ScaLAPACK and only one library is needed in 
your link: libscalapack.a 
Check http://www.netlib.org/lapack and http://www.netlib.org/scalapack
Please let us know if you need some more help.
Julie
On Nov 14, 2011, at 9:29 AM, Sprenger Siegfried wrote:

Hi,


I'm trying to link scalapack-1.8.0 with MUMPS-4.10.0 but compilation of some 
MUMPS examples (single precision complex and double precision complex) are 
reporting error on the libscalapack.a (I precised that all MUMPS library have 
been compiled without error) :

You will find below the 2 errors :

# make zsimpletest
/cluster/freeware/mpich2-1.4.1p1/bin/mpif77 -o zsimpletest -O  zsimpletest.o  
../lib/libzmumps.a ../lib/libmumps_common.a 
-L/cluster/freeware/parmetis-3.2.0/lib/ -lparmetis -lmetis -L../PORD/lib/ 
-lpord -L/cluster/freeware/pt_scotch_5.1.12_esmumps/lib -lptesmumps 
-lptscotch -lptscotcherr /cluster/freeware/scalapck-1.8.0/lib/libscalapack.a 
/cluster/freeware/blacs-1.1/lib/blacs_MPI-LINUX-0.a 
/cluster/freeware/blacs-1.1/lib/blacsF77init_MPI-LINUX-0.a 
/cluster/freeware/blacs-1.1/lib/blacs_MPI-LINUX-0.a  
-L/cluster/freeware/mpich2-1.4.1p1/lib -lmpich  -L/cluster/freeware/blas/lib 
-lblas -lpthread
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pzpotf2.o)(.text+0x50b): 
In function `pzpotf2_':
: undefined reference to `zlacgv_'
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pzpotf2.o)(.text+0x5db): 
In function `pzpotf2_':
: undefined reference to `zlacgv_'
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pzpotf2.o)(.text+0x7d2): 
In function `pzpotf2_':
: undefined reference to `zlacgv_'
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pzpotf2.o)(.text+0x896): 
In function `pzpotf2_':
: undefined reference to `zlacgv_'
collect2: ld returned 1 exit status
make: *** [zsimpletest] Error 1

# make csimpletest
/cluster/freeware/mpich2-1.4.1p1/bin/mpif77 -o csimpletest -O  csimpletest.o  
../lib/libcmumps.a ../lib/libmumps_common.a 
-L/cluster/freeware/parmetis-3.2.0/lib/ -lparmetis -lmetis -L../PORD/lib/ 
-lpord -L/cluster/freeware/pt_scotch_5.1.12_esmumps/lib -lptesmumps 
-lptscotch -lptscotcherr /cluster/freeware/scalapck-1.8.0/lib/libscalapack.a 
/cluster/freeware/blacs-1.1/lib/blacs_MPI-LINUX-0.a 
/cluster/freeware/blacs-1.1/lib/blacsF77init_MPI-LINUX-0.a 
/cluster/freeware/blacs-1.1/lib/blacs_MPI-LINUX-0.a  
-L/cluster/freeware/mpich2-1.4.1p1/lib -lmpich  -L/cluster/freeware/blas/lib 
-lblas -lpthread
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pcpotf2.o)(.text+0x4f5): 
In function `pcpotf2_':
: undefined reference to `clacgv_'
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pcpotf2.o)(.text+0x5b3): 
In function `pcpotf2_':
: undefined reference to `clacgv_'
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pcpotf2.o)(.text+0x79d): 
In function `pcpotf2_':
: undefined reference to `clacgv_'
/cluster/freeware/scalapck-1.8.0/lib/libscalapack.a(pcpotf2.o)(.text+0x853): 
In function `pcpotf2_':
: undefined reference to `clacgv_'
collect2: ld returned 1 exit status
make: *** [csimpletest] Error 1

It's strange because it seems symbols are in the lib :

# nm /cluster/freeware/scalapck-1.8.0/lib/libscalapack.a | grep -i zlacgv
                 U zlacgv_
                 U zlacgv_
                 U pzlacgv_
                 U pzlacgv_
                 U pzlacgv_
                 U zlacgv_
                 U pzlacgv_
pzlacgv.o:
0000000000000000 T pzlacgv_
                 U pzlacgv_
                 U zlacgv_
                 U pzlacgv_
                 U zlacgv_
                 U zlacgv_
                 U pzlacgv_
                 U pzlacgv_
                 U pzlacgv_
                 U pzlacgv_
                 U zlacgv_
                 U zlacgv_
                 U pzlacgv_

So I decided to test some SCALAPACK examples and I saw the following MPIRUN 
error :

mpirun -hosts compute-0-0,compute-0-5,compute-0-8,compute-0-7 -np 4 ./xsscaex
[mpiexec at curium] control_cb 
(/cluster/sources/mpich/mpich2-1.4.1p1/src/pm/hydra/pm/pmiserv/pmiserv_cb.c:215):
 assert (!closed) failed
[mpiexec at curium] HYDT_dmxu_poll_wait_for_event 
(/cluster/sources/mpich/mpich2-1.4.1p1/src/pm/hydra/tools/demux/demux_poll.c:77):
 callback returned error status
[mpiexec at curium] HYD_pmci_wait_for_completion 
(/cluster/sources/mpich/mpich2-1.4.1p1/src/pm/hydra/pm/pmiserv/pmiserv_pmci.c:181):
 error waiting for event
[mpiexec at curium] main 
(/cluster/sources/mpich/mpich2-1.4.1p1/src/pm/hydra/ui/mpich/mpiexec.c:405): 
process manager error waiting for completion


I'm using :
64 bits Linux system
gcc-4.6.2 (compiled from source)
blas (last version compiled from source)
blacs-1.1 (compiled from source)
lapack-3.3.1 (compiled from source)
MPICH2-1.4.1p1 (compiled from source)
parmetis-3.2.0 (compiled from source)
pt_scotch-5.1.12 (special MUMPs version compiled from source)

Can you help me please?


Best regards.

-- 
Mr. Sprenger Siegfried
spreng.s@Domain.Removed
_______________________________________________
Scalapack mailing list
Scalapack@Domain.Removed
http://lists.eecs.utk.edu/mailman/listinfo/scalapack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.eecs.utk.edu/mailman/private/scalapack/attachments/20111115/87971cac/attachment.html
 

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or