[Wien] help to compile! IBM fortran

Lyudmila Dobysheva lyu at otf.pti.udm.ru
Mon Apr 3 12:32:12 CEST 2006


Dear all,

I am trying to make compilation for parallel calculations, it gives an error 
in linking.
mpif90 -WF,-DParallel -c *.F
** *   === End of Compilation 1 ===
1501-510  Compilation successful for file *.F.

mpif90  -o ./lapw1_mpi abc.o atpar.o bandv1.o .... pdsyr2m.o pzher2m.o 
-L../SRC_lib -lessl -llapack_lapw

ld: skipping incompatible ../SRC_lib/liblapack_lapw.a when searching for
-llapack_lapw
ld: cannot find -llapack_lapw
make[1]: *** [lapw1_mpi] Error 1
^^^^^^^^^^^^^^^^^^^
When making lapack_lapw, I have made clean, then make:

xlf90 -c -qmaxmem=-1 -O lapack_lapw1.f
** dladiv   === End of Compilation 1 ===
...
** lsame   === End of Compilation 65 ===
1501-510  Compilation successful for file lapack_lapw1.f.
xlf90 -c -qmaxmem=-1 -O lapack_lapw1_2k.f
** dlacpy   === End of Compilation 1 ===
...
** zunmtr   === End of Compilation 33 ===
1501-510  Compilation successful for file lapack_lapw1_2k.f.
...
1501-510  Compilation successful for file dlapy3.f.
ar rv ../liblapack_lapw.a lapack_lapw1.o ... dlapy3.o
ar: creating ../liblapack_lapw.a
a - lapack_lapw1.o
...
a - dlapy3.o
ranlib ../liblapack_lapw.a
Library '../liblapack_lapw.a' is up-to-date now.
^^^^^^^^^^^^
I see nothing bad in the compilation of the lapack_lapw
(just for a question: without option -qmaxmem=-1 it gives the same result, 
excluding some warnings about possible better optimisation).

The compiler is IBM fortran xlf90 (mpif90)
Computer PowerPC 970

Operation system SuSe Linux Enterprise Server version 8 (SLES8). 
For parallel programming the package MPICH-GM version 1.2.5..12 is used.

Best regards
  Lyudmila Dobysheva 
------------------------------------------------------------------
Phys.-Techn. Institute of       | Tel.(home):   7 (3412) 442118
Ural Br. of Russian Ac. of Sci. | Tel.(office): 7 (3412) 218988
426001 Izhevsk, ul.Kirova 132   | Fax:          7 (3412) 250614
RUSSIA                          | E-mail: lyu at otf.fti.udmurtia.su
------------------------------------------------------------------
http://fti.udm.ru/ltt/personals/dobysh.htm
------------------------------------------------------------------



More information about the Wien mailing list