Hi,
I build a multi threads executable with pgf90 and openmp directives with this directive in the makefile :
FFLAGS = -r8 -C -O0 -mp=numa
The execution fails with this errror :
stack overflow: thread 1, max 4KB, used 0KB, request 17408B
I understand the problem is due to the stack, but ulimit give
core file size (blocks, -c) 1
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 5166883
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) 10485760
open files (-n) 16384
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 5166883
virtual memory (kbytes, -v) 535346960
file locks (-x) unlimited
I try to use :
export OMP_STACKSIZE with different value, but error persists.
Some idea ?
My system operating is a Suse with this kernel:
2.6.32.54-0.3
Regards.