forked from ShaoshiZ/PyHipp-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrs3a-slurm.sh
46 lines (39 loc) · 1.58 KB
/
rs3a-slurm.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
41
42
43
44
45
46
#!/bin/bash
# Submit this script with: sbatch <this-filename>
#SBATCH --time=24:00:00 # walltime
#SBATCH --ntasks=1 # number of processor cores (i.e. tasks)
#SBATCH --nodes=1 # number of nodes
#SBATCH --cpus-per-task=5 # number of processors per task
<<<<<<< HEAD
#SBATCH -J "rs3" # job name
## /SBATCH -p general # partition (queue)
#SBATCH -o rs3-slurm.%N.%j.out # STDOUT
#SBATCH -e rs3-slurm.%N.%j.err # STDERR
=======
#SBATCH -J "rs3a" # job name
## /SBATCH -p general # partition (queue)
#SBATCH -o rs3a-slurm.%N.%j.out # STDOUT
#SBATCH -e rs3a-slurm.%N.%j.err # STDERR
>>>>>>> upstream/main
# LOAD MODULES, INSERT CODE, AND RUN YOUR PROGRAMS HERE
python -u -c "import PyHipp as pyh; \
import DataProcessingTools as DPT; \
<<<<<<< HEAD
import time; \
import os; \
t0 = time.time(); \
print(time.localtime()); \
DPT.objects.processDirs(dirs=None, objtype=pyh.RPLSplit, channel=[*range(65,97)], SkipHPC=False, HPCScriptsDir = '/data/src/PyHipp/', SkipLFP=False, SkipHighPass=False, SkipSort=False); \
print(time.localtime()); \
print(time.time()-t0);"
aws sns publish --topic-arn arn:aws:sns:ap-southeast-1:710823608214:awsnotify --message "RPLS3JobDone"
=======
import os; \
import time; \
t0 = time.time(); \
print(time.localtime()); \
DPT.objects.processDirs(dirs=None, objtype=pyh.RPLSplit, channel=[*range(65,97)], SkipHPC=False, HPCScriptsDir='/data/src/PyHipp/', SkipLFP=False, SkipHighPass=False, SkipSort=False); \
print(time.localtime()); \
print(time.time()-t0);"
aws sns publish --topic-arn arn:aws:sns:ap-southeast-1:018084650241:awsnotify --message "RPLS3JobDone"
>>>>>>> upstream/main