[CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

Nils Gladitz nilsgladitz at gmail.com
Fri May 30 13:00:52 EDT 2014


On 30.05.2014 18:53, Michael Jackson wrote:
> Is it possible to install both a GFortran and Intel Fortran on the same machine? I have a window 7 x64 machine where I have Visual Studio 2013 Pro installed in addition to Intel Fortran (What ever the latest is) and I also downloaded GFortran (From the GCC Wiki pages). I have setup some batch files to setup the paths depending on which set of compilers that I want. I then proceeded to configure my fortran project with CMake and I get an error when trying to sanity check GFortran that says "cr is not an operable file" or something like that. I am really new to Fortran at this point and I have no idea what this "cr" program does? It does not seem to come with the GFortran installer that I pulled down.

I am not quite familiar with Fortran either but "cr" looks suspiciously 
like what you might pass to "ar" to create an archive.

Nils


More information about the CMake mailing list