The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

compiling with mpif77 obtained from mvapich2

Open discussion regarding features, bugs, issues, vendors, etc.

compiling with mpif77 obtained from mvapich2

Postby gortiz » Tue Jun 03, 2008 2:58 pm

Dear Forum,

Here I'm trying to compile a scalapack example using the installed version of scalapack (with scalapack_installer_0.91). Once we have built all I did:

f77=/usr/local/mvapich2/bin/mpif77
dirsca=/homeib/bms/scalapack_installer_0.91/lib
$f77 -o perro pdscaexinfo.f pzscaex.f $dirsca/libscalapack.a $dirsca/libscalapack.a $dirsca/blacsF77.a $dirsca/blacs.a $dirsca/blacsF77.a /usr/lib64/libblas.a /usr/local/mvapich2/lib/libmpich.a

Then, I get:

/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pdlamch.o)(.text+0x17): In function `pdlamch_':
: undefined reference to `dlamch_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlange.o)(.text+0x9b0): In function `pzlange_':
: undefined reference to `zlassq_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlacp2.o)(.text+0x3dc): In function `pzlacp2_':
: undefined reference to `zlacpy_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlacp2.o)(.text+0x60b): In function `pzlacp2_':
: undefined reference to `zlacpy_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlacp2.o)(.text+0x797): In function `pzlacp2_':
: undefined reference to `zlacpy_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlacp2.o)(.text+0x824): In function `pzlacp2_':
: undefined reference to `zlacpy_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlacp2.o)(.text+0x9d0): In function `pzlacp2_':
: undefined reference to `zlacpy_'
/homeib/bms/scalapack_installer_0.91/lib/libscalapack.a(pzlacp2.o)(.text+0xa53): more undefined references to `zlacpy_' follow
collect2: ld returned 1 exit status

Could you give me any suggestions?

Thank you in advance

guille
gortiz
 
Posts: 29
Joined: Fri Aug 17, 2007 8:23 pm
Location: Corrientes, Arg.

Postby Julie » Tue Jun 03, 2008 3:02 pm

You are missing the LAPACK library in your link.
Julie
Julie
 
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Postby gortiz » Tue Jun 17, 2008 5:06 pm

Just as You said....again.

Thank You very much

g.
gortiz
 
Posts: 29
Joined: Fri Aug 17, 2007 8:23 pm
Location: Corrientes, Arg.


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 8 guests