Page 1 of 1

TECIO data translator with Intel ifort compiler on Linux

Posted: Mon Jun 18, 2007 10:46 pm
by tibetriver
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

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Thu Jun 21, 2007 10:52 pm
by jim
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?

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Fri Jun 22, 2007 4:46 pm
by tibetriver
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

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Fri Jul 06, 2007 4:11 pm
by potiolot
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.

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Sat Jul 07, 2007 9:08 am
by tibetriver
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.

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Wed Oct 10, 2007 5:25 am
by gsim
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

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Thu Oct 11, 2007 12:57 pm
by tibetriver
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

Re: TECIO data translator with Intel ifort compiler on Linux

Posted: Thu Mar 17, 2016 12:28 am
by waleeed00
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