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 <flux_ray12 at 163.com>

> 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" <amyassin29 at gmail.com> 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
 

Reply via email to