Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

Ifort, Static

$
0
0

Hello,

 

We have faced the following issue and hope someone can help us to solve it.

 

We installed Intel compiler on our Linux server.  We used the "ifort -static-intel" to statically compile the Fortran code to generated the executable file and run the executable file on another server which is not allowed to install Intel softwares.  When we run the executable file on the server without installing the Intel softwares, it shows error:

 

error while loading shared libraries: libifport.so.5: cannot open shared object file: No such file or directory

 

Obviously, the error suggests that the above statically compilation is not successfully, i.e. when execute the executable file, it still needs the intel library which is supposed unnecessary for the statically compilation.  Can someone advice how to able to compile the Fortran with ifort to generate an executable file which is able to run on server without installation of Intel library?

 

Thanks,

Lianyuan


Viewing all articles
Browse latest Browse all 2746

Trending Articles