#2204: Compilation on comet failed to due out of memory ---------------------------------+------------------------ Reporter: Roland Haas | Type: defect Status: new | Priority: minor Milestone: | Component: SimFactory Version: development version | Keywords: comet ---------------------------------+------------------------ Compiling on Comet's login node failed for me when compiling {{{ arrangements/Carpet/CarpetLib/src/restrict_3d_cc_o5_rf2.cc }}} due to an out of memory error. ulimit -a indicates that there is a limit of 4GB per user {{{ rhaas@comet-ln2:~$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 257194 max locked memory (kbytes, -l) 524288 max memory size (kbytes, -m) 4194304 open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) 10800 max user processes (-u) 1024 virtual memory (kbytes, -v) 4194304 file locks (-x) unlimited }}} which can be avoided by going to a compute node {{{ srun --partition=debug --pty --nodes=1 --ntasks-per-node=24 -t 00:30:00 --wait=0 --export=ALL /bin/bash }}} and compiling via {{{ simfactory/bin/sim build --machine comet }}}
This is (hopefully) a temporary measure on comet.