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):undef∈edreference→rdatab_'
main.f90:(.text+0x1339e): undefined reference to rdatab′ma∈.f90:(.0x13589):undef∈edreference→rdatab_'
main.f90:(.text+0x15568): undefined reference to rdatab′ma∈mπ.o:Infunction__main_mpi__init_mpi':
main_mpi.f90:(.text+0x397): undefined reference to rdatab′ma∈mπ.o:ma∈mπ.f90:(.0x4e0):moreundef∈edreferences→rdatab_' follow
poscar.o: In function _poscar_rdposcarhead′:poscar.f90:(.0x6a7):undef∈edreference→nitems_'
poscar.f90:(.text+0xa52): undefined reference to nitems′poscar.f90:(.0x126b):undef∈edreference→nitems_'
poscar.o: In function _poscar_rdposcar′:poscar.f90:(.0x15fb):undef∈edreference→nitems_'
pseudo.o: In function _pseudo_rdpars′:pseud⊙f90:(.0xd5a):undef∈edreference→length_'
nonlr.o: In function _nonlr_lrealcompatmode′:nonlr.f90:(.0xdc5):undef∈edreference→rdatab_'
charge.o: In function ggacompatmode′:char≥.f90:(.0x674):undef∈edreference→rdatab_'
constrmag.o: In function _constra∈edm_moda̲r_constra∈edm_reader′:constrmag.f90:(.0x4c3):undef∈edreference→rdatab_'
constrmag.f90:(.text+0x81a): undefined reference to rdatab′constrmag.f90:(.0xb22):undef∈edreference→rdatab_'
cl_shift.o:cl_shift.f90:(.text+0x23e0): more undefined references to rdatab′followreader.o:Infunctionreader_':
reader.f90:(.text+0x362): undefined reference to strip′reader.f90:(.0x45c):undef∈edreference→rdatab_'
reader.f90:(.text+0x58c): undefined reference to rdatab′reader.f90:(.0x6f7):undef∈edreference→rdatab_'
reader.f90:(.text+0x8a1): undefined reference to strip′reader.f90:(.0x8b3):undef∈edreference→lower_'
reader.f90:(.text+0xa17): undefined reference to rdatab′reader.f90:(.0xb14):undef∈edreference→strip_'
reader.f90:(.text+0xb26): undefined reference to upper′reader.f90:(.0xc19):undef∈edreference→rdatab_'
reader.f90:(.text+0xd58): undefined reference to rdatab′reader.f90:(.0xeee):undef∈edreference→strip_'
reader.f90:(.text+0xfee): undefined reference to rdatab′reader.f90:(.0x1196):undef∈edreference→rdatab_'
reader.f90:(.text+0x135f): undefined reference to rdatab′reader.f90:(.0x152d):undef∈edreference→rdatab_'
reader.f90:(.text+0x170f): undefined reference to rdatab′reader.o:reader.f90:(.0x18ee):moreundef∈edreferences→rdatab_' follow
reader.o: In function reader′:reader.f90:(.0x7890):undef∈edreference→strip_'
reader.f90:(.text+0x79a3): undefined reference to rdatab′reader.f90:(.0x7b4c):undef∈edreference→rdatab_'
reader.f90:(.text+0x7d03): undefined reference to rdatab′reader.f90:(.0x7ebc):undef∈edreference→rdatab_'
reader.f90:(.text+0x8072): undefined reference to rdatab′reader.o:reader.f90:(.0x8233):moreundef∈edreferences→rdatab_' follow
reader.o: In function reader′:reader.f90:(.0xbd13):undef∈edreference→strip_'
reader.f90:(.text+0xbd25): undefined reference to upper′reader.f90:(.0xbedc):undef∈edreference→rdatab_'
reader.f90:(.text+0xc092): undefined reference to rdatab′reader.f90:(.0xc2ab):undef∈edreference→rdatab_'
writer.o: In function _writer_writerreader′:writer.f90:(.0x194):undef∈edreference→rdatab_'
writer.f90:(.text+0x3b2): undefined reference to rdatab′tu→r.o:Infunctionvtutor_':
tutor.f90:(.text+0x78): undefined reference to strip′fi≤i⊙o:Infunction__fileio__readni':
fileio.f90:(.text+0x56a2): undefined reference to nitems′fi≤i⊙f90:(.0x570c):undef∈edreference→subwrd_'
fileio.f90:(.text+0x5742): undefined reference to chk∫′fi≤i⊙f90:(.0x57d5):undef∈edreference→strip_'
dipol.o: In function _mdipol_fieldreader′:dipol.f90:(.0x4250):undef∈edreference→rdatab_'
electron.o: In function elmin′:e≤ctron.f90:(.0x25bd):undef∈edreference→rdatab_'
pardens.o: In function _pardens_parchg′:pardens.f90:(.0x1a06):undef∈edreference→rdatab_'
pardens.f90:(.text+0x1ba8): undefined reference to rdatab′pardens.f90:(.0x1ea7):undef∈edreference→rdatab_'
pardens.o:pardens.f90:(.text+0x236a): more undefined references to rdatab′follow..vasp.4.liblibdmy.a(diolib.o):Infunctionrdpos_':
diolib.f:(.text+0x213): undefined reference to strip′diolib.f:(.0x280):undef∈edreference→length_'
../vasp.4.lib/libdmy.a(diolib.o): In function c≤an′:diolib.f:(.0x8ac):undef∈edreference→upper_'
diolib.f:(.text+0x9f6): undefined reference to upper′diolib.f:(.0xa36):undef∈edreference→upper_'
../vasp.4.lib/libdmy.a(diolib.o): In function reopen′:diolib.f:(.0xd4f):undef∈edreference→upper_'
diolib.f:(.text+0xd8f): undefined reference to upper′..vasp.4.liblibdmy.a(diolib.o):diolib.f:(.0x108f):moreundef∈edreferences→upper_' follow
collect2: ld returned 1 exit status
make: *** [vasp] Error 1
[jindal1@puphyshpc vasp.4.6]$
undefined reference to .............. in parallel compilation of vasp
Moderators: Global Moderator, Moderator
undefined reference to .............. in parallel compilation of vasp
Last edited by Isha on Mon Mar 21, 2011 11:24 am, edited 1 time in total.
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
undefined reference to .............. in parallel compilation of vasp
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.
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.