- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I want to generate binaries that are independent of libgcc. This can be done by the following compiling options,
ifort -O0 -fp-model source -ip -inline-factor=100 -unroll-aggressive x.f90 -static-libgcc
and the generated binary is indeed independent of libgcc, as checked by ldd.
HOWEVER, when I use the following compiling options to generate an MPI binary,
mpif90 -O0 -fp-model source -ip -inline-factor=100 -unroll-aggressive -openmp -openmp-link static x.f90 -static-intel -static-libgcc
The binary is dependent on libgcc, as checked by ldd.
Can anyone help, please?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please, I wish one of the specialized forum responds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could it be that the MPI library you're linking to is dependent on the shared libraries? You might want to ask this in the Intel Clusters and HPC Technology forum. You've already determined that your Fortran code and OpenMP don't force a dependency on the shared libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Thank you very much for the suggestion. I have now raised the issue in the Cluster and HPC Technology forum. Hopefully somebody there could help me out.
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page