- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm experiencing problems using -fast zith ifort. the Output is as folows
michael@blackbox /pic/matlab $ ifort -o fast-read -fast read.f90 ../pic_0.5/libmatFile.a IPO: performing single-file optimizations IPO: generating object file /tmp/ipo_ifortstOLwH.o /opt/intel/fortran90/lib/libifcore.a(for_open_proc.o): In function `for__compute_filename.': ./src/libfor/for_open_proc.c:(.text+0xc14): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ./src/libfor/for_open_proc.c:(.text+0xd05): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
it'a very simple program actually and libmatFile.a is a standard C library. when I remove -fast and anything related to IPO, the program compiles normally ( but i don't get the optimization) Michael Robin
michael@blackbox /pic/matlab $ ifort -o fast-read -fast read.f90 ../pic_0.5/libmatFile.a IPO: performing single-file optimizations IPO: generating object file /tmp/ipo_ifortstOLwH.o /opt/intel/fortran90/lib/libifcore.a(for_open_proc.o): In function `for__compute_filename.': ./src/libfor/for_open_proc.c:(.text+0xc14): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ./src/libfor/for_open_proc.c:(.text+0xd05): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
it'a very simple program actually and libmatFile.a is a standard C library. when I remove -fast and anything related to IPO, the program compiles normally ( but i don't get the optimization) Michael Robin
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may have a conflict when attempting to include a static library in a -fast build. If you think -fast is applicable for your task, does it work when you replace your .a library with objects built with icc -fast ? When you have only a single Fortran source file, and do not allow IPO to apply to the remaining files, ifort -O3 -xP should accomplish all available optimizations in the group included in -fast.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the library was built using gcc, maybe using icc might solve the problem, thanx

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