X-Git-Url: https://code.communitydata.science/ml_measurement_error_public.git/blobdiff_plain/003733f22f42b435315803fd5f47d483c712d72d..2cd447c327744263d5f94b20e1146cdf31b2ec2c:/simulations/run_simulation.sbatch?ds=sidebyside diff --git a/simulations/run_simulation.sbatch b/simulations/run_simulation.sbatch index 835f39b..54f56be 100644 --- a/simulations/run_simulation.sbatch +++ b/simulations/run_simulation.sbatch @@ -6,14 +6,14 @@ ## Resources #SBATCH --nodes=1 ## Walltime (12 hours) -#SBATCH --time=24:00:00 +#SBATCH --time=1:00:00 ## Memory per node #SBATCH --mem=8G #SBATCH --cpus-per-task=1 #SBATCH --ntasks-per-node=1 #SBATCH --chdir /gscratch/comdata/users/nathante/ml_measurement_error_public/simulations #SBATCH --output=simulation_jobs/%A_%a.out -#SBATCH --error=simulation_jobs/%A_%a.out +#SBATCH --error=simulation_jobs/%A_%a.err TASK_NUM=$(($SLURM_ARRAY_TASK_ID + $1)) TASK_CALL=$(sed -n ${TASK_NUM}p $2)