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

How to link correctly the blacs_MPI-SUN4SOL2-0.a

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

How to link correctly the blacs_MPI-SUN4SOL2-0.a

Postby srocupado » Mon Dec 01, 2008 3:43 pm

Hi there,

I'm trying to compile a fortran program on a Sunfire x4100 (Opteron), and I'm getting problems on linking the library, can someone point me out the correct way to do it ?
This is the way I'm trying:
Code: Select all
-bash-3.00$ mpif90  -o ./lapw1c_mpi abc.o atpar.o bandv1.o calkpt.o cbcomb.o coors.o cputim.o  dblr2k.o dgeqrl. pdsyevx17.o pdstebz17.o -L../SRC_lib -xlic_lib=sunperf -llapack_lapw -Lopt/local/lib/scalapack-1.8.0/ -lscalapack -L/opt/local/lib/BLACS/LIB/ -lblacs_MPI-SUN4SOL2-0.a[/b]

ld: fatal: library -lblacs_MPI-SUN4SOL2-0.a: not found
ld: fatal: File processing errors. No output written to ./lapw1c_mpi

I've also tried -L/opt/local/lib/BLACS/LIB/ -lblacs_MPI-SUN4SOL2-0 without success.

As I see the scalapack it going ok, but the blacs isnt.
Thanks.
srocupado
 
Posts: 2
Joined: Mon Dec 01, 2008 3:37 pm

Re: How to link correctly the blacs_MPI-SUN4SOL2-0.a

Postby srocupado » Tue Dec 02, 2008 12:29 pm

problem solved
srocupado
 
Posts: 2
Joined: Mon Dec 01, 2008 3:37 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 7 guests