forked from ShaoshiZ/PyHipp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rse-slurm.sh
36 lines (31 loc) · 1.04 KB
/
rse-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
#!/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=1 # number of processors per task
#SBATCH -J "rse" # job name
## /SBATCH -p general # partition (queue)
#SBATCH -o rse-slurm.%N.%j.out # STDOUT
#SBATCH -e rse-slurm.%N.%j.err # STDERR
<<<<<<< HEAD
python -u -c "import PyHipp as pyh; \
import time; \
import os; \
=======
# LOAD MODULES, INSERT CODE, AND RUN YOUR PROGRAMS HERE
python -u -c "import PyHipp as pyh; \
import os; \
import time; \
>>>>>>> upstream/main
t0 = time.time(); \
print(time.localtime()); \
os.chdir('sessioneye'); \
pyh.RPLSplit(SkipLFP=False, SkipHighPass=False); \
print(time.localtime()); \
print(time.time()-t0);"
<<<<<<< HEAD
aws sns publish --topic-arn arn:aws:sns:ap-southeast-1:751298973718:awsnotify --message "RSEJobDone"
=======
aws sns publish --topic-arn arn:aws:sns:ap-southeast-1:018084650241:awsnotify --message "RSEJobDone"
>>>>>>> upstream/main