- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
i am trying to use mpiifx instead of mpiifort to run my code.
In both cases, i am able to compile but when i try to run them, the version compiled with mpiifx is able to work only if i use -check stack option.
Since this option deactivate any kind of optimization, is there a different way to solve this problem?
Thanks in advance
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks for your reply, i have some updates.
I was able to compile it with optimizations but with some changes.
1) I had to comment the directive "!DIR$ VECTOR ALIGNED" that was present before two different loops.
2) I need to add one of these options: -fstack-security-check, -fstack-protector-strong, -fstack-protector-all
Both changes are not needed if i use mpiifort.
These are my compiler options for both codes:
mpiifort
-O3 -xHost -mcmodel medium -shared-intel -warn all -warn noexternals
mpiifx
-O3 -xHost -mcmodel medium -shared-intel -warn all -warn noexternals + (see point 2)
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thank you for the suggestion.
It helps the performance but still those two fixes remain necessary to be able to use “mpiifx” instead of “mpiifort”
