|
|||||||||||||||||||||||||||||||||
AMBER Archive (2008)Subject: RE: AMBER: Compile AMBER 9 on TACC Ranger super computer
From: Ross Walker (ross_at_rosswalker.co.uk)
Hi Lei,
I think you are getting caught way down in the weeds here. You almost
I would suggest you just try and use mvapich2 to begin with. Here is what I
which mpif90
>/opt/apps/pgi7_1/mvapich2/1.0/bin/mpif90
tar xvjf AmberTools.tar.bz2
tar xvjf Amber10.tar.bz2
cd amber10
wget http://www.ambermd.org/bugfixes/10.0/bugfix.all
patch -p0 -N -r patch-rejects <bugfix.all
rm -f bugfix.all
wget http://www.ambermd.org/bugfixes/AmberTools/1.2/bugfix.all
patch -p0 -N -r patch-rejects <bugfix.all
cd src
./configure_at
make -f Makefile_at
setenv MPI_HOME /opt/apps/pgi7_1/mvapich2/1.0/
./configure_amber -mpich2 -nosanderidc pgf90
Note I had to edit evb_matrix.f here and change:
use evb_pimd, only: nbead
to
#if defined(LES)
use evb_pimd, only: nbead
#endif
to avoid a problem with an undefined reference to evb_pimd when linking
make parallel
cd pmemd
./configure linux64_opteron pgf90 mvapich pubfft bintraj
>Please enter name of directory where Infiniband libraries are installed:
>/opt/apps/pgi7_1/mvapich2/1.0/lib/
edit config.h and change all pgf90's to mpif90
change MPI_LIBS line to be MPI_LIBS =
make
make install
>Run test cases for PMEMD
1) WORK filesystem is down AGAIN on Ranger - this seems to never work - so
mkdir ~/work
setenv WORK ~/work
Job submission script (test_amber10_pmemd.x)...
#!/bin/bash
#$ -V # Inherit the submission environment
#$ -cwd # Start job in submission directory
#$ -N testPMEMD # Job Name
#$ -j y # combine stderr & stdout into stdout
#$ -o $JOB_NAME.o$JOB_ID # Name of the output file (eg. myMPI.oJobID)
#$ -pe 4way 32 # Requests 4 cores/node, 32/16 = 2 nodes total (8
#$ -q development # Queue name
#$ -l h_rt=00:30:00 # Run time (hh:mm:ss) - 0.5 hours
set -x #{echo cmds, use "set echo" in csh}
setenv AMBRHOME ~/amber10
cd $AMBERHOME/test
setenv DO_PARALLEL ibrun
make test.parallel
make test.pmemd
qsub test_amber10_pmemd.x
You can also do this on a single login node with:
setenv DO_PARALLEL 'mpirun -np 4'
cd $AMBERHOME/test/
make clean
make test.parallel
make test.pmemd
This works fine for amber10 - tweaking can help with performance somewhat
As for AMBER 9 you should be able to compile pmemd using pgf90 by following
Good luck,
Ross
From: owner-amber_at_scripps.edu [mailto:owner-amber_at_scripps.edu] On Behalf Of
Dear AMBER Users,
I am trying to compile AMBER9 on the Texas Advance Computing Center (TACC)'s
Ranger has AMD Opteron processes. So I set the configuration to
Due to problems of using native MPI programs on ranger (mvapich2 and
The AMBER9 parallel compilation process stopped with the follow error
“ /usr/bin/ld: skipping incompatible
/usr/bin/ld: cannot find -lmpichf90
make[1]: *** [sander.MPI] Error 2”
On the AMBER reflector, Dr. Ross Walker suggested that compiling mpich2 and
When I tried to use intel 10.1 compiler on Ranger to compile Mpich2 and
“ checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
If you meant to cross compile, use `--host'.
See `config.log' for more details.”
Any suggestions are appreciated.
Sincerely,
Lei Jia
_____
用 Windows Live Spaces 展示个性自我,与好友分享生活!
-----------------------------------------------------------------------
| |||||||||||||||||||||||||||||||||
|