Skip to content

Changing the compiler gfortran to ifort

3 messages · Fabio Mathias Corrêa, Duncan Murdoch, Sklyar, Oleg (London)

#
I tried the manual R Installation and Administration to change the gcc compiler to icc and ifort for gfotran. However I could not find the correct path for the R to identify the icc and ifort.
In which file I define the change of compiler?

Thanks very much!!!

       ? F?bio Mathias Corr?a
Estat?stica e Experimenta??o Agropecu?ria/UFLA
                Brazil


      ____________________________________________________________________________________
Veja quais s?o os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
#
On 8/7/2009 9:43 AM, Fabio Mathias Corr?a wrote:
That depends on the platform.  In Windows, the file to edit is 
src/gnuwin32/MkRules, where you would need to change the F77 and FLIBS 
definitions (and perhaps others).  Notice that this is not in the 
"user-customizable" section, so if you do this, you may be on your own 
to track down the problems it causes.  (Revolution Computing has changed 
compilers successfully, and they might be able to help you, or may 
already have done what you are thinking of doing.)

Other platforms use configure scripts to set all of these things; 
running ./configure --help in the home directory will tell you lots of 
options and environment variables to play with.

Duncan Murdoch
4 days later
#
on Unix alikes possibly:

env F77=/path/to/ifort ./configure --prefix=/where/to/install

Dr Oleg Sklyar
Research Technologist
AHL / Man Investments Ltd
+44 (0)20 7144 3107
osklyar at maninvestments.com
**********************************************************************
 Please consider the environment before printing this email or its attachments.
The contents of this email are for the named addressees ...{{dropped:19}}