MCSR_logo.jpg (56K)
Home My MCSR Supercomputers Software Research Education
Login
Quick Links:

FAQs
Minicamp
Chemistry
insideHPC Blog
Current Jobs
Job History
Mathematica
Training
News
Contact Us

Amber 10 on Sequoia at MCSR

Amber 10 is installed on Sequoia in /usr/local/apps/MPTamber10/amber10. You should set the AMBERHOME environment variable to /usr/local/apps/MPTamber10/amber10. The executables are in $AMBERHOME/exe, and the examples are in $AMBERHOME/examples. You may browse this directory and copy example files into your own working directory for execution. You should ensure that the $AMBERHOME/exe/ directory is in your PATH environment variable.

Amber10 example

To run a parallel Amber10 program, use mpiexec, and specify the number of CPUs/processes to run on with the -np option to mpiexec. For example, to run the Amber "cytosine" program using the sample "in.md" input file supplied in the /usr/local/apps/MPTamber10/amber10/tutorial directory

  1. Ensure the following environment variables are set:
    export AMBERHOME=/usr/local/apps/MPTamber10/amber10
    export MPI_HOME=/usr/lib64
    export MKL_HOME=/mnt/data/apps/intel/ict/mkl/10.0.3.020
    export NETCDF_HOME=/usr/local/apps/MPTamber10/amber10/src/netcdf
    module load intel-compilers-em64t-10.1.017
  2. Ensure the PATH environment variable includes $AMBERHOME/exe/
    export PATH=$PATH:$AMBERHOME/exe
  3. Copy the following file to your working directory.
    /usr/local/apps/MPTamber10/amber10/tutorial/in.md
    /usr/local/apps/MPTamber10/amber10/tutorial/crd.md.23
    /usr/local/apps/MPTamber10/amber10/tutorial/prmtop
  4. Decide which executable to use and set it as TESTsander_pmemd. The executables of SANDER and PMEMD are as follows:
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/sander
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/sander.MPT
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/sander.LES
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/sander.LES.MPT
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/pmemd.SERIAL
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/pmemd.MPT
  5. You should use PBS to submit your Amber jobs. For Amber we have a separate queue and hence it has to be specified in the PBS script. Here is a sample PBS script.
    #PBS -S /bin/bash
    #PBS -l walltime=1000:000:00
    #PBS -l ncpus=8
    #PBS -l mem=1gb
    #PBS -N JobName
    #PBS -q SPIDEY
    . /usr/local/apps/intel/fce/10.1.017/bin/ifortvars.sh
    . /usr/local/apps/intel/cce/10.1.017/bin/iccvars.sh
    export OMP_NUM_THREADS=1
    export AMBERHOME==/usr/local/apps/MPTamber10/amber10
    export MPI_HOME=/usr/lib64
    export MKL_HOME=/mnt/data/apps/intel/ict/mkl/10.0.3.020
    export NETCDF_HOME=/usr/local/apps/MPTamber10/amber10/src/netcdf
    export TESTsander_pmemd=/usr/local/apps/MPTamber10/amber10/exe/sander.MPT
    export DO_PARALLEL="mpiexec -n 16"
    cd /ptmp/$USER/
    $DO_PARALLEL $TESTsander_pmemd -O -i in.md -c crd.md.23 -o cytosine.out

  6. To run the PBS script
    qsub pbs_script_name
  7. Make sure it created a new cytosine.out
  8. Verify results in cytosine.out


Last Modified:January 20, 2009 10:12:09.   Copyright © 1997-2012 The Mississippi Center for Supercomputing Research. All Rights Reserved.   The University of Mississippi
Valid RSS