TECIO data translator with Intel ifort compiler on Linux

Creating Tecplot binary data files

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

tibetriver
Expert
Posts: 83
Joined: Fri Dec 22, 2006 3:45 pm
Location: Richland WA
Contact:

TECIO data translator with Intel ifort compiler on Linux

Postby tibetriver » Mon Jun 18, 2007 10:46 pm

Has anybody compiled a tecio data translator on linux 24 using the intel fortran compiler ifort. If so what were the fortran flags and external libraries?

Thanks
Mike

jim

Re: TECIO data translator with Intel ifort compiler on Linux

Postby jim » Thu Jun 21, 2007 10:52 pm

Hi Mike, no one here has done it with that particular combination of linux.24 and Intel Fortran. Was there a specific problem you were having?

tibetriver
Expert
Posts: 83
Joined: Fri Dec 22, 2006 3:45 pm
Location: Richland WA
Contact:

Re: TECIO data translator with Intel ifort compiler on Linux

Postby tibetriver » Fri Jun 22, 2007 4:46 pm

Jim

I screwed up. I was linking to the wrong intel library. The changes I made to the Make file in the tecio folder were the following

1) change FCOMPILER=f77 to FCOMPILER=ifort
2) under Case Model change the Linux model EXTRALIBS=-lstdc++;; to
EXTRALIBS="/IntelPath/lib/libcxa.a"

where IntelPath would be specific to the user's installation of Intel's fortran.

Once I did that, it compiled and ran without any problems

Mike

potiolot
Newbie
Posts: 1
Joined: Fri Jul 06, 2007 12:54 pm
Location: Paris
Contact:

Re: TECIO data translator with Intel ifort compiler on Linux

Postby potiolot » Fri Jul 06, 2007 4:11 pm

Hello,
Where is the makefile in the tecio folder? I'm using ifort too and I can't link my program with tecio.a (correctly builded with Runmake : CCOMP = g++...)
The changes have to be made in Runmake?
The error is such as : "tecxxx.o _gxx_personality..."
Thanks,

Fab.

tibetriver
Expert
Posts: 83
Joined: Fri Dec 22, 2006 3:45 pm
Location: Richland WA
Contact:

Re: TECIO data translator with Intel ifort compiler on Linux

Postby tibetriver » Sat Jul 07, 2007 9:08 am

If you don't have a make file in the tecio directory, then I would suggest you just compile it from the command line as shown below.

ifort comtest.f $TEC360HOME/lib/tecio.a -lm $INTEL_HOME/lib/libcxa.a -o comtest.x

I would compile one of the examples given in the tecio folder such as comtest.f Once you get that compiled and running, just modifiy that code for your data set.

gsim
Newbie
Posts: 1
Joined: Wed Oct 10, 2007 5:18 am
Location: uSA
Contact:

Re: TECIO data translator with Intel ifort compiler on Linux

Postby gsim » Wed Oct 10, 2007 5:25 am

Hi,

I was trying to compile a data translator with intel ifort compiler on LInux.
I tried making changes to the MAKE file (EXTRALIBS="/IntelPath/lib/libcxa.a" ) as mike had suggested. However, I am unable to find a libcxa.a file under the intel lib. Instead I can find only libcxagaurd.a. As a result I am still unable to compile the data translator. Can anybody help me out?

Thanks in advance.

Ram

tibetriver
Expert
Posts: 83
Joined: Fri Dec 22, 2006 3:45 pm
Location: Richland WA
Contact:

Re: TECIO data translator with Intel ifort compiler on Linux

Postby tibetriver » Thu Oct 11, 2007 12:57 pm

Ram

Have tried running a find file on your system to locate the directory that contains libcxa.a. I am using intel v9.0.

Mike

waleeed00
Newbie
Posts: 2
Joined: Thu Mar 17, 2016 12:28 am
Location: dghdhd

Re: TECIO data translator with Intel ifort compiler on Linux

Postby waleeed00 » Thu Mar 17, 2016 12:28 am

I am unable to find a libcxa.a file under the intel lib. Instead I can find only libcxagaurd.a. As a result I am still unable to compile the data translator. Can anybody help me out?

Thanks in advance.

Ram
waleeed


Return to “TecIO Library”

Who is online

Users browsing this forum: No registered users and 1 guest

cron