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:> 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?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> > 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 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
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> -----Original Message----- > From: r-devel-bounces at r-project.org > [mailto:r-devel-bounces at r-project.org] On Behalf Of Fabio > Mathias Corr?a > Sent: 07 August 2009 14:44 > To: r-devel at r-project.org > Subject: [Rd] Changing the compiler gfortran to ifort > > 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 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >********************************************************************** Please consider the environment before printing this email or its attachments. The contents of this email are for the named addressees ...{{dropped:19}}