Compileing Scalapack with openmpi-1.4.3

Post here if you have a question about the installation process

Compileing Scalapack with openmpi-1.4.3

Postby kthman » Mon Sep 12, 2011 7:00 pm

Hi,
I am recompiling ScaLAPACK with openmpi1.4.3. using gnu/4.4.5 and gnu/4.6.1 when I try running any of the test jobs
the all fail with
[paratools04] 335 > pwd
/home/store/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/PBLAS/TESTING
[paratools04] 336 > make clean
rm -f *.o
[paratools04] 337 > make
rm -f PB_Cwarn.c PB_Cwarn.o
ln -s /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c PB_Cwarn.c
/usr/local/packages/openmpi-1.4.3/bin/mpicc -c -O3 -DAdd_ -DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cwarn.c
rm -f PB_Cabort.c PB_Cabort.o
ln -s /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cabort.c PB_Cabort.c
/usr/local/packages/openmpi-1.4.3/bin/mpicc -c -O3 -DAdd_ -DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cabort.c
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c -O3 psblas1tst.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c -O3 psblastst.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c slamch.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c -O3 pblastst.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -o /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/TESTING/xspblas1tst psblas1tst.o psblastst.o slamch.o pblastst.o PB_Cwarn.o PB_Cabort.o /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/libscalapack.a /usr/local/ACTS/gnu-4.4.5/openmpi-1.4.3/scalapack-1.8.0/lib/libblacsF77.a /usr/local/ACTS/gnu-4.4.5/openmpi-1.4.3/scalapack-1.8.0/lib/libblacs.a /usr/local/ACTS/gnu-4.4.5/openmpi-1.4.3/scalapack-1.8.0/lib/libblacsF77.a /usr/lib64/liblapack.a /usr/lib64/libblas.a /usr/local/packages/openmpi-1.4.3/lib/libmpi.so
psblastst.o: In function `pb_schekpad_':
psblastst.f:(.text+0x397d): undefined reference to `pb_topget_'
psblastst.o: In function `pslamch_':
psblastst.f:(.text+0x9e28): undefined reference to `pb_topget_'
psblastst.f:(.text+0x9f45): undefined reference to `pb_topget_'
collect2: ld returned 1 exit status
make: *** [/usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/TESTING/xspblas1tst] Error 1

I get the same if I use -DAdd or -Df77IsF2C

[paratools04] 339 > make
rm -f PB_Cwarn.c PB_Cwarn.o
ln -s /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c PB_Cwarn.c
/usr/local/packages/openmpi-1.4.3/bin/mpicc -c -O3 -Df77IsF2C -DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cwarn.c
rm -f PB_Cabort.c PB_Cabort.o
ln -s /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cabort.c PB_Cabort.c
/usr/local/packages/openmpi-1.4.3/bin/mpicc -c -O3 -Df77IsF2C -DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cabort.c
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c -O3 psblas1tst.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c -O3 psblastst.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c slamch.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -c -O3 pblastst.f
/usr/local/packages/openmpi-1.4.3/bin/mpif77 -o /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/TESTING/xspblas1tst psblas1tst.o psblastst.o slamch.o pblastst.o PB_Cwarn.o PB_Cabort.o /usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/libscalapack.a /usr/local/ACTS/gnu-4.4.5/openmpi-1.4.3/scalapack-1.8.0/lib/libblacsF77.a /usr/local/ACTS/gnu-4.4.5/openmpi-1.4.3/scalapack-1.8.0/lib/libblacs.a /usr/local/ACTS/gnu-4.4.5/openmpi-1.4.3/scalapack-1.8.0/lib/libblacsF77.a /usr/lib64/liblapack.a /usr/lib64/libblas.a /usr/local/packages/openmpi-1.4.3/lib/libmpi.so
psblastst.o: In function `pb_schekpad_':
psblastst.f:(.text+0x397d): undefined reference to `pb_topget_'
psblastst.o: In function `pslamch_':
psblastst.f:(.text+0x9e28): undefined reference to `pb_topget_'
psblastst.f:(.text+0x9f45): undefined reference to `pb_topget_'
PB_Cwarn.o: In function `PB_Cwarn':
PB_Cwarn.c:(.text+0xbd): undefined reference to `pb_noabort__'
PB_Cabort.o: In function `PB_Cabort':
PB_Cabort.c:(.text+0x2e): undefined reference to `pb_noabort__'
collect2: ld returned 1 exit status
make: *** [/usr/local/packages/notransfer/acts_openmpi-1.4.3/scalapack-1.8.0/TESTING/xspblas1tst] Error 1

When I built it earlier with openmpi-1.4.2 it all worked. So has anyone else seen this problem with openmpi-1.4.3 when building ScaLAPACK? I have build scripts and tests scripts for building OpenMPI, BLACS, and ScaLAPACK. I have tried this on seperate workstations one with Fedora-13-64bit and the other Fedora-15-32bit. So it is relatively easy for me to rebuild everything so if you have any suggestion I am more than willing to try anything.

Thanks
kthman
 
Posts: 2
Joined: Mon Sep 12, 2011 6:21 pm

Re: Compileing Scalapack with openmpi-1.4.3

Postby kthman » Tue Sep 13, 2011 11:39 am

Okay found the mistake in my build script by running the BLAS initialization scripts. I did not have -Dadd set when I compiled BLAS.
kthman
 
Posts: 2
Joined: Mon Sep 12, 2011 6:21 pm


Return to Installation

Who is online

Users browsing this forum: Google [Bot] and 1 guest