On 2007-10-26 00:00-0400 Jim Dishaw wrote:

> Actually, I did the above test with only the GNU compilers on the path.
> I removed the Intel Fortran compiler from the PATH variable.

I am not sure of the internal workings of CMake on this, but it is entirely
conceivable it is finding the Intel compiler some other way in addition to
using the PATH.  So I would not rely on setting the PATH variable to stop
the interference.  Instead, just set CC, CXX, and FC which as far as I know
should bypass all additional searching for C, C++, and Fortran compilers and
thus should (I predict) stop all interference between Intel and GNU
compilers.  This, of course, assumes you are making a build in an empty
build tree and that you have a clean source tree (one where no builds have
been done by accident before since once you do a source-tree build you
cannot do a separate build tree build without unpacking a fresh source
tarball or doing a fresh svn checkout of the source tree).

Let me know whether my CC, CXX, and FC theory is correct.  :-)

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to