[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

[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

[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

[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