- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got the following error message: Help please, thanks.
zlu@ubuntu:~$ source /opt/intel/Compiler/11.1/069/bin/ifortvars.sh ia32
zlu@ubuntu:~$ ifort hello.f90
ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../..//libm.so when searching for -lm
ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../..//libm.a when searching for -lm
ld: skipping incompatible /usr/lib//libm.so when searching for -lm
ld: skipping incompatible /usr/lib//libm.a when searching for -lm
ld: skipping incompatible /usr/lib/libm.so when searching for -lm
ld: skipping incompatible /usr/lib/libm.a when searching for -lm
ld: cannot find -lm
zlu@ubuntu:~$
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
zlu@ubuntu:~$ source /opt/intel/Compiler/11.1/069/bin/ifortvars.sh ia32
zlu@ubuntu:~$ ifort hello.f90
ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../..//libm.so when searching for -lm
ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../..//libm.a when searching for -lm
ld: skipping incompatible /usr/lib//libm.so when searching for -lm
ld: skipping incompatible /usr/lib//libm.a when searching for -lm
ld: skipping incompatible /usr/lib/libm.so when searching for -lm
ld: skipping incompatible /usr/lib/libm.a when searching for -lm
ld: cannot find -lm
zlu@ubuntu:~$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have 32-bit g++ active? From what little information you give, it seems you may be trying to run 32-bit ifort against 64-bit libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure you get all the 32bit tools and libraries mentioned here: http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
ron
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
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