-
Notifications
You must be signed in to change notification settings - Fork 60
Tips & Tricks
Bruno Blais edited this page Jul 29, 2020
·
2 revisions
By default, Trilinos is often compiled with openmp enabled. Regretfully, this more often than not leads to very poor parallel peformance. Shared memory parallelism in Trilinos can be either disabled at compile time, or disabled from the terminal. To disable it from the terminal, the number of OpenMP threads can be forcefully set to 1 by setting the OMP_NUM_THREADS
environment variable.
This can be done by adding the following line to your $HOME/.bashrc
file:
export OMP_NUM_THREADS=1