The discussion forums in the XSEDE User Portal are for users to share experiences, questions, and comments with other users and XSEDE staff. Visitors are welcome to browse and search, but you must login to contribute to the forums. While XSEDE staff monitor the lists, XSEDE does not guarantee that questions will be answered. Please note that the forums are not a replacement for formal support or bug reporting procedures through the XSEDE Help Desk. You must be logged in to post to the user forums.

« Back

lammps executable in trestles

Combination View Flat View Tree View
Threads [ Previous | Next ]
lammps executable in trestles
9/4/14 7:40 PM
Hi there,

I want to run LAMMPS in trestles, but I don't know how to specify the last line in the script:

#PBS -q normal
#PBS -l nodes=8:ppn=32
#PBS -l walltime=00:15:00
#PBS -o job_output
#PBS -N test
cd /home/dtraian

module load lammps
mpirun_rsh -np 256 -hostfile < in.file > output.txt

It gives an error. What is this -hostfile? How to set script properly?
Thanks for any suggestions!

RE: lammps executable in trestles
9/17/14 9:08 PM as a reply to Traian Dumitrica.
Here is what worked for me:

#PBS -N lammps
#PBS -q normal
#PBS -l nodes=1:ppn=32
#PBS -l walltime=10:00:00

module load lammps


mpirun_rsh -np 32 -hostfile $PBS_NODEFILE /home/jpg/opt/trestles/lammps/bin/lammps -in