When attempting to build sander.APBS as per the instructions on the
iAPBS website, I get an error from having multiple definitions of
matvec_. See code below. I have tried compiling with multiple versions
of APBS 1.x.0, and they all seem to give the same error. Perhaps someone
can shed some light on this? Thank you.
Ken
/make[1]: Leaving directory `/opt/amber11/AmberTools/src/arpack'
ifort -o sander.APBS apbs_vars.APBS.o apbs.APBS.o constants.o state.o
memory_module.o stack.o nose_hoover.o nose_hoover_vars.o
nose_hoover_init.o qmmm_module.o trace.o lmod.o rand2.o lmodC.o xminC.o
decomp.o icosasurf.o egb.o remd.o findmask.o relax_mat.o nmr.o
multitmd.o multisander.o sander.APBS.o trajene.o cshf.o nmrcal.o
mtmdcall.o pearsn.o printe.APBS.o runmin.o rdparm.o mdread.APBS.o
locmem.o runmd.o getcor.o degcnt.o decnvh.o fastwt.o parallel.o shake.o
ene.o mdwrit.o minrit.o set.o dynlib.APBS.o mdfil.o nmlsrc.o ew_force.o
ew_setup.o ew_box.o ew_bspline.o ew_fft.o nonbond_list.o short_ene.o
ew_recip.o pcshift.o align.o csa.o rfree.o rgroup.o amopen.o debug.o
ew_recip_reg.o ew_handle_dips.o ew_dipole_recip.o mexit.o new_time.o
extra_pts.o thermo_int.o matinv.o assert.o mmtsb.o mmtsb_client.o
erfcfun.o constantph.o prn_dipoles.o ips.o sglds.o iwrap2.o
amoeba_valence.o amoeba_multipoles.o amoeba_recip.o amoeba_interface.o
amoeba_direct.o amoeba_mdin.o amoeba_adjust.o amoeba_self.o amoeba_vdw.o
amoeba_induced.o amoeba_runmd.o bintraj.o spatial_recip.o spatial_fft.o
parms.o softcore.o mbar.o molecule.o xref.o dssp.o charmm.o qm_mm.o
qm_ewald.o qm2_variable_solvent.o qmmm_qmtheorymodule.o \
pimd_vars.o pimd_force.o pimd_init.o cmd_vars.o
cmd_matrix.o lscivr_vars.o lsc_init.o lsc_xp.o force.APBS.o \
-L/usr/local/iAPBS-build/lib -liapbs -lapbsmainroutines
-lapbs -lmaloc \
/opt/amber11/lib/libsqm.a /opt/amber11/lib/libFpbsa.a
/opt/amber11/lib/arpack.a -Wl,--start-group
/usr/local/intel/composerxe-2011.4.191/mkl/lib/em64t/libmkl_intel_lp64.a
/usr/local/intel/composerxe-2011.4.191/mkl/lib/em64t/libmkl_sequential.a
/usr/local/intel/composerxe-2011.4.191/mkl/lib/em64t/libmkl_core.a
-Wl,--end-group -lpthread -lsvml \
../lib/nxtsec.o ../lib/sys.a mt19937.o ncsu-abmd-hooks.o
ncsu-bbmd-ctxt.o ncsu-bbmd-hooks.o ncsu-cftree.o ncsu-colvar-math.o
ncsu-colvar-type.o ncsu-colvar-utils.o ncsu-colvar.o ncsu-constants.o
ncsu-cv-ANGLE.o ncsu-cv-DISTANCE.o ncsu-cv-HANDEDNESS.o
ncsu-cv-MULTI_RMSD.o ncsu-cv-N_OF_BONDS.o ncsu-cv-N_OF_STRUCTURES.o
ncsu-cv-R_OF_GYRATION.o ncsu-cv-TORSION.o ncsu-cv-LCOD.o
ncsu-cv-COS_OF_DIHEDRAL.o ncsu-lexer.o ncsu-parser.o ncsu-pmd-hooks.o
ncsu-rmsd.o ncsu-sander-hooks.o ncsu-sander-proxy.o ncsu-smd-hooks.o
ncsu-umbrella.o ncsu-utils.o ncsu-value.o /opt/amber11/lib/libnetcdf.a
-shared-intel -DAPBS
/opt/amber11/lib/libFpbsa.a(miniop.o): In function `matvec_':
_miniop.f:(.text+0xa80): multiple definition of `matvec_'
/usr/local/iAPBS-build/lib/libapbs.a(matvecd.o):/usr/local/iAPBS-build/apbs-1.0.0-source/contrib/pmgZ/matvecd.f:38:
first defined here
/usr/local/iAPBS-build/lib/libiapbs.a(apbs_driver.o): In function
`apbsdrv_':
apbs_driver.c:(.text+0x1207): undefined reference to `loadPotMaps'
make: *** [sander.APBS] Error 1/
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Sep 19 2011 - 14:00:04 PDT