Skip to main content

Cornelis Technical Documentation

6.3.3. ulimit Settings

Certain MPI applications may require increased resource limits to avoid runtime errors such as segmentation faults or out-of-memory conditions. To ensure sufficient stack size and locked memory, add the following lines to your shell profile (e.g., ~/.bashrc, ~/.bash_profile, or ~/.zshrc):

ulimit -s unlimited 
ulimit -l unlimited