[mpich-discuss] mpich1.2.7p1 with Intel 11.1.046 Fortran Compiler(64 bit)

Steven Berg sjberg at uwaterloo.ca
Thu Sep 3 11:40:09 CDT 2009


Hi Rajeev,

 

When I try MPICH2-1.1.1p1 I can a configure error

 

Configure: error: unrecognized option: -f90=ifort

 

How do I specify the intel fortran compiler for MPICH2? Here are the
commands I entered.

 

 

#source /opt/intel/Compiler/11.1/046/bin/ifortvars.sh intel64

#export CC=icc

#export CXX=icpc

#export F77=ifort

#export FC=ifort

#export F90=ifort

#export RSHCOMMAND=ssh

 

#./configure -prefix=/home/sjberg/mpich -enable-f77 -enable-F90modules
-f90=ifort -cc=icc =c++=icpc -fc=ifort

 

 

Steve

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Rajeev Thakur
Sent: Thursday, September 03, 2009 12:19 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] mpich1.2.7p1 with Intel 11.1.046 Fortran
Compiler(64 bit)

 

Can you try the latest version of MPICH2 instead? MPICH-1 is too old.

 

Rajeev

 

  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Steven Berg
Sent: Thursday, September 03, 2009 9:32 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] mpich1.2.7p1 with Intel 11.1.046 Fortran
Compiler(64 bit)

Hi All, 

 

I am currently trying to upgrade form 32-bit to 64-bit using Rocks Clusters
5.2. I previously had the 32-bit version installed on 64-bit machines and
was able to get mpich1.2.7p1 to build (specifically mpif90). I was using the
Intel Fortran Compiler 9.1.052 and the following commands

 

#source /opt/intel/fc/9.1.052/bin/ifortvars.sh

#export CC=icc

#export CXX=icpc

#export F77=ifort

#export FC=ifort

#export F90=ifort

#export RSHCOMMAND=ssh

 

#./configure -prefix=/home/sjberg/mpich -enable-f77 -enable-F90modules
-f90=ifort -cc=icc =c++=icpc -fc=ifort

#make

#make install

 

Using these commands I was able successfully build mpif90 and subsequently
compile my code.

 

Since upgrading to the 64-bit version of Rocks Clusters 5.2 and Intel
Fortran Compiler 11.1.046 (64-bit install only) I am unable to get mpif90 to
build using the following 

 

#source /opt/intel/Compiler/11.1/046/bin/ifortvars.sh intel64

#export CC=icc

#export CXX=icpc

#export F77=ifort

#export FC=ifort

#export F90=ifort

#export RSHCOMMAND=ssh

 

#./configure -prefix=/home/sjberg/mpich -enable-f77 -enable-F90modules
-f90=ifort -cc=icc =c++=icpc -fc=ifort

#make

#make install

 

I know I should be using Mpich2, but I was told I need to compile this code
with mpich1.2.7p1. I am also fairly new to mpich and clustering, any advice
or suggestions are greatly appreciated. I assume the problem has to do with
the switch in intel compilers?

 

Thanks in advance.

 

Steve

 

Steven J. Berg

------------------------

Ph.D. Student

 

Physics 220C

Department of Earth and Environmental Sciences

University of Waterloo

200 University Ave. 

Waterloo, Ontario

N2L 3G1

 

519 - 888 - 4567  x32738

http://www.science.uwaterloo.ca/~sjberg/

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090903/c27db66e/attachment.htm>


More information about the mpich-discuss mailing list