File size: 610 Bytes
625a17f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#SBATCH --job-name=envir
#SBATCH --nodes=1               # Request 1 node
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=4       # 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=envir.log      # Redirect stdout to a log file
#SBATCH --nodelist=gcpcpu-eu-1


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