problem in parallel compilation
Posted: Wed Jan 24, 2007 8:42 am
While I never face a problem in compiling VASP in serial machines, I face sometimes difficulties in parallel compilations. Recently, I came across the following errors:
............
/opt/mpich2-intel/bin/mpif90 -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 dynmat.o neb.o dimer.o lanczos.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_double.o -L/opt/intel/mkl_serial_8.1/lib/em64t -lmkl_em64t -lpthread
/opt/mpich2-intel/lib/libmpich.a(ch3u_getinterfaces.o): In function `MPIDU_CH3U_GetSockInterfaceAddr':
ch3u_getinterfaces.c:(.text+0x51): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
main.o: In function `MAIN__':
main.f90:(.text+0x15710): undefined reference to `mapset_'
main.f90:(.text+0x15770): undefined reference to `mapset_'
main.f90:(.text+0x1577f): undefined reference to `mapset_'
main.f90:(.text+0x157df): undefined reference to `mapset_'
make: *** [vasp] Error 1
------------------
Can anyone please help me out in resolving it?
Regards,
Sen
............
/opt/mpich2-intel/bin/mpif90 -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 dynmat.o neb.o dimer.o lanczos.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_double.o -L/opt/intel/mkl_serial_8.1/lib/em64t -lmkl_em64t -lpthread
/opt/mpich2-intel/lib/libmpich.a(ch3u_getinterfaces.o): In function `MPIDU_CH3U_GetSockInterfaceAddr':
ch3u_getinterfaces.c:(.text+0x51): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
main.o: In function `MAIN__':
main.f90:(.text+0x15710): undefined reference to `mapset_'
main.f90:(.text+0x15770): undefined reference to `mapset_'
main.f90:(.text+0x1577f): undefined reference to `mapset_'
main.f90:(.text+0x157df): undefined reference to `mapset_'
make: *** [vasp] Error 1
------------------
Can anyone please help me out in resolving it?
Regards,
Sen