-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcolony2.pbs
28 lines (19 loc) · 857 Bytes
/
colony2.pbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
## Introductory Example for running Colony2
## Copyright (c) 2013 The Center for Advanced Research Computing
## at The University of New Mexico
#PBS -lnodes=1:ppn=8
#PBS -lwalltime=24:00:00
#PBS -S /bin/bash
# Load the environment modules system
source /etc/profile.d/modules.sh
# Load the environment module for Colony version 2.0.5.9
# This also loads the associated openMPI (1.6.5/gcc/4.4.7)
module load colony/2.0.5.9
# Determine the number of processors allocated to this job
export PROCS=`cat $PBS_NODEFILE | wc -l`
# Change to the directory that this job was submitted from
cd $PBS_O_WORKDIR
# Call the executable to run on your input file.
# !!!! You must modify YouInputFileName to match your file !!!!
mpirun -np $PROCS -machinefile $PBS_NODEFILE colony2p-gun492-ompi165.out IFN:YourInputFileName