[CPMD-list] SP4 compilation

JOSE LUIS RODRIGUEZ-LOPEZ jlrdz at ipicyt.edu.mx
Wed Mar 5 23:03:08 CET 2003


Hello cpmd community,
I've the problem that the lapack libraries are not read/executed  at the 
compilation time,
even though i specify the path and the libraries name.
If someone has an idea howto, i'd appreciate your help.

#--------------- Default Configuration for IBM-SP4 ---------------
SRC  = .
DEST = .
BIN  = .
#QMMM_FLAGS = -D__QMECHCOUPL
#QMMM_LIBS  = -L. -lmm
FFLAGS = -O3 -qstrict  -qmaxmem=32768 -qtune=pwr4 -qarch=pwr4 
LFLAGS = -L/usr/local/apps/lapack/lib  -llapack_RS6K.a\
        -lessl_r -llapack_cci_r.a\
        -bbinder:/usr/lib/bind -bmaxdata:2048000000 -qarch=pwr4 $(QMMM_LIBS)
CFLAGS = -O3
CPP = /usr/ccs/lib/cpp -P
CPPFLAGS = -D__IBM -DLAPACK -DPARALLEL=PARALLEL -DMP_LIBRARY=__MPI 
-DFFT_ESSL 
NOOPT_FLAG =
CC = cc
FC = mpxlf_r -c -O3 -qstrict
LD = mpxlf_r -O3 -qstrict
AR = /usr/bin/ar
#----------------------------------------------------------------------------

And the message i got is

a lot of linked subrutines.o ..........
.........................
shmemory.o -L/usr/local/apps/lapack/lib -llapack_RS6K.a -lessl_r 
-llapack_cci_r.a -bbinder:/usr/lib/bind -bmaxdata:2048000000 -qarch=pwr4
ld: 0706-006 Cannot find or open library file: -l lapack_RS6K.a
        ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l lapack_cci_r.a
        ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.

stop
*******************************
I'm wonderng if these libraries have to have the right permissions, 
 right now they have
chmod 654   (rw_r_xr__)
It has to be something very simple.

Thanks
JoseLuis



Stop.



Instituto Potosino de Investigación Científica y Tecnológica, AC
Apartado Postal 3-74 Tangamanga, 78231 San Luis Potosí, S.L.P., MÉXICO
Tel.: [+52] (444) 833-5411, ext. 2039   
Fax:  [+52] (444) 833-5412
http://www.ipicyt.edu.mx            http://arethusa.ipicyt.edu.mx/~dmatm/





More information about the CPMD-list mailing list