- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I've been working on the openmp version of my fortran code for a while now. While the code runs correctly under many circumstances, it gives a segmentation fault when large arrays are allocated outside the parallel region. Incidentally, I had exactly the same version of the code without any openmp commands. When I compiled this code with the -openmp option, it gave the same segmentation fault at exactly the same place. Without the -openmp option, it runs correctly.
I am using intel fortran compiler 10.1 together with intel mkl 10.0.011 on a 64-bit machine. The stacksize is unlimited. I had a problem with the KMP_STACKSIZE for a while but now that is also sufficiently large. I can't quite figure out what the problem might be. Any help/suggestions would be appreciated.
Regards,
ilker
ps: I also tried the latest compiler version (11.0) and the MKL that comes with it. I get a segmentation fault even earlier. Again, only with the openmp option, and even when I run on a single thread.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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