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

tmglib Library

deveshkumar
Beginner
1,954 Views

Hi

I have a code (not written by me) with me which uses tmglib library along with lapack and blas. FOr some reason, the compiler which I am using is not able to detect the old libraries which were there in the code. So I tried to install these libraries again. I was able to download and install blas and lapack libraries easily on my FEDORA system (64 bit) but I am not able to find anything for tmglib.
 

0 Kudos
1 Reply
Ron_Green
Moderator
1,954 Views
I'm not entirely clear on what is happening, but I have a few suggestions:

Library files on linux can be 32 or 64 bit libraries. You cannot mix the 2. So if the old tmglib is 32bit, you'll need to use the 32bit compiler, create 32bit objects, and link the 32bit version of tmglib.

You didn't say what version of the compiler you are using, but for the recent 11.1 compilers:

source /opt/intel/Compiler/11.1/084/bin/ifortvars.sh ia32

to select the 32bit compiler.

You can use the 'file' command to find out more info on tmglib:

file tmglib.a

for example.

I suspect you are using an old 32bit version of tmglib but the compiler is our 64bit compiler. This would explain why tmglib was not found ( a 64bit link will look for a 64bit version of tmglib ).

ron
0 Kudos
Reply