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

issues with ifort

Garel__Thibault
Beginner
1,078 Views

Hi,

I am trying to use ifort on LINUX machine where it had been previously installed (not by me). I checked the paths and typed :

source /stdhav/intel/bin/compilervars.sh intel64

PATH=/stdhav/intel/bin:$PATH; export PATH

The ifort command is correctly found but it misses some libraries apparently:

$ ifort -v
ifort: error while loading shared libraries: libintelremotemon.so: cannot open shared object file: No such file or directory

Does anyone know what I'm doing wrong?

I thought that it could be due to the LD_LIBRARY_PATH variable, however I don't know to which directory it should point to?

Any help would be much appreciated !

Thanks.

 

 

 

 

0 Kudos
6 Replies
Juergen_R_R
Valued Contributor I
1,078 Views

Can you to an ldd on the binary for your intel compiler? To see which libraries it thinks it needs? Maybe this is an incomplete installation, or the binary you try to execute does not fit to the LD_LIBRARY_PATH that go exported.

0 Kudos
Garel__Thibault
Beginner
1,078 Views

Thanks Juergen,

 

Here is the command you suggested:

 

$ ldd ifort
    linux-vdso.so.1 (0x00007ffc91ad7000)
    libintelremotemon.so => not found
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f50b3301000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f50b30e4000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f50b2d62000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f50b2a5e000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f50b2847000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f50b24a8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f50b3505000)

Does that tell you something ?

 

 

0 Kudos
Juergen_R_R
Valued Contributor I
1,078 Views

Hi Thibault,

for me this looks like this:

$ ldd /opt/intel/2018/compilers_and_libraries_2018.5.274/linux/bin/intel64/ifort
    linux-vdso.so.1 =>  (0x00007ffc6fb98000)
    libintelremotemon.so => /opt/intel/2018/compilers_and_libraries_2018.5.274/linux/bin/intel64/libintelremotemon.so (0x00007f378bb87000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f378b983000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f378b766000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f378b3e4000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f378b0db000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f378aec4000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f378aafa000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f378bf5b000)

 

So the library is basically there where the binary sits, just in the lib, not the bin directory. Did you export the corresponding LD_LIBRARY_PATH?

0 Kudos
Garel__Thibault
Beginner
1,078 Views

Hi,

libintelremotemon.so is not located in the same directory as ifort apparently.

I found it in /stdhav/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/ so I have set :

LD_LIBRARY_PATH= /stdhav/intel/compilers_and_libraries_2017.0.098/linux/bin/intel64/

export LD_LIBRARY_PATH

It now gives me another error, related to licenses apparently which cannot be found...:

$ ifort -v

Error: A license for (Comp-FL) could not be found.
License file(s) used were (in this order):
    1.  Trusted Storage
**  2.  /stdhav/intel/bin/../../Licenses
**  3.  /home/garel/Licenses/
**  4.  /opt/intel/licenses
**  5.  /Users/Shared/Library/Application Support/Intel/Licenses
**  6.  /stdhav/intel/bin/*.lic

Please refer https://software.intel.com/en-us/faq/licensing#invalid-license-error for more information..

ifort: error #10052: could not checkout FLEXlm license

 

 

Any idea?

Thanks again for your help!

 

 

 

 

0 Kudos
Juergen_R_R
Valued Contributor I
1,078 Views

Hi,

the message is quite clear. It either does not find a license, or it does not find a valid license for the compiler you are using. Intel people are saying that bought licenses do not expire for purchased versions, so this should be still valid. You should first contact your system administrator and ask what is going on. If the license problem persists you should contact the Intel support.

Cheers,

    Juergen

0 Kudos
Garel__Thibault
Beginner
1,078 Views

OK, thanks, I will get in touch with them and see what they say. Cheers

0 Kudos
Reply