linking Intel-compiled code with tecio

Creating Tecplot binary data files

Moderators: davetaflin, salter, steve, jprenaud, straton, Chris Idso

dlr
Newbie
Posts: 2
Joined: Thu Apr 29, 2010 2:20 pm
Location: Palo Alto, CA
Contact:

linking Intel-compiled code with tecio

Postby dlr » Thu Apr 29, 2010 2:26 pm

We are also about to start distributing software that uses the tecio libraries (Cart3D from NASA Ames). But I am having a heck of a time compiling with these libraries. We are using the Intel compilers (v11.1) on a 64-bit x_86 machine running Suse linux. Do I have to recompile the tecio library with this same compiler to link to it successfully? Or can I just use the precompiled binaries, which I assume are compiled with the GNU compilers? I attempted both unsuccessfully so clearly I am doing something wrong. Before I chase down trying to recompile the tecio library with our Intel compiler, I thought I'd check to see if I should be able to just link to the precompiled libraries. Thanks for your help.
dlr

dlr
Newbie
Posts: 2
Joined: Thu Apr 29, 2010 2:20 pm
Location: Palo Alto, CA
Contact:

Re: linking Intel-compiled code with tecio

Postby dlr » Thu Apr 29, 2010 3:28 pm

Looks like I figured it out. I was linking with "ifort" since fortran source is involved. "ifort" does not use the C++ libraries by default so I had to add the "-cxxlib" linking option.

Maybe this will help someone else in the future.
dlr

jim

Re: linking Intel-compiled code with tecio

Postby jim » Fri Apr 30, 2010 8:13 am

Thanks for posting a followup. I'll make this topic "sticky" so it's easier to find. - Jim


Return to “TecIO Library”

Who is online

Users browsing this forum: No registered users and 1 guest

cron