Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

libgcc independent binary

$
0
0

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?


Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>