Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

OpenMP: segmentation fault

mpv@ngs_ru

New Member
Dear All,
I'm trying to get OpenMP version of CAM3.0.p1 running on 4CPU Itanium machine. I use ifort8.0.039_pl044.1 compiler. Compillation and linking goes OK. Stack size is set unlimited. But when running the code I receive the message:

ICEINI: Read ice data for dates 816 43200 and 916
0
nstep, te 0 3340167301.58743 0.000000000000000E+000
0.000000000000000E+000 98466.2417923964
Segmentation fault

Has anyone run into the same problem? Maybe someone could tell me which options and envvars to use?

Thanks in advance ,
Pavel
 

mpv@ngs_ru

New Member
Thanks for your answers! :)
I found that sometimes one is not allowed to set large omp private thread stack size (KMP_STACKSIZE used by intel implementation) having shell stack size set unlimited.
For example
$> limit stacksize unlimited
$> setenv KMP_STACKSIZE 50m
coused some problems with kmp sack allocation and I received the message: "OMP abort: Unable to set worker thread stack size to 52428800 bytes. Try reducing KMP_STACKSIZE or increasing the shell stack limit"

But
$> limit stacksize 256m
$> setenv KMP_STACKSIZE 50m
works fine.
 
Top