Re: windows ifort on cygwin



Phony Account <phaccount@xxxxxxxxxxxx> wrote:

> I have recently bought the intel compiler for windows. [ ... ]
>
> I would like to use it under cygwin because of the unix like shell
> environment (make, sed, awk, and other nice utilities).
>
> However, when I invoke it under cygwin, I get a licensing error: FlexLM
> is looking for a license file in a few directories and not finding it.

How do you invoke it from Windows ? If there is a licence file to
install it will fail under Windows too and you'll need to fix that
first.

Second, how do you invoke it from the Windows *command prompt* ?
On my computer I have to do "Start / Programs / Compaq Visual
Fortran 6 / Fortran Command Prompt" in order to get a command prompt
with the right environment. (Still using CVF, haven't upgraded to
Intel yet.)

If you right-click on the "Fortran Command Prompt" menu entry and
choose "Properties", you'll see that it is a shortcut to some
Windows .BAT file. Copy the file to your Cygwin home and translate
it to bash syntax, taking care to translate Windows paths to Cygwin
paths. Exercise :-) . Put the translated bash script into your
Cygwin $HOME/bin directory. You can then 'source' it from any
Cygwin bash prompt. If you did it right, you'll have access to
the compiler and to nmake (but you'll probably install gnu make ?).

--
pa at panix dot com
.



Relevant Pages