]> code.communitydata.science - ml_measurement_error_public.git/blob - simulations/run_simulation.sbatch
20953aede0f1c155eeed7d14494a09e01fd2ab28
[ml_measurement_error_public.git] / simulations / run_simulation.sbatch
1 #!/bin/bash
2 #SBATCH --job-name="simulate measurement error models"
3 ## Allocation Definition
4 #SBATCH --account=comdata
5 #SBATCH --partition=compute-bigmem
6 ## Resources
7 #SBATCH --nodes=1    
8 ## Walltime (12 hours)
9 #SBATCH --time=24:00:00
10 ## Memory per node
11 #SBATCH --mem=8G
12 #SBATCH --cpus-per-task=1
13 #SBATCH --ntasks-per-node=1
14 #SBATCH --chdir /gscratch/comdata/users/nathante/ml_measurement_error/mi_simulations
15 #SBATCH --output=simulation_jobs/%A_%a.out
16 #SBATCH --error=simulation_jobs/%A_%a.out
17
18 TASK_NUM=$(($SLURM_ARRAY_TASK_ID + $1))
19 TASK_CALL=$(sed -n ${TASK_NUM}p $2)
20 ${TASK_CALL}
21

Community Data Science Collective || Want to submit a patch?