Re: windows ifort on cygwin
- From: Phony Account <phaccount@xxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 02:22:17 GMT
Alex Gibson wrote:
"Phony Account" <phaccount@xxxxxxxxxxxx> wrote in message news:CrG5e.148$%v6.127@xxxxxxxxxxxxxxxxxxxxxxx
Alex Gibson wrote:
"Phony Account" <phaccount@xxxxxxxxxxxx> wrote in message news:vXk5e.15781$6a5.3304@xxxxxxxxxxxxxxxxxxxxxxx
I have recently bought the intel compiler for windows. This is a single user uncounted license, meaning that I don't need a license server, nor a license file (although intel did send me one, but I was never prompted for it during the installation)
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. Even if I do provide the license that intel sent me, it is not happy. So, I guess that I (or my cygwin) is missing something, but I can't figure out what. Presumably something out of the windows environment that is not making it to the cygwin environment. However, my knowledge of windows is really not that great).
(Mind you, prior to getting the licensing error, I had to update PATH, LIB and INCLUDE variables for the compiler and microsoft visual studio settings. Otherwise, ifort was complaining about missing dll's).
Any ideas, before I go and bug the nice folks at intel tech support?
Works fine for me with cygwin( 2004-11-10) As the other poster said , you have to install the license file in the correct location.
Thanks to all the replies.
First to answer some questions:
- I am running ifort on windows XP, professional - The cygwin installation is a few weeks old - From windows, I use the "build environement for fortran IA-32 applications"
Now as to what I have done:
I have already transcribed the batch files (both intel, and microsofts visual studio ones) into bash scripts and included them in my .bash_profile. Now ifort is finding all the dll's
I have placed the intel license files in the directory where the license manager is looking for them. Could their exact name matter? (I have not changed it, and they are of the .lic type). But my ifort does not require that file, as was confirmed to me by tech support on another issue.
I did change the group ownership of the files to my own group (ls -l was showing ???????), but that did not help.
I am wondering if something is amiss with my cygwin set-up (this is definitely off-topic), namely my username and group entries in the /etc/passwd and /etc/group files. I had to do some hacking of the /etc/group file in order for the cygwin start-up to go cleanly (if you don't understand this don't ask me, because I barely understand it too).
So, based on your posts, I really should not be having problems that I am having. I'll do some more digging.
How I have mine setup is I put the cygwin bin directory in the path so I can use the bash and "unix" commands , etc with windows commandline without having to specially start cygwin.
Can cause a few problems sometimes as I have mingw(and msys) also
on the path with gfortran but done so I can use mingw and link to the microsoft libraries.
You need the intel license installed at default location to use the Intel Visual Fortran for windows compiler(eval or full version)
This is for US or international English version of windows If you have windows in C:\Windows the compiler looks in C:\Program Files\Common\Intel\Licenses for the license file
Why do you need to change the file permisions ? should be just the same as normal windows files
If you don't need the full cygwin setup you may be better off using mingw and msys www.mingw.org
MinGW: A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.
Basically Mingw links with the microsoft libraries not gcc libraries
MSYS: A Minimal SYStem to provide POSIX/Bourne configure scripts the ability to execute and create a Makefile used by make.
ps. You don't need the full vc++.net etc installs can get away with using the microsoft vc++ toolkit 2003 (commandline compiler) which is a free download from microsoft. If you need an ide can use eclipse / photon
regarding your comments:
I will try your suggestion to add /cygwin/bin to path. I don't have mingw, so no problems there.
Although I have recieved a license file from intel, I do _not_ need it to run ifort. Namely, ifort runs in the command window even without the license file in any of the standard locations! But it does not run from cygwin. I (think that I) have transcribed all the ifort and vis.studio variables into bash.
That makes me think that my file permissions or my id under cygwin is out of order. For example, some of my cron jobs fail to run again because of permission conflicts, which I have been unable to resolve.
As for the ide, I was planning to use emacs, since I am comfortable with it.
- Prev by Date: getting wrong answers
- Next by Date: Re: getting wrong answers
- Previous by thread: Re: windows ifort on cygwin
- Next by thread: Re: windows ifort on cygwin