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

Ifort, Static

Zheng__Lianyuan
Beginner
244 Views

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

0 Kudos
0 Replies
Reply