22 lines
589 B
Bash
22 lines
589 B
Bash
#!/bin/bash
|
|
#SBATCH --job-name="simulate measurement error models"
|
|
## Allocation Definition
|
|
#SBATCH --account=comdata
|
|
#SBATCH --partition=compute-bigmem
|
|
## Resources
|
|
#SBATCH --nodes=1
|
|
## Walltime (12 hours)
|
|
#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.err
|
|
|
|
TASK_NUM=$(($SLURM_ARRAY_TASK_ID + $1))
|
|
TASK_CALL=$(sed -n ${TASK_NUM}p $2)
|
|
${TASK_CALL}
|
|
|