SiCortex
Getting Started:
http://www.rcac.purdue.edu/userinfo/resources/moffett/newuser.cfm
Log on:
bash$ ssh username@moffett.rcac.purdue.edu
password:
Submit Job:
1. Compile code - get executable
2. Make a file named 'script' that contains the following code: '2DBGK' is the name of the executable
#!/bin/sh
#SBATCH --time=120
srun -l 2DBGK
3. Submit job in batch mode: N is no. of nodes, n is (N times no.of processors on each node)
Here, N = 10 and n = N*6 = 60 (max no. of processors on each node is 6 on Moffett)
bash$ sbatch -p scx-comp -N 10 -n 60 script
Check Job Status:
1. To see all jobs :
bash$ squeue
2. To see the jobs of person logged on as 'username'
bash$ squeue -u username
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
3012 scx-comp script username R 28:10 1 scx-m1n5
3013 scx-comp script username R 26:40 2 scx-m6n[0-1]
Cancel Job:
To cancel the job with id 3012 seen in the queue
bash$ scancel 3012
Submit Job Interactively:
This is very useful for debugging code manually.
Step 1: Request number of nodes(1)
bash$ srun -p scx-comp -A -N 1
Step 2: srun command (on 3 processors on single node)
bash$ srun -n 3 a.out
Word of Caution:
Do not use the following words as variables in your code: count, type
Do not use the following names for subroutines : Interface
Don't use logical parameters or statements using them. Instead convert to integer parameters.
Wrong:
logical, parameter :: x1 = .false.
if (x1 .eq. .false.)
....
endif
Correct:
integer,parameter:x1= 0 !use 0 for false and 1 for true
if (x1 .eq. 0)
...
endif
Reboots are scheduled on the SiCortex system, moffett.rcac, between **
** 2-3pm each Wednesday to install updates to system software and/or make **
** configuration changes to the system. Jobs executing on the system when **
** these reboots occur will be terminated.
Direct questions about this article to schigull@purdue.edu