Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

about >2G memory

omega701
Beginner
550 Views
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
Could you tell me why? Thanks in advance.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
550 Views
Did you really put a space in after -i? -i-dynamic is one switch not two.
0 Kudos
TimP
Honored Contributor III
550 Views
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.
0 Kudos
Reply