-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·30 lines (30 loc) · 870 Bytes
/
run.sh
File metadata and controls
executable file
·30 lines (30 loc) · 870 Bytes
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
#!/bin/bash
#
#SBATCH --account=normal
#
#SBATCH --job-name=elp
#
## output files
#SBATCH --output=logs/output-ep-lp-%j.log
#SBATCH --error=logs/output-ep-lp-%j.err
#
# Estimated running time.
# The job will be killed when it runs 15 min longer than this time.
#SBATCH --time=0-24:00:00
#SBATCH --mem=75gb
#
## Resources
## -p gpu/batch |job type
## -N |number of nodes
## -n |number of cpu
# SBATCH -p gpu
#SBATCH -N 2
#SBATCH -n 2
#SBATCH --exclude=pgpu01
nvidia-smi
source activate lipinggpu
#use sklearn installed here
export PYTHONPATH="/cluster/tufts/liulab/lib/anaconda3/envs/lipinggpu/lib/python3.7/site-packages/:$PYTHONPATH"
#stdbuf -o0 python -u run-exp.py kegg_20_node_only -m ep -e lp --load_folds --start_from 4
#stdbuf -o0 python -u run-exp.py kegg_20_maccs -m ep -e lp
stdbuf -o0 python -u run-exp.py kegg_20_maccs -m ep -e lp