[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fortran trouble


In an effort to finally complete the mpich transition, last night I
built and uploaded libf2c2 for arm (why it didn't autobuild is beyond
me), then tried to build scalapack.  The build failed when trying to
link a binary:

gcc  -o /home/hazelsct/scalapack-1.7/TESTING/xigemr pigemrdrv.o
-L /home/hazelsct/scalapack-1.7 -lscalapack-lam -lblacsCinit-lam
-lblacs-lam -lblacsCinit-lam -lmpi -llapack -lblas -lf2c -lm
/usr/lib/gcc/arm-linux-gnu/4.0.2/../../../libf2c.so: undefined reference
to `MAIN__'
collect2: ld returned 1 exit status
make[2]: *** [/home/hazelsct/scalapack-1.7/TESTING/xigemr] Error 1
make[2]: Leaving directory `/home/hazelsct/scalapack-1.7/REDIST/TESTING'
make[1]: *** [redistexe] Error 2
make[1]: Leaving directory `/home/hazelsct/scalapack-1.7'
make: *** [build-stamp-lam] Error 2

PPC died in the same step with a different error, see

Since this works on eight architectures, I suspect problems in the arm
and PPC toolchains.  Any ideas?


GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!

Reply to: