[molpro-user] link fails for molpro2002.6 on sun

Garold Murdachaew garold at physics.udel.edu
Mon Jan 10 01:53:01 GMT 2005


Dear molpro users,

I am trying to install molpro2002.6 on a sun.  Configuration and most of 
compilation seem to go ok however the link fails with "Undefined symbol" 
messages in libmolpro.a . The relvant portion of the make.log file, 
as well as the CONFIG file, are appended below.

I also show that all latest patches have been used.

I would appreciate any help.

Thank you,
Garold

----------------------------------------------------------------------------
Garold Murdachaew,
Graduate Student 
Dept. of Physics & Astronomy
University of Delaware
Newark, DE 19716 USA

phone:  +1 302 831 3512
fax:    +1 302 831 1637
email:  garold at physics.udel.edu
----------------------------------------------------------------------------


The relavant portion of the make.log file (no errors up to this point):

.
.
.
writsude.f: preprocessing ... compiling ... done
make[3]: Leaving directory `/scratch/garold/molpro2002.6/src/cosmo'
make[2]: Leaving directory `/scratch/garold/molpro2002.6/src/cosmo'
if [ ! -r ../lib/libmolpro.a ]; then \
   echo "Rebuilding ../lib/libmolpro.a from scratch" ;\
   ar  -q ../lib/libmolpro.a licence.o ; \
   ar  -q ../lib/libmolpro.a [A-Z]*/*.o ; \
   ar  -q ../lib/libmolpro.a [a-h]*/*.o ; \
   ar  -q ../lib/libmolpro.a [i-z]*/*.o ; \
   ranlib ../lib/libmolpro.a ; \
else \
   echo "Updating ../lib/libmolpro.a" ;\
   make ../lib/libmolpro.a ; \
fi
Rebuilding ../lib/libmolpro.a from scratch
ar: creating ../lib/libmolpro.a
make[1]: Leaving directory `/scratch/garold/molpro2002.6/src'
link date: 9 Jan 2005 17:19:44 ; version: 2002.6
Installed patches: altix_reshape amd64_ifc_i8_blas4a ampr blas_mkl_ia32 
cardiff_driver cidps_orthp ciexit cioccsym citation compress confi
g_pathscale configure_xeon darwin_conf defbas_update dft_orbital_hi 
doc_module1 enest_dummy erel_variables fujitsu-ssl2 fujitsu_conf ga_co
nflict2 hpux1131 ia64root_check lapack_init largefiles lsint merge_orbdom 
mkl60 mkl61 modelopt molden_orbital_normalization mpputil mxm_fu
jitsu natorb nec_parse opteron2 opteron6 opteron_conf opteron_parse2 
parse_i686_i4_compat parse_ia64 parse_x86_64_i4 patcher_printf pathf9
0 pbs_nodelist pname_intsize posinp project_dav prop_qm pseudo_libmol2 
readop_multipole_nps rpm_key sse2 sun_forte8 sx_updates updui_trap_
overflow wrapper_makefile
Modules: doc
molver.f: compiling ... done
linking /scratch/garold/molpro2002.6/bin/molpros_2002_6_i8.exe
link failed
f90 -dalign -xtypemap=real:64,double:64,integer:64 -fast -xarch=v9b 
-fsimple=2 -o /scratch/garold/molpro2002.6/bin/molpros_2002_6_i8.exe m
olver.o molpro.o -L/scratch/garold/molpro2002.6/lib -lmolpro -lgks0 
-xlic_lib=sunperf -lsunmath -lnsl -lxnet -lmvec -lz
Undefined                       first referenced
  symbol                             in file
proh12_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(cipro.o)
citls1_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(ciexit.o)
compr_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(ciexit.o)
prop_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(driver.o)
prop1_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(readop.o)
prosav_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(cipro.o)
proset_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(cipro.o)
citrdm_ 
/scratch/garold/molpro2002.6/lib/libmolpro.a(cipro.o)
ld: fatal: Symbol referencing errors. No output written to 
/scratch/garold/molpro2002.6/bin/molpros_2002_6_i8.exe
make: *** [bin/molpros_2002_6_i8.exe] Error 1



The CONFIG file:

# MOLPRO CONFIG generated at Sun Jan  9 15:10:20 EST 2005 with version 2002.6
#               for host strauss.udel.edu, architecture unix unix-i8 unix-sun
#
#  insert additional hosts before strauss.udel.edu in above line, if desired
#
ARCHITECTURE="unix unix-i8 unix-sun"



# Compilers ..
CC="cc -DI64 -xarch=v9b"
FC="f90 -dalign -xtypemap=real:64,double:64,integer:64"
F90="f90 -dalign -xtypemap=real:64,double:64,integer:64"
# compiler command to be used only when linking molpro.exe .. eg mpxlf on IBM SP
LINKFC="f90 -dalign -xtypemap=real:64,double:64,integer:64"
YACC="yacc"
ARFLAGS="-r"
# C defines
# nb	SEEK is disk seek speed in seconds
#	SPEED is disk transfer rate in 8 bytes/second
# compiler optimisation
COPT="-fast -xarch=v9b -fsimple=2"
FOPT="-fast -xarch=v9b -fsimple=2"
# compiler explicit no optimisation
CDEF="-DSEEK=.001 -DSPEED=200000   -DZLIB -DHAVE_INTTYPES_H  "
CNOPT=" "
COPT1="-O1"
COPT2="-O2"
FNOPT="-xarch=v9b"
FOPT1="-O1 -xarch=v9b"
FOPT2="-O3 -xarch=v9b"
FOPT3="-O3"
# compiler debug flag
CDEBUG="-g"
FDEBUG="-g"
# static variables
FSTATIC=" "
# 64-bit integers
FI64="-xtypemap=real:64,double:64,integer:64"
# profiling
FPROFILE="-p"
CPROFILE="-p"
# additional pre-processor flags
FTCFLAGS="sunf90 blas4"
# additional directories to be compiled in mpp case
MPPDIR=""
# additional libraries and link options
LIBS="-lnsl -lxnet -lmvec -lz"
LINKOPT=" "
# non-standard location of system libraries
LIBDIR=""
# GKS X-windows library
GKSLIB="-lgks0"
# BLAS library
BLASLIB="-xlic_lib=sunperf -lsunmath"
# LAPACK library
LAPACKLIB=""
# MPP?
MPP="0"
MPPX="0"
WRAPPER=""
USE_MPI=""
USE_LAPI=""
USE_MYRINET=""
MPI_LIB=""
MPPNAME=""
ARCHNAME=""
MPITYPE=""
MPIBASEDIR=""
MYRINET_LIB=""
MYRINET_LINKPARS=""
MPIGM_FORMAT="0"
USE_GIO="0"
# files in src/ to be compiled without optimization
F77VERSION=""
NO_OPT="blas/lapack1.f forces/kraft1a.f argos/artwo1.f Molcas/shell_utils.f Molcas/sether.f basis/basis_contract.f"
F_OPT1="mrci/reservers2.f util/transform.f util/driver.f scf/scfpr2.f util/gparam_init.f"
F_OPT2="Molcas/tcrtnc.f Molcas/tcrtnc_h.f cpp/cpps.f local/opdom.f dtraf/sobinf.f dtraf/dmp2en.f opt/qsd_util.f    dft/dftgrid.f local/ccdomain.f Molcas/angular.f mrci/cirs2util3.f mrci/cicon.f Molcas/twoel_mck.f    util/getvar.f multi/musave.f cfit/cfit_util.f Molcas/sether.f util/iom.f Molcas/efint.f    Molcas/distg2.f Molcas/distg2x.f ccsd/cckint.f Molcas/darwin.f"
F_OPT3=" "
C_OPT1=" "
C_OPT2=" "
# ranlib command (if not needed, true)
RANLIB="ranlib"
# ls command to get user and group
LSFULL="ls -l"
# cp -p if it exists, else cp
CP="cp -p"
# tar command
TAR="tar"
# awk command
AWK="nawk"
# strip command
STRIP="strip"
# installation directories
INSTBIN="/usr/local/bin"
INSTLIB="/usr/local/lib/molpro-SunOS-i8-2002.6"
INSTHTML="/home/usra/150/86153/public_html/molpro/molpro2002.6"
INSTCGI="/home/usra/150/86153/public_html/molpro/molpro2002.6"
# makedepend configuration
MAKEDEPEND_OPTIONS=""
MODULE_SUFFIX="mod"
# non-default libraries
PARSE=parse-sparc-sun-solaris2.8-i8.o.gz
LICENCE_KEY='<deleted>'



More information about the Molpro-user mailing list