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.

