[mpich-discuss] mpich1.2.7p1 with Intel 11.1.046 Fortran Compiler(64 bit)
Dorian Krause
ddkrause at uni-bonn.de
Thu Sep 3 12:12:59 CDT 2009
Hi Steve,
in both config files I find the same problem:
./configure: line 4423: icc: command not found
I think you also need to source some iccvars.sh (or similar) to make icc
working ...
Additionally, I don't know the flag "--enable-F90modules", only
"--enable-f90". Don't know if this is a problem ...
Steven Berg wrote:
> I should have attached the output for config.log for MPICH2 in my last
> reply. Here it is.
>
> Steve
>
>
>
> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Dorian Krause
> Sent: Thursday, September 03, 2009 12:44 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] mpich1.2.7p1 with Intel 11.1.046 Fortran
> Compiler(64 bit)
>
> Hi Steve,
>
> just use
>
> ./configure -prefix=/home/sjberg/mpich -enable-f77 -enable-f90 (is this
> correct?)
>
> setting the CC, F77, ... variables should be sufficient for the
> configure script to pick up the correct compiler.
>
> You can use
>
> ./configure --help
>
> to get a description of the flags ...
>
>
> Steven Berg wrote:
>
>> 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/
>> <http://www.science.uwaterloo.ca/%7Esjberg/>
>>
>>
More information about the mpich-discuss
mailing list