Page 1 of 1

compile error:undefined reference to `rdatab_'

Posted: Fri Oct 24, 2008 8:09 am
by chenweiguang
I am trying install parallelvasp(vasp.4.6.35) in a Xeon cluster.
ifort 8.0+GotoBLAS 1.26
The following error appear:
mpif90 -FR -lowercase -assume byterecl -FR -O0 -c main.f90
rm -f vasp
mpif90 -o vasp -L/export/compiler/intel/lib -lsvml 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 aedens.o fftmpi.o fftmpi_map.o fft3dlib.o -L../vasp.4.lib -ldmy ../vasp.4.lib/linpack_double.o ../vasp.4.lib/lapack_double.o /export/home/physics/psur1/mathlab/GotoBLAS/libgoto.a -lpthread
main.o: In function `MAIN__':
main.f90:(.text+0x3037): undefined reference to `rdatab_'
main.f90:(.text+0x19d3c): undefined reference to `rdatab_'
main.f90:(.text+0x19f27): undefined reference to `rdatab_'
main.f90:(.text+0x1bba3): undefined reference to `wforce_'
main.f90:(.text+0x1c272): undefined reference to `rdatab_'
main.f90:(.text+0x2f700): undefined reference to `wforce_'
main.f90:(.text+0x2ffab): undefined reference to `wforce_'
main.f90:(.text+0x303be): undefined reference to `wforce_'
main.f90:(.text+0x31478): undefined reference to `wforce_'
main.f90:(.text+0x33da9): undefined reference to `wforce_'
main.f90:(.text+0x3492a): undefined reference to `reopen_'
main.f90:(.text+0x3552a): undefined reference to `reopen_'
main.f90:(.text+0x35a1b): undefined reference to `wforce_'
xml.o: In function `vaspxml_mp_xml_flush_':
xml.f90:(.text+0x641): undefined reference to `wforce_'
main_mpi.o: In function `main_mpi_mp_init_mpi_':
main_mpi.f90:(.text+0xfd): undefined reference to `rdatab_'
main_mpi.f90:(.text+0x230): undefined reference to `rdatab_'
poscar.o: In function `poscar_mp_rd_poscar_head_':
poscar.f90:(.text+0x4ff): undefined reference to `nitems_'
poscar.f90:(.text+0x913): undefined reference to `nitems_'
poscar.f90:(.text+0xe49): undefined reference to `nitems_'
poscar.o: In function `poscar_mp_rd_poscar_':
poscar.f90:(.text+0x1376): undefined reference to `nitems_'
poscar.o: In function `poscar_mp_outpos_trail_':
poscar.f90:(.text+0x7b3a): undefined reference to `reopen_'
pseudo.o: In function `pseudo_mp_rdpars_':
pseudo.f90:(.text+0x68c9): undefined reference to `length_'
nonlr.o: In function `nonlr_mp_lreal_compat_mode_':
nonlr.f90:(.text+0x6cb): undefined reference to `rdatab_'
charge.o: In function `gga_compat_mode_':
charge.f90:(.text+0x2c98): undefined reference to `rdatab_'
constrmag.o: In function `constrained_m_modular_mp_constrained_m_reader_':
constrmag.f90:(.text+0x19f): undefined reference to `rdatab_'
constrmag.f90:(.text+0x4b7): undefined reference to `rdatab_'
constrmag.f90:(.text+0x829): undefined reference to `rdatab_'
cl_shift.o:cl_shift.f90:(.text+0x148): more undefined references to `rdatab_' follow
LDApU.o: In function `ldaplusu_module_mp_ldaplusu_printocc_':
LDApU.f90:(.text+0xa37a): undefined reference to `zheev_'
wavpre.o: In function `mwavpre_mp_wavpre_':
wavpre.f90:(.text+0x1e69): undefined reference to `zheev_'
wavpre_noio.o: In function `mwavpre_noio_mp_wavpre_noio_':
wavpre_noio.f90:(.text+0x26bc): undefined reference to `zheevx_'
broyden.o: In function `broyden_mp_broyd_':
broyden.f90:(.text+0x41ef): undefined reference to `dgegv_'
dynbr.o: In function `brzero_':
dynbr.f90:(.text+0x277b): undefined reference to `dgegv_'
rmm-diis.o: In function `rmm_diis_mp_eddrmm_':
rmm-diis.f90:(.text+0x48c7): undefined reference to `zhegv_'
reader.o: In function `reader_':
reader.f90:(.text+0x15f): undefined reference to `rdatab_'
reader.f90:(.text+0x212): undefined reference to `strip_'
reader.f90:(.text+0x309): undefined reference to `rdatab_'
reader.f90:(.text+0x471): undefined reference to `rdatab_'
reader.f90:(.text+0x60c): undefined reference to `rdatab_'
reader.f90:(.text+0x688): undefined reference to `strip_'
reader.f90:(.text+0x697): undefined reference to `lower_'
reader.f90:(.text+0x7c6): undefined reference to `rdatab_'
reader.f90:(.text+0x879): undefined reference to `strip_'
reader.f90:(.text+0x888): undefined reference to `upper_'
reader.f90:(.text+0x96a): undefined reference to `rdatab_'
reader.f90:(.text+0xae4): undefined reference to `rdatab_'
reader.f90:(.text+0xb9d): undefined reference to `strip_'
reader.f90:(.text+0xca4): undefined reference to `rdatab_'
reader.f90:(.text+0xe0f): undefined reference to `rdatab_'
reader.f90:(.text+0xf7d): undefined reference to `rdatab_'
reader.f90:(.text+0x10ef): undefined reference to `rdatab_'
reader.f90:(.text+0x127e): undefined reference to `rdatab_'
reader.o:reader.f90:(.text+0x1507): more undefined references to `rdatab_' follow
reader.o: In function `reader_':
reader.f90:(.text+0x9a02): undefined reference to `strip_'
reader.f90:(.text+0x9a11): undefined reference to `upper_'
reader.f90:(.text+0x9b90): undefined reference to `rdatab_'
reader.f90:(.text+0x9d31): undefined reference to `rdatab_'
reader.f90:(.text+0x9ea6): undefined reference to `rdatab_'
reader.f90:(.text+0xa0b3): undefined reference to `rdatab_'
reader.f90:(.text+0xa113): undefined reference to `strip_'
reader.f90:(.text+0xa2a0): undefined reference to `rdatab_'
reader.f90:(.text+0xa6ad): undefined reference to `rdatab_'
writer.o: In function `writer_mp_writer_reader_':
writer.f90:(.text+0x148): undefined reference to `rdatab_'
writer.f90:(.text+0x2cf): undefined reference to `rdatab_'
tutor.o: In function `vtutor_':
tutor.f90:(.text+0x62): undefined reference to `strip_'
fileio.o: In function `fileio_mp_readni_':
fileio.f90:(.text+0xb493): undefined reference to `nitems_'
fileio.f90:(.text+0xb4d0): undefined reference to `subwrd_'
fileio.f90:(.text+0xb4f4): undefined reference to `chkint_'
fileio.f90:(.text+0xb572): undefined reference to `strip_'
dipol.o: In function `mdipol_mp_field_reader_':
dipol.f90:(.text+0x154): undefined reference to `rdatab_'
subrot.o: In function `subrot_mp_eddiag_':
subrot.f90:(.text+0x2384): undefined reference to `zhegv_'
subrot.f90:(.text+0x25dc): undefined reference to `zheevx_'
davidson.o: In function `david_mp_eddav_':
davidson.f90:(.text+0x5018): undefined reference to `zhegv_'
davidson.f90:(.text+0x800f): undefined reference to `zheevx_'
electron.o: In function `elmin_':
electron.f90:(.text+0x52fe): undefined reference to `wforce_'
electron.f90:(.text+0x6190): undefined reference to `rdatab_'
electron.f90:(.text+0x6ca5): undefined reference to `wforce_'
pardens.o: In function `pardens_mp_parchg_':
pardens.f90:(.text+0xd42): undefined reference to `clean_'
pardens.f90:(.text+0xd4d): undefined reference to `nxtfru_'
pardens.f90:(.text+0xdd4): undefined reference to `wforce_'
pardens.f90:(.text+0xebd): undefined reference to `clean_'
pardens.f90:(.text+0xed4): undefined reference to `nxtfru_'
pardens.f90:(.text+0xf58): undefined reference to `wforce_'
pardens.f90:(.text+0x195f): undefined reference to `nxtfru_'
pardens.f90:(.text+0x19e3): undefined reference to `wforce_'
pardens.f90:(.text+0x2051): undefined reference to `wforce_'
pardens.f90:(.text+0x22c6): undefined reference to `wforce_'
pardens.f90:(.text+0x277a): undefined reference to `wforce_'
pardens.o: In function `pardensparchg_mp_read_pard_':
pardens.f90:(.text+0x50ad): undefined reference to `wforce_'
pardens.f90:(.text+0x528e): undefined reference to `nxtfru_'
pardens.f90:(.text+0x561f): undefined reference to `rdatab_'
pardens.f90:(.text+0x570a): undefined reference to `rdatab_'
pardens.f90:(.text+0x59d3): undefined reference to `wforce_'
pardens.f90:(.text+0x5a70): undefined reference to `wforce_'
pardens.f90:(.text+0x5b4f): undefined reference to `rdatab_'
pardens.f90:(.text+0x5e37): undefined reference to `wforce_'
pardens.f90:(.text+0x5f12): undefined reference to `rdatab_'
pardens.f90:(.text+0x5fa6): undefined reference to `wforce_'
pardens.f90:(.text+0x6081): undefined reference to `rdatab_'
pardens.f90:(.text+0x6115): undefined reference to `wforce_'
pardens.f90:(.text+0x655a): undefined reference to `rdatab_'
pardens.f90:(.text+0x6acf): undefined reference to `wforce_'
pardens.f90:(.text+0x6cbe): undefined reference to `rdatab_'
pardens.f90:(.text+0x7172): undefined reference to `wforce_'
pardens.f90:(.text+0x73c5): undefined reference to `rdatab_'
pardens.f90:(.text+0x7979): undefined reference to `wforce_'
pardens.f90:(.text+0x7bc6): undefined reference to `rdatab_'
pardens.f90:(.text+0x7eeb): undefined reference to `wforce_'
pardens.o: In function `pardensparchg_mp_write_eigv_':
pardens.f90:(.text+0x9628): undefined reference to `wforce_'
paircorrection.o: In function `pair_correction_':
paircorrection.f90:(.text+0x192): undefined reference to `rdatab_'
optics.o: In function `calc_nabij_':
optics.f90:(.text+0x110): undefined reference to `rdatab_'
optics.f90:(.text+0x2ae): undefined reference to `rdatab_'
optics.f90:(.text+0x4d1): undefined reference to `rdatab_'
optics.f90:(.text+0x665): undefined reference to `rdatab_'
finite_diff.o: In function `finite_differences_mp_finite_diff_':
finite_diff.f90:(.text+0x2a02): undefined reference to `dsyev_'
elpol.o: In function `elpol_mp_reader_add_on_':
elpol.f90:(.text+0x7b3c): undefined reference to `rdatab_'
elpol.f90:(.text+0x7dcc): undefined reference to `rdatab_'
elpol.f90:(.text+0x8113): undefined reference to `rdatab_'
elpol.o: In function `elpol_mp_berry_':
elpol.f90:(.text+0x9833): undefined reference to `zgeco_'
elpol.f90:(.text+0x9895): undefined reference to `zgedi_'
aedens.o: In function `aedens_mp_init_aedens_':
aedens.f90:(.text+0x140): undefined reference to `rdatab_'
make: *** [vasp] Error 1



-----------------------------------------------
I had ever used the MKL(7.0), but the same error happen.
And ,i found the functions in the errors are contained in the files(vasp.4.lib).

How to solve this problem?
Thanks

compile error:undefined reference to `rdatab_'

Posted: Sat Oct 25, 2008 8:47 am
by chenweiguang
I need to resolve this problem ASAP.. Please help me
THanks