undefined reference to .............. in parallel compilation of vasp

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Isha

undefined reference to .............. in parallel compilation of vasp

#1 Post by Isha » Mon Mar 21, 2011 11:24 am

Hi everyone................
While I was trying VASP to compile in parallel on a 64 bit machine I got the following error.

main.o: In function MAIN_:ma.f90:(.0x2931):undefedreferencerdatab_'
main.f90:(.text+0x1339e): undefined reference to rdatabma.f90:(.0x13589):undefedreferencerdatab_'
main.f90:(.text+0x15568): undefined reference to rdatabmamπ.o:Infunction__main_mpi__init_mpi':
main_mpi.f90:(.text+0x397): undefined reference to rdatabmamπ.o:mamπ.f90:(.0x4e0):moreundefedreferencesrdatab_' follow
poscar.o: In function _poscar_rdposcarhead:poscar.f90:(.0x6a7):undefedreferencenitems_'
poscar.f90:(.text+0xa52): undefined reference to nitemsposcar.f90:(.0x126b):undefedreferencenitems_'
poscar.o: In function _poscar_rdposcar:poscar.f90:(.0x15fb):undefedreferencenitems_'
pseudo.o: In function _pseudo_rdpars:pseudf90:(.0xd5a):undefedreferencelength_'
nonlr.o: In function _nonlr_lrealcompatmode:nonlr.f90:(.0xdc5):undefedreferencerdatab_'
charge.o: In function ggacompatmode:char.f90:(.0x674):undefedreferencerdatab_'
constrmag.o: In function _constraedm_moda̲r_constraedm_reader:constrmag.f90:(.0x4c3):undefedreferencerdatab_'
constrmag.f90:(.text+0x81a): undefined reference to rdatabconstrmag.f90:(.0xb22):undefedreferencerdatab_'
cl_shift.o:cl_shift.f90:(.text+0x23e0): more undefined references to rdatabfollowreader.o:Infunctionreader_':
reader.f90:(.text+0x362): undefined reference to stripreader.f90:(.0x45c):undefedreferencerdatab_'
reader.f90:(.text+0x58c): undefined reference to rdatabreader.f90:(.0x6f7):undefedreferencerdatab_'
reader.f90:(.text+0x8a1): undefined reference to stripreader.f90:(.0x8b3):undefedreferencelower_'
reader.f90:(.text+0xa17): undefined reference to rdatabreader.f90:(.0xb14):undefedreferencestrip_'
reader.f90:(.text+0xb26): undefined reference to upperreader.f90:(.0xc19):undefedreferencerdatab_'
reader.f90:(.text+0xd58): undefined reference to rdatabreader.f90:(.0xeee):undefedreferencestrip_'
reader.f90:(.text+0xfee): undefined reference to rdatabreader.f90:(.0x1196):undefedreferencerdatab_'
reader.f90:(.text+0x135f): undefined reference to rdatabreader.f90:(.0x152d):undefedreferencerdatab_'
reader.f90:(.text+0x170f): undefined reference to rdatabreader.o:reader.f90:(.0x18ee):moreundefedreferencesrdatab_' follow
reader.o: In function reader:reader.f90:(.0x7890):undefedreferencestrip_'
reader.f90:(.text+0x79a3): undefined reference to rdatabreader.f90:(.0x7b4c):undefedreferencerdatab_'
reader.f90:(.text+0x7d03): undefined reference to rdatabreader.f90:(.0x7ebc):undefedreferencerdatab_'
reader.f90:(.text+0x8072): undefined reference to rdatabreader.o:reader.f90:(.0x8233):moreundefedreferencesrdatab_' follow
reader.o: In function reader:reader.f90:(.0xbd13):undefedreferencestrip_'
reader.f90:(.text+0xbd25): undefined reference to upperreader.f90:(.0xbedc):undefedreferencerdatab_'
reader.f90:(.text+0xc092): undefined reference to rdatabreader.f90:(.0xc2ab):undefedreferencerdatab_'
writer.o: In function _writer_writerreader:writer.f90:(.0x194):undefedreferencerdatab_'
writer.f90:(.text+0x3b2): undefined reference to rdatabtur.o:Infunctionvtutor_':
tutor.f90:(.text+0x78): undefined reference to stripfiio:Infunction__fileio__readni':
fileio.f90:(.text+0x56a2): undefined reference to nitemsfiif90:(.0x570c):undefedreferencesubwrd_'
fileio.f90:(.text+0x5742): undefined reference to chkfiif90:(.0x57d5):undefedreferencestrip_'
dipol.o: In function _mdipol_fieldreader:dipol.f90:(.0x4250):undefedreferencerdatab_'
electron.o: In function elmin:ectron.f90:(.0x25bd):undefedreferencerdatab_'
pardens.o: In function _pardens_parchg:pardens.f90:(.0x1a06):undefedreferencerdatab_'
pardens.f90:(.text+0x1ba8): undefined reference to rdatabpardens.f90:(.0x1ea7):undefedreferencerdatab_'
pardens.o:pardens.f90:(.text+0x236a): more undefined references to rdatabfollow..vasp.4.liblibdmy.a(diolib.o):Infunctionrdpos_':
diolib.f:(.text+0x213): undefined reference to stripdiolib.f:(.0x280):undefedreferencelength_'
../vasp.4.lib/libdmy.a(diolib.o): In function can:diolib.f:(.0x8ac):undefedreferenceupper_'
diolib.f:(.text+0x9f6): undefined reference to upperdiolib.f:(.0xa36):undefedreferenceupper_'
../vasp.4.lib/libdmy.a(diolib.o): In function reopen:diolib.f:(.0xd4f):undefedreferenceupper_'
diolib.f:(.text+0xd8f): undefined reference to upper..vasp.4.liblibdmy.a(diolib.o):diolib.f:(.0x108f):moreundefedreferencesupper_' follow
collect2: ld returned 1 exit status
make: *** [vasp] Error 1
[jindal1@puphyshpc vasp.4.6]$
Last edited by Isha on Mon Mar 21, 2011 11:24 am, edited 1 time in total.

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

undefined reference to .............. in parallel compilation of vasp

#2 Post by admin » Mon Mar 21, 2011 1:04 pm

all undefined routines are included in vasp.4.lib
the errors therefore indicate that
-- either vasp.4.lib has not been compiled before (such that the executables are not available)
-- or the relative path to vasp.4.lib is not defined correctly in your vasp.4.6 makefile.
Last edited by admin on Mon Mar 21, 2011 1:04 pm, edited 1 time in total.

Post Reply