- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have the new Intel compiler (11.0) installed at our Linux machines at University. The previous version we were using was 9.1.043. In order to compile something i was running the following commands (using libraries as well)
ifort -c *.f
ifort **.o **.o -L. -l** -o **
./**
With the new one, when i run the first command, I get
**.f(103): (col. 7) remark: BLOCK WAS VECTORIZED.
**.f(147): (col. 7) remark: LOOP WAS VECTORIZED, and another 100 of these.
Then i move one to the second line and i get this
ld: skipping incompatible ./lib**.a when searching for -l**
ld: cannot find -l**
However lib**.a exists in the folder and everything was working before.
What do I have to with the new compiler to make it to work again?
Any help would be appreciated.
Thanks
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - angiekia
ld: skipping incompatible ./lib**.a when searching for -l**
ld: cannot find -l**
However lib**.a exists in the folder and everything was working before.
Supposing that 'file *.a' indicates these are 64-bit objects, you must use the 64-bit compiler, such as you would get on PATH by
'source /opt/intel/Compiler/11.0/081/ifortvars.
You could check which compiler you have active by 'ifort -V'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
This generally indicates you attempted a mixture of 32- and 64-bit objects. While the x86_64 linux has support for both 32- and 64-bit execution, it doesn't support linking them together.
Supposing that 'file *.a' indicates these are 64-bit objects, you must use the 64-bit compiler, such as you would get on PATH by
'source /opt/intel/Compiler/11.0/081/ifortvars.sh intel64'
You could check which compiler you have active by 'ifort -V'
Supposing that 'file *.a' indicates these are 64-bit objects, you must use the 64-bit compiler, such as you would get on PATH by
'source /opt/intel/Compiler/11.0/081/ifortvars.
You could check which compiler you have active by 'ifort -V'
I was using the intel 64 and changing to 32 bit solved the problem. Thanks!
As to the * (col. 13) remark: LOOP WAS VECTORIZED. can i somehow turn this off- so as not to see them on the screen? I have a lot of fortran codes that are compiled every time - and it justs clutters my screen.
Thanks again!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - angiekia
I was using the intel 64 and changing to 32 bit solved the problem. Thanks!
As to the * (col. 13) remark: LOOP WAS VECTORIZED. can i somehow turn this off- so as not to see them on the screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
-vec-report0 turns off vectorization messages. Apparently, it's the default for the next release.
Thanks so much for your help! Everything is running smoothly now...

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