]> code.communitydata.science - ml_measurement_error_public.git/blobdiff - simulations/run_simulation.sbatch
update real data examples code and rerun project.
[ml_measurement_error_public.git] / simulations / run_simulation.sbatch
index 835f39b9ad6a2070dd7665f9b783bc5fba9fc985..f5db415561de015f3410cf98f94f44b6cf27db2b 100644 (file)
@@ -1,21 +1,23 @@
 #!/bin/bash
 #SBATCH --job-name="simulate measurement error models"
 ## Allocation Definition
 #!/bin/bash
 #SBATCH --job-name="simulate measurement error models"
 ## Allocation Definition
-#SBATCH --account=comdata
-#SBATCH --partition=compute-bigmem
+#SBATCH --account=comdata-ckpt
+#SBATCH --partition=ckpt
 ## Resources
 #SBATCH --nodes=1    
 ## Resources
 #SBATCH --nodes=1    
-## Walltime (12 hours)
-#SBATCH --time=24:00:00
+## Walltime (4 hours)
+#SBATCH --time=4:00:00
 ## Memory per node
 ## Memory per node
-#SBATCH --mem=8G
+#SBATCH --mem=4G
 #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 --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
+source ~/.bashrc
 
 TASK_NUM=$(($SLURM_ARRAY_TASK_ID + $1))
 TASK_CALL=$(sed -n ${TASK_NUM}p $2)
 
 TASK_NUM=$(($SLURM_ARRAY_TASK_ID + $1))
 TASK_CALL=$(sed -n ${TASK_NUM}p $2)
+echo ${TASK_CALL}
 ${TASK_CALL}
 
 ${TASK_CALL}
 

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