Compiling with mpich built on ifort

Post here if you have some questions about the ScaLAPACK installer

Compiling with mpich built on ifort

Postby bencteux » Thu Dec 01, 2011 12:35 pm

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.
bencteux
 
Posts: 13
Joined: Wed Apr 16, 2008 11:52 am

Re: Compiling with mpich built on ifort

Postby admin » Thu Dec 01, 2011 10:00 pm

Thank you Guy for catching those problems.
I just made the corrections in our repository.
Julie
admin
Site Admin
 
Posts: 501
Joined: Wed Dec 08, 2004 7:07 pm


Return to ScaLAPACK installer

Who is online

Users browsing this forum: No registered users and 1 guest