andreagalle / .galledanza

User defined commands & env preferences to feel at Home Everywhere
MIT License
1 stars 0 forks source link

OMP_STACKSIZE #2

Open andreagalle opened 4 years ago

andreagalle commented 4 years ago

Define sbag command declaring OMP_STACKSIZE=16000000 or 24000000 or 32000000 depending on the $HOSTNAME you are and check wether it is better or not to use KMP_STACKSIZE (with GNU compilers it was not, but I don't know why).

andreagalle commented 4 years ago

This is to avoid the following error message to be displayed:

OMP: Error #34: System unable to allocate necessary resources for OMP thread: 
OMP: System error #11: Resource temporarily unavailable
OMP: Hint: Try decreasing the value of OMP_NUM_THREADS.