[Ipopt] Configuring cygwin for MSVC and Intel Fortran

Stefan Vigerske stefan at math.hu-berlin.de
Wed Aug 20 06:29:55 EDT 2008


Hi,

>          I was trying to set up the enviroment variables to use the Intel and 
> Fortran compilers in the cygwin.bat. But it doesn't seem to work - the commands 
> cl or ifort cannot be found. My batch file now looks like
>  
> @echo off
> C:
> chdir C:\cygwin\bin
> bash --login -i
> call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
> call "C:\Program Files\Intel\Compiler\Fortran\10.1.021\IA32\Bin\ifortvars.bat"
>  
>         Any idea where I may be going wrong?

Move the last two call lines above the call of bash.

Stefan

-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan


More information about the Ipopt mailing list