Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2154 Discussions

mpif90 and linking options under linux HPC

jianni
Beginner
273 Views

I need to pass to the intel linker (i'm assuming mpif90 doesn't use ld)

--stack 100000000,50000000

since intel's mpi compiler mpif90 doesn't use ld, how do I do this?

Will -Xlinker work ?

ie.

>mpif90 -lm -Xlinker --stack -Xlinker 100000000,50000000-o mycode1.o mycode2.o

OR BETTER YET,

if I have the executable, can I issue some sort of command to change the stack reserve and commit on the executable?

0 Kudos
1 Reply
TimP
Honored Contributor III
273 Views
I don't know of an Intel mpi wrapper named mpif90, nor do I know of any Intel compiler for linux which doesn't use ld. If you want to pass an option through mpiifort or ifort to ld, you can do it by the usual -Wl,, just as you would do with gcc. So, I'm somewhat mystified as to what you are talking about. Several versions of mpich would be built with an mpif90 wrapper (which would invoke ld indirectly), but that doesn't seem to match your words.
0 Kudos
Reply