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__':
main.f90:(.text+0x2931): undefined reference to `rdatab_'
main.f90:(.text+0x1339e): undefined reference to `rdatab_'
main.f90:(.text+0x13589): undefined reference to `rdatab_'
main.f90:(.text+0x15568): undefined reference to `rdatab_'
main_mpi.o: In function `__main_mpi__init_mpi':
main_mpi.f90:(.text+0x397): undefined reference to `rdatab_'
main_mpi.o:main_mpi.f90:(.text+0x4e0): more undefined references to `rdatab_' follow
poscar.o: In function `__poscar__rd_poscar_head':
poscar.f90:(.text+0x6a7): undefined reference to `nitems_'
poscar.f90:(.text+0xa52): undefined reference to `nitems_'
poscar.f90:(.text+0x126b): undefined reference to `nitems_'
poscar.o: In function `__poscar__rd_poscar':
poscar.f90:(.text+0x15fb): undefined reference to `nitems_'
pseudo.o: In function `__pseudo__rdpars':
pseudo.f90:(.text+0xd5a): undefined reference to `length_'
nonlr.o: In function `__nonlr__lreal_compat_mode':
nonlr.f90:(.text+0xdc5): undefined reference to `rdatab_'
charge.o: In function `gga_compat_mode_':
charge.f90:(.text+0x674): undefined reference to `rdatab_'
constrmag.o: In function `__constrained_m_modular__constrained_m_reader':
constrmag.f90:(.text+0x4c3): undefined reference to `rdatab_'
constrmag.f90:(.text+0x81a): undefined reference to `rdatab_'
constrmag.f90:(.text+0xb22): undefined reference to `rdatab_'
cl_shift.o:cl_shift.f90:(.text+0x23e0): more undefined references to `rdatab_' follow
reader.o: In function `reader_':
reader.f90:(.text+0x362): undefined reference to `strip_'
reader.f90:(.text+0x45c): undefined reference to `rdatab_'
reader.f90:(.text+0x58c): undefined reference to `rdatab_'
reader.f90:(.text+0x6f7): undefined reference to `rdatab_'
reader.f90:(.text+0x8a1): undefined reference to `strip_'
reader.f90:(.text+0x8b3): undefined reference to `lower_'
reader.f90:(.text+0xa17): undefined reference to `rdatab_'
reader.f90:(.text+0xb14): undefined reference to `strip_'
reader.f90:(.text+0xb26): undefined reference to `upper_'
reader.f90:(.text+0xc19): undefined reference to `rdatab_'
reader.f90:(.text+0xd58): undefined reference to `rdatab_'
reader.f90:(.text+0xeee): undefined reference to `strip_'
reader.f90:(.text+0xfee): undefined reference to `rdatab_'
reader.f90:(.text+0x1196): undefined reference to `rdatab_'
reader.f90:(.text+0x135f): undefined reference to `rdatab_'
reader.f90:(.text+0x152d): undefined reference to `rdatab_'
reader.f90:(.text+0x170f): undefined reference to `rdatab_'
reader.o:reader.f90:(.text+0x18ee): more undefined references to `rdatab_' follow
reader.o: In function `reader_':
reader.f90:(.text+0x7890): undefined reference to `strip_'
reader.f90:(.text+0x79a3): undefined reference to `rdatab_'
reader.f90:(.text+0x7b4c): undefined reference to `rdatab_'
reader.f90:(.text+0x7d03): undefined reference to `rdatab_'
reader.f90:(.text+0x7ebc): undefined reference to `rdatab_'
reader.f90:(.text+0x8072): undefined reference to `rdatab_'
reader.o:reader.f90:(.text+0x8233): more undefined references to `rdatab_' follow
reader.o: In function `reader_':
reader.f90:(.text+0xbd13): undefined reference to `strip_'
reader.f90:(.text+0xbd25): undefined reference to `upper_'
reader.f90:(.text+0xbedc): undefined reference to `rdatab_'
reader.f90:(.text+0xc092): undefined reference to `rdatab_'
reader.f90:(.text+0xc2ab): undefined reference to `rdatab_'
writer.o: In function `__writer__writer_reader':
writer.f90:(.text+0x194): undefined reference to `rdatab_'
writer.f90:(.text+0x3b2): undefined reference to `rdatab_'
tutor.o: In function `vtutor_':
tutor.f90:(.text+0x78): undefined reference to `strip_'
fileio.o: In function `__fileio__readni':
fileio.f90:(.text+0x56a2): undefined reference to `nitems_'
fileio.f90:(.text+0x570c): undefined reference to `subwrd_'
fileio.f90:(.text+0x5742): undefined reference to `chkint_'
fileio.f90:(.text+0x57d5): undefined reference to `strip_'
dipol.o: In function `__mdipol__field_reader':
dipol.f90:(.text+0x4250): undefined reference to `rdatab_'
electron.o: In function `elmin_':
electron.f90:(.text+0x25bd): undefined reference to `rdatab_'
pardens.o: In function `__pardens__parchg':
pardens.f90:(.text+0x1a06): undefined reference to `rdatab_'
pardens.f90:(.text+0x1ba8): undefined reference to `rdatab_'
pardens.f90:(.text+0x1ea7): undefined reference to `rdatab_'
pardens.o:pardens.f90:(.text+0x236a): more undefined references to `rdatab_' follow
../vasp.4.lib/libdmy.a(diolib.o): In function `rdpos_':
diolib.f:(.text+0x213): undefined reference to `strip_'
diolib.f:(.text+0x280): undefined reference to `length_'
../vasp.4.lib/libdmy.a(diolib.o): In function `clean_':
diolib.f:(.text+0x8ac): undefined reference to `upper_'
diolib.f:(.text+0x9f6): undefined reference to `upper_'
diolib.f:(.text+0xa36): undefined reference to `upper_'
../vasp.4.lib/libdmy.a(diolib.o): In function `reopen_':
diolib.f:(.text+0xd4f): undefined reference to `upper_'
diolib.f:(.text+0xd8f): undefined reference to `upper_'
../vasp.4.lib/libdmy.a(diolib.o):diolib.f:(.text+0x108f): more undefined references to `upper_' 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