1
0

use 2 nodes for model fitting.

This commit is contained in:
Nathan TeBlunthuis 2025-06-06 07:16:50 -07:00
parent cce3b0c558
commit 8cd40e1335
2 changed files with 12 additions and 1 deletions

View File

@ -20,7 +20,7 @@ example_1_jobs: 01_indep_differential.R simulation_base.R ${grid_sweep_script} s
${srun} uv run ${grid_sweep_script} --command "Rscript 01_indep_differential.R" --arg_dict '{"N":${Ns},"m":${ms}, "seed":${seeds}, "outfile":["example_1.feather"], "y_explained_variance":${explained_variances}, "Bzx":[1]}' --outfile example_1_jobs
example_1.feather: example_1_jobs my_pylauncher.py
sbatch -J "multiple iv measerr correction" skx_5.sbatch my_pylauncher.py $< --cores 1
sbatch -J "multiple iv measerr correction" skx_2.sbatch my_pylauncher.py $< --cores 1
remembr.RDS:example_1.feather
# rm -f remembr.RDS

View File

@ -0,0 +1,11 @@
#!/bin/bash
#SBATCH --account=ECS24013
#SBATCH --partition=skx
#SBATCH --nodes=2
#SBATCH --chdir=/scratch/10114/nathante/ml_measurement_error_public/multiple_iv_simulations
#SBATCH --error="sbatch_log/%x_%A_%a.err"
#SBATCH --output="sbatch_log/%x_%A_%a.out"
#SBATCH --time=48:00:00
source ~/.bashrc
"$@"