- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a question regarding the reordering of the processors rank when using ifort. I had a code that compiled and executed with no problems in GNU compilers. I tried the same code using ifort and it compiled without problem but is crashed during execution. I've found the problem was that just before the instruction MPI_CART_CREATE I had "reorder=.true." Replacing it by "reorder=.false." the code is executed. It also works (compile and execute) in GNU compilers.
Can anyone explain me why it fails in ifort with "reorder=.true." but works with "reorder=.false."???
Does anyone knows a way to make it work with "reorder=.true."???
Thanks a lot,
JoSo
I have a question regarding the reordering of the processors rank when using ifort. I had a code that compiled and executed with no problems in GNU compilers. I tried the same code using ifort and it compiled without problem but is crashed during execution. I've found the problem was that just before the instruction MPI_CART_CREATE I had "reorder=.true." Replacing it by "reorder=.false." the code is executed. It also works (compile and execute) in GNU compilers.
Can anyone explain me why it fails in ifort with "reorder=.true." but works with "reorder=.false."???
Does anyone knows a way to make it work with "reorder=.true."???
Thanks a lot,
JoSo
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you build your MPI library with Intel ifort? the representation of .true. and .false. may vary by compiler. If you built MPI with gfortran it may not work when linked with an app built with ifort (and vice versa).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Ronald W. Green (Intel)
Did you build your MPI library with Intel ifort? the representation of .true. and .false. may vary by compiler. If you built MPI with gfortran it may not work when linked with an app built with ifort (and vice versa).
Thanks for your reply. I buiklt the MPI library using a GNU compiler insted of ifort. I am also getting a segmentation fault when using ifort that I'm not getting using GNU compilers. I'll try to build MPI library using ifort.
Thanks again,
JoSo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rebuilding the MPI library with ifort should fix that issue. Now for the other seg fault, there is an article linked at the top of the main page on this forum. Read through that and try the -heap-arrays compiler option. That fixes 90% of those issues.
ron
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have rebuilt mpi with ifort and all previous problems are solved. I have a new one... which is that the results using ifort are completelly different than those obtained using GNU fortran. I'll have to find the appropriate options for ifort... wish me luck!
Thanks.
JoSo
Thanks.
JoSo

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