Page 1 of 1

compiling error during example program for ScaLAPACK

PostPosted: Wed Apr 13, 2005 7:21 am
by ravi
i m using lam-mpi-7.1.1 and kernal version 2.6.9-1.667smp, the compiler is intel fortran version 8.0....with all this while i m trying to compile the example program of ScaLAPACK with following command..

mpif77 example1.f \
> /usr/local/include/libscalapack.a \
> /usr/local/include/blacsF77init_MPI-LINUX-0.a \
> /usr/local/include/blacs_MPI-LINUX-0.a \
> /usr/local/include/blacsF77init_MPI-LINUX-0.a \
> /usr/local/include/blas_LINUX.a

i m getting the following error...

/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x1ae): In function `pdgetrf_':
: undefined reference to `pb_topget_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x1d0): In function `pdgetrf_':
: undefined reference to `pb_topget_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x1f2): In function `pdgetrf_':
: undefined reference to `pb_topget_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x214): In function `pdgetrf_':
: undefined reference to `pb_topset_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x236): In function `pdgetrf_':
: undefined reference to `pb_topset_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x258): In function `pdgetrf_':
: undefined reference to `pb_topset_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x892): In function `pdgetrf_':
: undefined reference to `pb_topset_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x8b4): In function `pdgetrf_':
: undefined reference to `pb_topset_'
/usr/local/include/libscalapack.a(pdgetrf.o)(.text+0x8d6): more undefined references to `pb_topset_' follow
/usr/local/include/libscalapack.a(pdgetf2.o)(.text+0x1fb): In function `pdgetf2_':
: undefined reference to `pb_topget_'
mpif77: No such file or directory

please suggest some measures to come out of this.....
thanks in advance....
ravi

Re: compiling error during example program for ScaLAPACK

PostPosted: Wed Apr 13, 2005 1:44 pm
by ravi
now i m able to compile it there was a mismatch in Bmake.inc and SLmake.inc...now i m able to compile the code...
thanks
ravi