-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun_fig2a_proper.sh
executable file
·40 lines (31 loc) · 1.17 KB
/
run_fig2a_proper.sh
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
37
38
39
40
#!/bin/bash
## RENAME FOR YOUR JOB
#PBS -N MACKE_fig2a
## EDIT FOR YOUR JOB
## For 8 core nodes
#PBS -l nodes=1:ppn=8,feature=8core
## WALLTIME DEFAULTS TO ONE HOUR - ALWAYS SPECIFY FOR LONGER JOBS
## If the job doesn't finish in 10 minutes, cancel it
#PBS -l walltime=00:33:00
## EDIT FOR YOUR JOB
## Put the STDOUT and STDERR from jobs into the below directory
#PBS -o /gscratch/riekesheabrown/dleen/cpp/LIF_MACKE/joblogs
## Put both the stderr and stdout into a single file
#PBS -j oe
#PBS -m abe -M [email protected]
## EDIT FOR YOUR JOB
## Sepcify the working directory for this job bundle
#PBS -d /gscratch/riekesheabrown/dleen/cpp/LIF_MACKE/data
#PBS -q bf
HYAK_SLOTS=`wc -l < $PBS_NODEFILE`
##LOOP_NUMBER=0
## jobargs is a file with the arguments you want to pass to your application
##
(echo fig2a 0.05 LIF $LOOP_NUMBER;
echo fig2a 0.1 LIF $LOOP_NUMBER;
echo fig2a 0.25 LIF $LOOP_NUMBER;
echo fig2a 0.05 EIF $LOOP_NUMBER;
echo fig2a 0.1 EIF $LOOP_NUMBER;
echo fig2a 0.25 EIF $LOOP_NUMBER;
echo fig2a 0.05 QIF $LOOP_NUMBER;
echo fig2a 0.1 QIF $LOOP_NUMBER) | parallel --colsep ' ' -j $HYAK_SLOTS /gscratch/riekesheabrown/dleen/cpp/LIF_MACKE/spike_macke_figures.out {}