-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_data.sh
52 lines (46 loc) · 1.12 KB
/
run_data.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
47
48
49
50
51
52
#!/bin/bash
#SBATCH --job-name="chignolin_WE_run"
#SBATCH --output="job.out"
#SBATCH --partition=gpu-shared
#SBATCH --nodes=1
#SBATCH --gpus=1
#SBATCH --ntasks-per-node=1
#SBATCH --mem=50G
#SBATCH --account=ucd187
#SBATCH --no-requeue
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH -t 48:00:00
set -x
#export WEST_SIM_ROOT=$PWD
#cd $SLURM_SUBMIT_DIR
#cd $WEST_SIM_ROOT
source ~/.bashrc
module purge
module load shared
module load gpu/0.15.4
module load slurm
module load openmpi/4.0.4
module load cuda/11.0.2
module load amber/20-patch15
#module load conda
#conda activate westpa-2.0
#source env.sh || exit 1
#env | sort
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
#export WEST_SIM_ROOT=$SLURM_SUBMIT_DIR
#cd $WEST_SIM_ROOT
export PYTHONPATH=/home/ssonti/miniconda3/bin/python
#./init.sh
#source env.sh || exit 1
#env | sort
#SERVER_INFO=$WEST_SIM_ROOT/west_zmq_info.json
#TODO: set num_gpu_per_node
#num_gpu_per_node=4
#rm -rf nodefilelist.txt
#scontrol show hostname $SLURM_JOB_NODELIST > nodefilelist.txt
# start server
#w_truncate -n 11
#rm -rf traj_segs/000011
#rm -rf seg_logs/000011*
python3 data_extract.py