pgi/ifort+atlas error

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
linglin

pgi/ifort+atlas error

#1 Post by linglin » Fri Apr 17, 2009 2:35 am

I tried to compile vasp using PGI + atlas, then the error occurs:

rm -f vasp
pgf90 -o vasp main.o base.o mpi.o smart_allocate.o xml.o constant.o jacobi.o main_mpi.o scala.o asa.o lattice.o poscar.o ini.o setex.o radial.o pseudo.o mgrid.o mkpoints.o wave.o wave_mpi.o symmetry.o symlib.o lattlib.o random.o nonl.o nonlr.o dfast.o choleski2.o mix.o charge.o xcgrad.o xcspin.o potex1.o potex2.o metagga.o constrmag.o pot.o cl_shift.o force.o dos.o elf.o tet.o hamil.o steep.o chain.o dyna.o relativistic.o LDApU.o sphpro.o paw.o us.o ebs.o wavpre.o wavpre_noio.o broyden.o dynbr.o rmm-diis.o reader.o writer.o tutor.o xml_writer.o brent.o stufak.o fileio.o opergrid.o stepver.o dipol.o xclib.o chgloc.o subrot.o optreal.o davidson.o edtest.o electron.o shm.o pardens.o paircorrection.o optics.o constr_cell_relax.o stm.o finite_diff.o elpol.o setlocalpp.o fft3dfurth.o fft3dlib.o -L../vasp.4.lib -ldmy ../vasp.4.lib/linpack_double.o ../vasp.4.lib/lapack_atlas.o -llapack -lcblas -Lhome/linglin/Linux_P4SSE2/lib/ -lf77blas -latlas
/usr/bin/ld: cannot find -lcblas
make: *** [vasp] Error 2

Then I tried to use ifort to compile, another error occuring:
rm -f vasp
ifort -o vasp main.o base.o mpi.o smart_allocate.o xml.o constant.o jacobi.o main_mpi.o scala.o asa.o lattice.o poscar.o ini.o setex.o radial.o pseudo.o mgrid.o mkpoints.o wave.o wave_mpi.o symmetry.o symlib.o lattlib.o random.o nonl.o nonlr.o dfast.o choleski2.o mix.o charge.o xcgrad.o xcspin.o potex1.o potex2.o metagga.o constrmag.o pot.o cl_shift.o force.o dos.o elf.o tet.o hamil.o steep.o chain.o dyna.o relativistic.o LDApU.o sphpro.o paw.o us.o ebs.o wavpre.o wavpre_noio.o broyden.o dynbr.o rmm-diis.o reader.o writer.o tutor.o xml_writer.o brent.o stufak.o fileio.o opergrid.o stepver.o dipol.o xclib.o chgloc.o subrot.o optreal.o davidson.o edtest.o electron.o shm.o pardens.o paircorrection.o optics.o constr_cell_relax.o stm.o finite_diff.o elpol.o setlocalpp.o fftw3d.o fft3dlib.o /usr/local/lib/libfftw3.a -L../vasp.4.lib -ldmy ../vasp.4.lib/linpack_double.o ../vasp.4.lib/lapack_double.o -Lhome/linglin/Linux_P4SSE2/lib/ -lf77blas -latlas
IPO link: can not find -lf77blas
ifort: error: problem during multi-file optimization compilation (code 1)
make: *** [vasp] Error 1

I don't know how to do, can you give me any help?
Last edited by linglin on Fri Apr 17, 2009 2:35 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

pgi/ifort+atlas error

#2 Post by admin » Tue May 12, 2009 5:32 pm

you probably give a wrong path for the libcblas.a and the libf77blas.a library archive files. please check if they really are insstalled on
home/linglin/Linux_P4SSE2/lib/ (relative to the directory where you compile!) , you should probably replace
home/linglin/
by
~linglin/
or $HOME/
Last edited by admin on Tue May 12, 2009 5:32 pm, edited 1 time in total.

Post Reply