Setting Stack Size - firemodels/fds GitHub Wiki

Setting the stack size on a Linux or macOS system

Introduction

The stack is a region of memory used to store variables local to an FDS subroutine.

Details

To remove the stack size limit on a non-Windows system (i.e. Linux, Unix or macOS), use one of the following commands.

If you your shell is sh, bash or ksh use

ulimit -s unlimited

If your shell is csh, tcsh or zsh use:

limit stacksize unlimited

Put these commands in the startup script appropriate for the shell you are using (.cshrc for the csh or tcsh shell).