1 Reply Latest reply on Jan 28, 2008 3:07 PM by chipf

    ld warnings, "type and size of dynamic symbol ... not defined"

    cchang
      Greetings,

      I am attempting to build the package NWChem 5.1, using pgf90 7.1-3, gcc 3.4.2, GNU ld 2.15.92.0.2 20040927 and ACML 4.0.1, Linux Opteron. The final linking step is initiated with:

      pgf90 -i8 -Mdalign -Mllalign -Kieee -tp k8-64 -g -O2 -Wl,--export-dynamic -L/copt/2.0/NWChem/build/nwchem-5.1/lib/LINUX64 -L/copt/2.0/NWChem/build/nwchem-5.1/src/tools/lib/LINUX64 -o /copt/2.0/NWChem/build/nwchem-5.1/bin/LINUX64/nwchem nwchem.o stubs.o -lnwctask -lccsd -lmcscf -lselci -lmp2 -lmoints -lstepper -ldriver -ldftgrad -lnwdft -lgradients -lcphf -lesp -lddscf -lguess -lhessian -lvib -lnwcutil -lrimp2 -lproperty -lnwints -lprepar -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -lcafe -lspace -lanalyze -lqhop -lpfft -ldplot -lnwpython -ldrdy -lvscf -lqmmm -lqmd -letrans -lpspw -ltddft -ltce -lbq -lcons -lperfm -lneb -lnwcutil -lpario -lglobal -lma -lpeigs -L/usr/bin/lib64/python2.3/config -lpython2.3 -L/copt/2.0/acml/4.0.1/pgi64_int64/lib -lacml -larmci -L/copt/2.0/openmpi/1.2.4/lib64 -ltcgmsg-mpi -lmpi -lmpi_f77 -lmpi_cxx -L/copt/2.0/infinipath/2.1/usr/lib64 -libverbs -lpthread -lutil -ldl

      which yields

      /usr/bin/ld: warning: type and size of dynamic symbol `dhseqr_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlange_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dasum_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `xerbla_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dscal_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlapy2_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dspsvx_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgemv_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgebak_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgetrs_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zdotc_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `drot_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dswap_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `cgemm_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlascl_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dorghr_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgesvd_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgehrd_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dsyev_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dsygv_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgesv_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dcopy_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgels_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `izamax_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `ddot_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgemm_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zscal_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zgetrf_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgetrf_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlacpy_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dgebal_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlaset_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dtrevc_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlartg_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zheev_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `idamax_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `ilaenv_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zaxpy_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dger_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlabad_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zcopy_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `daxpy_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dnrm2_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `dlamch_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `zgemm_' are not defined
      /usr/bin/ld: warning: type and size of dynamic symbol `lsame_' are not defined

      What does this mean, and how do more knowledgeable folks work around this?

      Thanks, Chris