-
Notifications
You must be signed in to change notification settings - Fork 0
/
theorem4_part2.pbs
37 lines (28 loc) · 1.19 KB
/
theorem4_part2.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
27
28
29
30
31
32
33
34
35
36
# To submit a job you need to create an execution script in the directory
# from which you are going to run the job. PBS directives are specified as
# comments in the script. In particular, all lines beginning with #PBS are
# PBS directives. After the PBS directives is the body of the script - commands
# which are executed when the script runs.
# Request memory and cpu time (these are mandatory)
# pmem is the amount of physical memory per process.
#PBS -l pmem=131mb
#PBS -l walltime=68:00:00
# Example: PBS -l pmem=288mb
# Example: PBS -l cput=00:00:30
# Set number of cpus and scheduling stuff.
#PBS -l nodes=48:ppn=2
#PBS -l nice=-15
# Email me when you begin, exit, or abort.
#PBS -m bea
#PBS -M pglee@clemson.edu
# Name the job.
#PBS -N Theorem4_Part2
# Change to the directory the job was submitted from.
cd $PBS_O_WORKDIR
# MP_SHARED_MEMORY means that cpus on the same machine will
# use 256MB dedicated (extra) memory to communicate with
# each other.
export MP_SHARED_MEMORY=yes
cat $PBS_NODEFILE > /home/pglee/nodes.txt
# Start the machines running.
mpirun -np 96 -machinefile $PBS_NODEFILE main --k 13 --max 1300000 --prefix /cluster/pglee/data --lastmodulus 1000001491 --maxmodulus 1000003133