File size: 647 Bytes
625a17f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#SBATCH --job-name=json
#SBATCH --nodes=1               # Request 1 node
#SBATCH --ntasks=1              # Number of tasks (total)
#SBATCH --cpus-per-task=16     # Number of CPU cores (threads) per task
#SBATCH --mem-per-cpu=4G        # Memory limit per CPU core (there is no --mem-per-task)
#SBATCH --time=04:00:00         # Job timeout
#SBATCH --output=create_json.log      # Redirect stdout to a log file
#SBATCH --gpus-per-node=l4-24g:1


cd /home/yuqian_fu/Projects/PSALM/datasets

srun --nodes "$SLURM_NNODES" --ntasks-per-node 1 -- \
mkenv -f /home/yuqian_fu/Projects/PSALM/psalm.yml -- \
sh -c "
    python build_ego.py
"