-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun-polaris-test.sh
executable file
·54 lines (47 loc) · 1.5 KB
/
run-polaris-test.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
53
54
#!/bin/bash -le
#PBS -l select=6:system=polaris
#PBS -l walltime=0:60:00
#PBS -l filesystems=home:grand:eagle
#PBS -q debug-scaling
#PBS -N mofa-test
#PBS -A examol
hostname
# Change to working directory
cd ${PBS_O_WORKDIR}
pwd
# Activate the environment
conda activate /lus/eagle/projects/ExaMol/mofa/mof-generation-at-scale/env-polaris
which python
# Launch MPS on each node
NNODES=`wc -l < $PBS_NODEFILE`
mpiexec -n ${NNODES} --ppn 1 ./bin/enable_mps_polaris.sh &
# Start Redis
redis-server --bind 0.0.0.0 --appendonly no --logfile redis.log --protected-mode no &
redis_pid=$!
echo launched redis on $redis_pid
# Run
python run_parallel_workflow.py \
--node-path input-files/zn-paddle-pillar/node.json \
--ligand-templates input-files/zn-paddle-pillar/template_*_prompt.yml \
--generator-path models/geom-300k/geom_difflinker_epoch=997_new.ckpt \
--generator-config-path models/geom-300k/config-tf32-a100.yaml \
--maximum-train-size 8192 \
--maximum-strain 0.5 \
--retrain-freq 1 \
--num-epochs 128 \
--num-samples 1024 \
--gen-batch-size 128000 \
--simulation-budget 32768 \
--md-timesteps 1000000 \
--md-snapshots 10 \
--raspa-timesteps 10000 \
--lammps-on-ramdisk \
--dft-opt-steps 2 \
--dft-fraction 0.25 \
--ai-fraction 0.4 \
--proxy-threshold 10000000000000 \
--compute-config polaris
echo Python done
# Shutdown services
kill $redis_pid
mpiexec -n ${NNODES} --ppn 1 ./bin/disable_mps_polaris.sh