-
Notifications
You must be signed in to change notification settings - Fork 1
/
combine_r.slurm
33 lines (25 loc) · 912 Bytes
/
combine_r.slurm
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 -J compute_seqs
#SBATCH -t 72:00:00
#SBATCH -N 1
#SBATCH -p any_cpu
#SBATCH -x n201
#SBATCH --ntasks=1
export PATH=/net/pulsar/home/koes/dkoes/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/net/pulsar/home/koes/dkoes/local/cuda-10.1/lib64:/net/pulsar/home/koes/dkoes/local/lib:/net/antonin/usr/local/cuda-10.0/lib64:/usr/lib64:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-10.0/lib64:/lib:$LD_LIBRARY_PATH
export PYTHONPATH=~dkoes/local/lib/python3.6/site-packages/:$PYTHONPATH
eval "$(conda shell.bash hook)"
conda activate ddg_cv
SCRDIR=/scr/${USER}/DDG_CV/
if [ ! -d "$SCRDIR" ] ; then
mkdir -p $SCRDIR
fi
echo Running on `hostname`
echo PATH=$PATH
echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH
echo PYTHONPATH=$PYTHONPATH
echo SCRATCH_DIR=$SCRDIR
echo -e '\n\n'
rows=( $(ls simi_mat) )
cd simi_mat/
python /net/dali/home/mscbio/anm329/scripts/combine_rows.py ${rows[@]}