Page 1 of 1

Compiling with mpich built on ifort

PostPosted: Thu Dec 01, 2011 12:35 pm
by bencteux
High,
I found another issue while compiling with ifort.
I wanted to compile scalapack with a version of mpich compiled with ifort.
The problem was that the installer was not detecting that mpif90 was an intel compiler : the command
"mpif90 -V"
returns on my machine :
"Intel(R) Fortran Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1 Build 20090630 Package ID: l_cprof_p_11.1.046"
but the script is only parsing :
"Intel(R) Fortran Compiler"

Once this was corrected, another issue in the lines 746-748 of framework.py : I had to replace
: self.ldflags_fc += ''
: self.noopt += ' -mp'

which involve some undefined objects, with

: self.config.ldflags_fc += ''
: self.config.fc = 'ifort'
: self.config.noopt += ' -mp'

Then it worked.
Others had the same issues ?
Thanks.

Re: Compiling with mpich built on ifort

PostPosted: Thu Dec 01, 2011 10:00 pm
by admin
Thank you Guy for catching those problems.
I just made the corrections in our repository.
Julie