[Pw_forum] mpif90 compiler that uses ifort

2011-09-29 Thread Ahmad Yassin
I found that I can use OpenMPI with Intel compilers without recompiling
it... just by setting the environmental variables OMPI_CC=icc,
OMPI_CXX=icpc, OMPI_F77=ifort, and OMPI_FC=ifort . I'd be sure when doing
the ./configure to set CC=icc, CXX=icpc, FC & F77 = ifort... Thank you all a
lot...
Ahmad Yassin

2011/9/27 GAO Zhe 

> In my case, I installed ifort 2011 at first, and then compiled OpenMPI by
> ifort with command:
> ./configure --prefix=/ FC=ifort
> After "make install" OpenMPI, the $MPIBIN=/**/OpenMPI/bin and
> $MPILIB=/***/OpenMPI/Lib have been added into .bashrc file through the
> method: $PATH=$MPIBIN:$PATH and $LD_LIBRARY_PATH=$MPILIB:$LD_LIBRARY_PATH.
> When compiling QE v4.3.2, only ./configure was needed, then ifort and
> mpif90 would be chosen automaticly (if compiled before, "make clean" first)
> Hope this method can work in your case.
>
> --
> GAO Zhe
> CMC Lab, MSE, SNU, Seoul, S.Korea
>
> At 2011-09-27 00:30:06,"Ahmad Yassin"  wrote:
>
> Hello all;
> I had a problem in installing QE 4.0.3 using Intel Compiler... the
> ./configure step runs smooth if using gcc and gfortran, but when using icc
> and ifort it gives me the following warnings:
>
> configure: WARNING: serial/parallel compiler mismatch detected
> configure: WARNING: parallel compiler mpif90 uses gfortran, but serial
> compiler is ifort
>
> looking it up, I found a previous email in the mailing list (
> http://www.democritos.it/pipermail/pw_forum/2009-June/013265.html) stating
> that
>
> you have a mismatch between parallel (mpif90) and
> serial (gfortran) compiler. This is something
> "configure" warns you about. Use
> "./configure F90=gfortran", or, better, install
> a mpif90 compiler that uses ifort
>
> I tried to reinstall OpenMPI, using icc and ifort to compile its source,
> but the conflict is still there... Is there anyway to make mpif90 use ifort
> ? or is there any other parallel compiler using ifort?
>
> Ahmad Yassin
>
>
>
>
>
>
> ___
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 
http://www.democritos.it/pipermail/pw_forum/attachments/20110929/dcc81cfd/attachment.htm
 


[Pw_forum] mpif90 compiler that uses ifort

2011-09-27 Thread GAO Zhe
In my case, I installed ifort 2011 at first, and then compiled OpenMPI by ifort 
with command:
./configure --prefix=/ FC=ifort
After "make install" OpenMPI, the $MPIBIN=/**/OpenMPI/bin and 
$MPILIB=/***/OpenMPI/Lib have been added into .bashrc file through the method: 
$PATH=$MPIBIN:$PATH and $LD_LIBRARY_PATH=$MPILIB:$LD_LIBRARY_PATH.
When compiling QE v4.3.2, only ./configure was needed, then ifort and mpif90 
would be chosen automaticly (if compiled before, "make clean" first)
Hope this method can work in your case.


--
GAO Zhe
CMC Lab, MSE, SNU, Seoul, S.Korea


At 2011-09-27 00:30:06,"Ahmad Yassin"  wrote:

Hello all;
I had a problem in installing QE 4.0.3 using Intel Compiler... the ./configure 
step runs smooth if using gcc and gfortran, but when using icc and ifort it 
gives me the following warnings:

configure: WARNING: serial/parallel compiler mismatch detected
configure: WARNING: parallel compiler mpif90 uses gfortran, but serial compiler 
is ifort

looking it up, I found a previous email in the mailing list 
(http://www.democritos.it/pipermail/pw_forum/2009-June/013265.html) stating that

you have a mismatch between parallel (mpif90) and
serial (gfortran) compiler. This is something
"configure" warns you about. Use
"./configure F90=gfortran", or, better, install
a mpif90 compiler that uses ifort
I tried to reinstall OpenMPI, using icc and ifort to compile its source, but 
the conflict is still there... Is there anyway to make mpif90 use ifort ? or is 
there any other parallel compiler using ifort?

Ahmad Yassin




-- next part --
An HTML attachment was scrubbed...
URL: 
http://www.democritos.it/pipermail/pw_forum/attachments/20110927/caefa21c/attachment-0001.htm
 


[Pw_forum] mpif90 compiler that uses ifort

2011-09-26 Thread Ahmad Yassin
Hello all;
I had a problem in installing QE 4.0.3 using Intel Compiler... the
./configure step runs smooth if using gcc and gfortran, but when using icc
and ifort it gives me the following warnings:

configure: WARNING: serial/parallel compiler mismatch detected
configure: WARNING: parallel compiler mpif90 uses gfortran, but serial
compiler is ifort

looking it up, I found a previous email in the mailing list (
http://www.democritos.it/pipermail/pw_forum/2009-June/013265.html) stating
that

you have a mismatch between parallel (mpif90) and
serial (gfortran) compiler. This is something
"configure" warns you about. Use
"./configure F90=gfortran", or, better, install
a mpif90 compiler that uses ifort

I tried to reinstall OpenMPI, using icc and ifort to compile its source, but
the conflict is still there... Is there anyway to make mpif90 use ifort ? or
is there any other parallel compiler using ifort?

Ahmad Yassin
-- next part --
An HTML attachment was scrubbed...
URL: 
http://www.democritos.it/pipermail/pw_forum/attachments/20110926/d3f16bf1/attachment.htm
 


[Pw_forum] mpif90 compiler that uses ifort

2011-09-26 Thread Jeff Mullen
Hello Ahmad

I recently compiled QE with ifort and had the same issue. I resolved by
first setting the OMPI_MPF90 environment
variable to be ifort. For example, in the bash shell

   export OMPI_MPIF90=ifort

then compiling, I explicitly set all the F##=ifort  and MPIF90=mpif90

   ./configure MPIF90=mpif90 F90=ifort F77=ifort

This eliminated the constant references to gfortran. You can find more about
OPENMPI settings for compiling
applications at

http://www.open-mpi.org/faq/?category=mpi-apps

Good Luck
Jeff Mullen
Physics
North Carolina State University

On Mon, Sep 26, 2011 at 12:30 PM, Ahmad Yassin  wrote:

> Hello all;
> I had a problem in installing QE 4.0.3 using Intel Compiler... the
> ./configure step runs smooth if using gcc and gfortran, but when using icc
> and ifort it gives me the following warnings:
>
> configure: WARNING: serial/parallel compiler mismatch detected
> configure: WARNING: parallel compiler mpif90 uses gfortran, but serial
> compiler is ifort
>
> looking it up, I found a previous email in the mailing list (
> http://www.democritos.it/pipermail/pw_forum/2009-June/013265.html) stating
> that
>
> you have a mismatch between parallel (mpif90) and
> serial (gfortran) compiler. This is something
> "configure" warns you about. Use
> "./configure F90=gfortran", or, better, install
> a mpif90 compiler that uses ifort
>
> I tried to reinstall OpenMPI, using icc and ifort to compile its source,
> but the conflict is still there... Is there anyway to make mpif90 use ifort
> ? or is there any other parallel compiler using ifort?
>
> Ahmad Yassin
>
>
>
>
> ___
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 
http://www.democritos.it/pipermail/pw_forum/attachments/20110926/23848923/attachment.htm