- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I try to compile a fortran 90 source file with >2G memory:
ifort -i -dynamic -mcmodel=large test1.f90 -o test1
The following error occured:
/opt/intel/fce/9.0/lib/libifcore.a(for_open_proc.o)(.text+0xc0b): In function `for__compute_filename':
: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/intel/fce/9.0/lib/libifcore.a(for_open_proc.o)(.text+0xd3c): In function `for__compute_filename':
: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ld: cannot find -lgcc_s
: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/intel/fce/9.0/lib/libifcore.a(for_open_proc.o)(.text+0xd3c): In function `for__compute_filename':
: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ld: cannot find -lgcc_s
Could you tell me why? Thanks in advance.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you really put a space in after -i? -i-dynamic is one switch not two.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see what you mean by ">2G memory." Do you mean you are using ALLOCATABLE? It's not clear that would have any relevance to the warning message. That message occurs frequently with static links, and may indicate that a static option has been picked up for part of your link. It's only a warning, not usually indicating any disabling fault in the build.

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