AMBER: AMBER10 compiling SANDER parallel problem

From: Hazard, E. Starr <>
Date: Tue, 18 Nov 2008 15:48:31 -0500


I have AMBER 10 and Amber tools 1.2. I downloaded PATCH files on Nov 17.

I have successfully compiled the serial version. I have undertaken to try the parallel compilation.
I have lam-7.1.4 installed but parallel compiling fails

I execute these lines to point to my MKL
export MKL_HOME=/opt/intel/mkl/10.0.011
source /opt/intel/mkl/10.0.011/tools/environment/

./configure_amber -lam g95
make parallel

The final lines include:
Fortran 90 feature at (^) unsupported
   end module constants
Invalid form for END statement at (^)
   double precision, parameter :: TEN_TO_MINUS2 = 1.0d-2
End of source file before end of block started at (^)
/share/apps/lam-7.1.4/bin/mpif77: No such file or directory
make[1]: *** [constants.o] Error 1
make[1]: Leaving directory `/home/hazards/COMPILE/amber10/src/sander'
make: *** [parallel] Error 2

The mpif77 does exist where the error above says it does not.

$ ls /share/apps/lam-7.1.4/bin/
hboot hcp lamboot lamclean lamexec lamhalt lamnodes lamshrink lamwipe mpicc mpiexec mpimsg mpitask tkill wipe
hcc hf77 lamcheckpoint lamd lamgrow laminfo lamrestart lamtrace mpic++ mpiCC mpif77 mpirun recon tping

When I build with the lamsource option

make clean
./configure_amber -lamsource g95
make parallel
../lmod/lmod.a ../lapack/lapack.a ../blas/blas.a \
        ../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-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 ../netcdf/lib/libnetcdf.a -L/opt/intel/mkl/10.0.011/lib/em64t -lvml -lmkl_lapack -lmkl -lguide -lpthread
ld: cannot find -lvml

The MKL library directory has these files including several vml source entries:

ls /opt/intel/mkl/10.0.011/lib/em64t
libguide.a libmkl_blacs_openmpi_lp64.a libmkl_gnu_thread.a libmkl_solver_ilp64_sequential.a libmkl_cdft.a libmkl_solver_lp64.a
libiomp5.a libmkl_cdft_core.a libmkl_intel_ilp64.a libmkl_solver_lp64_sequential.a libmkl_core.a libmkl_scalapack.a
libmkl_blacs_ilp64.a libmkl_intel_lp64.a libmkl_scalapack_ilp64.a
libmkl_blacs_intelmpi20_ilp64.a libmkl_scalapack_lp64.a
libmkl_blacs_intelmpi20_lp64.a libmkl_em64t.a libmkl_intel_sp2dp.a libmkl_sequential.a
libmkl_blacs_intelmpi_ilp64.a libmkl_gf_ilp64.a
libmkl_blacs_intelmpi_lp64.a libmkl_intel_thread.a
libmkl_blacs_lp64.a libmkl_gf_lp64.a libmkl_solver.a
libmkl_blacs_openmpi_ilp64.a libmkl_lapack.a libmkl_solver_ilp64.a

So, I am not sure why this is happening. What should I try next?


The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
Received on Fri Dec 05 2008 - 15:56:04 PST
Custom Search