Skip to content

Commit

Permalink
Max out the stack memory for OpenMP
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Jan 18, 2018
1 parent e074310 commit c697a25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_library/bashrc_newlines
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export GC_F_BIN=$NETCDF_FORTRAN_HOME/bin
export GC_F_INCLUDE=$NETCDF_FORTRAN_HOME/include
export GC_F_LIB=$NETCDF_FORTRAN_HOME/lib

# Max out the stack memory for OpenMP
# http://wiki.seas.harvard.edu/geos-chem/index.php/GNU_Fortran_compiler#Requesting_sufficient_stack_memory_for_GEOS-Chem
ulimit -s unlimited
export OMP_STACKSIZE=500m

#==========================
# personal settings
#==========================
Expand Down

0 comments on commit c697a25

Please sign in to comment.