- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have come back to run ifort after 8 months away, and find I can not get the compiler to link.
Unfortunately, I do not have exclusive control of my PC and some of the environment variables were missing (lib, include and the path to ...\\bin\\intel64) while other paths were still defined (...\\lib\\Intel64)
Both our IT department and Microsoft have a way of changing things with their automatic updates !!
I found the batch file ifortvars_intel64.bat and updated the variables listed and was able to compile with the command "ifort /c /source:test.f95 /free" producing test.obj
I then tried to link with "ifort test.obj /exe:test.exe"
This produced the error message :
ifort: error #10037: could not find 'link'
Is this information sufficient to identify where I should look for a fix?
I am runing Version 11.1 using a valid network license, although other users in our company have recently upgraded to Version 12, which has not been installed on my PC.
I assume the network license is valid as the compile step worked.
It's frustrating when I come back to a project and it won't restart. Probably I did not document this well enough the first time.
I'm hoping someone may see my error.
John
Unfortunately, I do not have exclusive control of my PC and some of the environment variables were missing (lib, include and the path to ...\\bin\\intel64) while other paths were still defined (...\\lib\\Intel64)
Both our IT department and Microsoft have a way of changing things with their automatic updates !!
I found the batch file ifortvars_intel64.bat and updated the variables listed and was able to compile with the command "ifort /c /source:test.f95 /free" producing test.obj
I then tried to link with "ifort test.obj /exe:test.exe"
This produced the error message :
ifort: error #10037: could not find 'link'
Is this information sufficient to identify where I should look for a fix?
I am runing Version 11.1 using a valid network license, although other users in our company have recently upgraded to Version 12, which has not been installed on my PC.
I assume the network license is valid as the compile step worked.
It's frustrating when I come back to a project and it won't restart. Probably I did not document this well enough the first time.
I'm hoping someone may see my error.
John
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to use the Command Prompt in the Intel Visual Fortran entry in Start Programs. This has all of the paths set correctly.
David
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fixed !!
I located a version of link.exe in visual studio 9.0\VC\bin\x86_amd64. Needed to add this to the path list, although I thought I did not use Visual Studio 9.0.
I note I do not have ifortvars_intel64.bat in my initial path list so I am not sure what my initial path and startup command should have been.
I hope that is all I needed.
John
I located a version of link.exe in visual studio 9.0\VC\bin\x86_amd64. Needed to add this to the path list, although I thought I did not use Visual Studio 9.0.
I note I do not have ifortvars_intel64.bat in my initial path list so I am not sure what my initial path and startup command should have been.
I hope that is all I needed.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
David,
Thanks for the advice. I had forgotten that first step.
I'll place a reminder on my workstation.
There goes another day.
John
Thanks for the advice. I had forgotten that first step.
I'll place a reminder on my workstation.
There goes another day.
John
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page