#!/bin/bash

#PBS -S /bin/bash
#PBS -l nodes=1:ppn=20,walltime=96:00:00
#PBS -N cgrr_big
#PBS -V
#PBS -m abe
#PBS -j oe
#PBS -A wgn1_b_g_sc_default
#PBS -M mrd5285@psu.edu

cd $PBS_O_WORKDIR

module load gcc/5.3.1
module load mkl
module load openmpi/1.10.1

# if using MPI
export OMPI_MCA_plm_rsh_agent="pbsdsh"
export OMPI_MCA_hwloc_base_binding_policy="none"


mpirun -np 20 gmx_mpi_d mdrun -s cgmethanol.tpr -rerun cgmethanol.trr -o cgmethanol_rerun.trr -e cgmethanol.edr 
