Skip to content

Commit 975bb9d

Browse files
20260514 - out-of-memory
1 parent ebed0aa commit 975bb9d

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

hpc.qmd

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ module load r/4.2.2_gcc-9.5.0
576576
Rscript ./Analyses/factorScores.R
577577
```
578578

579-
### qsub options
579+
### qsub options {#sec-qsubOptions}
580580

581581
`-pe smp 4`: specify a parallel environment and number of slots (CPU cores) to be used (`smp` = shared memory parallel environment); increasing the number of slots increases the memory available for the job.
582582
If your job gets killed due to insufficient memory, you should increase the number of slots requested (and, as needed, the `mf` and `h_vmem` flags, below).
@@ -847,8 +847,36 @@ Makevars:
847847
848848
`\\data.hpc.uiowa.edu\argon_home\.R\Makevars`
849849
850+
851+
850852
# Troubleshooting
851853
854+
## Running out of Memory {#sec-outOfMemory}
855+
856+
May need to request more memory, either by requesting more slots (to ensure more memory; i.e., `-pe smp <SLOTS>`), by increasing how much memory is available for the node at the moment your job starts (i.e., `mf=<SIZE>`), and/or by increasing the hard limit for virtual memory (i.e., `h_vmem=<SIZE>`); see @sec-qsubOptions.
857+
858+
To see how much memory was used by a killed job, run `qacct -j JOBID` ad look at: `maxvmem`.
859+
860+
## `job [NUMBER] died through signal TERM (15)`
861+
862+
May have run out of memory.
863+
See @sec-outOfMemory.
864+
865+
## `job [NUMBER] died through signal KILL (9)`
866+
867+
May have run out of memory.
868+
See @sec-outOfMemory.
869+
870+
## Exit Status: 143
871+
872+
May have run out of memory.
873+
See @sec-outOfMemory.
874+
875+
## Exit Status: 137
876+
877+
May have run out of memory.
878+
See @sec-outOfMemory.
879+
852880
## Having trouble installing packages?
853881
854882
Sometimes Argon will fail to install packages in an R workspace.

0 commit comments

Comments
 (0)