- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I got the "segmentation fault error" when trying to call the PARDISO solver. My input data consists in a matrix of 32014x32014 with about 850000 nonzeros. This data is contained in arrays that are placed in COMMON blocks.
I read something about increasing the stacksize in order to solve the problem, but I don't know how to do it. How much stack space do I need to work with such a matrix?, how can I set the stack to that size?.
Thanks in advance, Alberto
BTW, SO:Fedora 5, Arch: Intel QuadCore.
I read something about increasing the stacksize in order to solve the problem, but I don't know how to do it. How much stack space do I need to work with such a matrix?, how can I set the stack to that size?.
Thanks in advance, Alberto
BTW, SO:Fedora 5, Arch: Intel QuadCore.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depending on your shell, the command would be:
ulimit -s
or
limit stacksize unlimited
Neither of these actually remove the limit - rather they use a predefined value from the kernel. If you are using the Intel Fortran compiler, try adding the option -heap-arrays. This will cause temporary array copies to be allocated on the heap rather than the stack.
The Intel Fortran for Linux and Mac forum is a good resource for this sort of question.
ulimit -s
or
limit stacksize unlimited
Neither of these actually remove the limit - rather they use a predefined value from the kernel. If you are using the Intel Fortran compiler, try adding the option -heap-arrays. This will cause temporary array copies to be allocated on the heap rather than the stack.
The Intel Fortran for Linux and Mac forum is a good resource for this sort of question.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page