[Pw_forum] Problem in compilation

Lorenzo Paulatto paulatto at sissa.it
Thu Jun 25 11:17:58 CEST 2009


In data 25 giugno 2009 alle ore 11:10:33, Paolo Giannozzi  
<giannozz at democritos.it> ha scritto:
> "./configure F90=gfortran", or, better, install
> a mpif90 compiler that uses ifort

When you compile openmpi it will use gfortran and gcc as default, even if  
it finds other compilers. In order to have it use the intel compiler you  
have to specify it explicitly:

./configure CC=icc CXX=icpc F77=ifort FC=ifort ...

cheers


-- 
Lorenzo Paulatto
SISSA  &  DEMOCRITOS (Trieste)
phone: +39 040 3787 511
skype: paulatz
www:   http://people.sissa.it/~paulatto/

     *** save italian brains ***
  http://saveitalianbrains.wordpress.com/



More information about the users mailing list