|
[Sponsors] |
October 29, 2010, 13:07 |
Trying to use tecplot to visualize my result
|
#1 |
New Member
Lei Zhang
Join Date: Oct 2010
Posts: 1
Rep Power: 0 |
Dear all,
I want to output my calculation result to binary tecplot data using functions provided by tecio64.a on Linux platform. I included the "libraries" and "include" under tecplot directory in my makefile. But I still get error messages like "undefined reference to tecini112." It seems I still fail to use the library tecio64.a. Could anyone tell me what shall I to to use the library functions such as tecini, tecdat, etc.? Thank you very much! |
|
June 30, 2012, 19:22 |
same problem
|
#2 |
New Member
Juan Diego Colmenares
Join Date: Jun 2012
Posts: 3
Rep Power: 13 |
Hello,
I'm new using Linux (Ubuntu 12 LTS, 32-bit). I am also new at using Tecplot360. I am having the same problem. I wonder if anyone knows how to solve it. I've been trying to compile the example file simtest.f90, using this two commands: 1. f95 -fcray-pointer -lstdc++ simtest.f90 tecio.a 2. f95 -fcray-pointer simtest.f90 tecio.f90 In the first case, I get a huge list of errors such as this: ./Tecplot360/util/tecio.a(TranslatedString.o).gnu.linkonce.d._ZTIN 7tecplot7strutil16TranslatedStringE[typeinfo for tecplot::strutil::TranslatedString]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' In the second case, I get that tecio.f90 stopped unexpectedly. |
|
September 12, 2012, 10:14 |
|
#3 | |
New Member
kenan
Join Date: Sep 2012
Posts: 9
Rep Power: 13 |
Quote:
f95 -fcray-pointer simtest.f90 tecio.a -lstdc++ That is, -lstdc++ should come after tecio.a By the way, I wonder why there is such duality: is it tecini or tecini112 function?? what is the difference? I used tecini, tecend, etc (without '112'), everything worked fine. |
||
September 13, 2012, 11:06 |
|
#4 |
Senior Member
Scott Rumage
Join Date: May 2009
Location: Seattle, WA
Posts: 152
Rep Power: 16 |
The "112" refers to a version number of the Tecplot TecIO utility. If memory serves me correctly "112" was released in 2006. The TecIO commands without this number extenstion are older. Using the latest TecIO commands can be helpful as the complexity of one's grid (polyhedral, etc.) and/or data increases.
One can create a binary Tecplot file with the older version of TecIO, and it should be readable by current versions of Tecplot. For the TecIO version appropirate to your version of Tecplot go to the computer where you have Tecplot installed and look in the "doc/bin" folder. Scott |
|
September 17, 2012, 09:38 |
|
#5 |
New Member
kenan
Join Date: Sep 2012
Posts: 9
Rep Power: 13 |
i've just tried tecini112 etc. instead. it did not work, though. i use tec360 2010 64 bit version which I just downloaded tecio64.a from tecplot download page. it was said to be 2009 released 64 bit tecio library.
I presume they removed "112" from the functions in 64 bit versions. 64 bit versions should be already new after all. that is, people started to use 64bit computers after 2006. is my assumption correct?? Last edited by kcengiz; September 18, 2012 at 08:37. |
|
October 8, 2012, 04:05 |
|
#6 |
New Member
kenan
Join Date: Sep 2012
Posts: 9
Rep Power: 13 |
I think the answer is that I bind tecio from fortran. I don't need to include tecio.h nor do I need to use 112 suffix. I just utilized the library just as described in the link http://www.aem.umn.edu/~nompelis/tecio.htm
|
|
October 8, 2012, 04:08 |
|
#7 |
New Member
kenan
Join Date: Sep 2012
Posts: 9
Rep Power: 13 |
I guess the answer is that I use fortran to call the library functions. I don't need to include tecio.h nor do I need to add "112" suffix. I just utilized it as described in the link http://www.aem.umn.edu/~nompelis/tecio.htm
|
|
October 16, 2012, 17:03 |
|
#8 |
New Member
Steve Robinson
Join Date: Oct 2012
Posts: 1
Rep Power: 0 |
It looks like you probably already have a solution, but here are the steps to getting the simtest fortran script running on Ubuntu 12.04 32-bit:
Download the simtest.f90 and tecio.f90 source files from here: ftp://ftp.tecplot.com/misc/training/advanced/tecio/f/ Download the proper TecIO library. For 32-bit Linux it would be this: http://download.tecplot.com/tecio/20...nux.26/tecio.a For modern 64-bit Linux (Ubuntu 8/10/12, CentOS 5/6, Red Hat 5/6, SUSE 11/12), I recommend this: http://download.tecplot.com/tecio/20...4.26/tecio64.a Run the following command to install FORTRAN and C++ compilers: sudo apt-get install gfortran g++ Run this commend to build: gfortran -fcray-pointer simtest.f90 tecio.a -lstdc++ NOTE: The order of the -lstdc++ flag matters for gfortran in Ubuntu 12. I recall it didn't matter previously Run this command to run the program and generate the .plt file: ./a.out |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing contour maps into Tecplot | jcostex | Tecplot | 1 | May 20, 2009 12:48 |
how to export the cfx result to the tecplot | dpshaka | CFX | 0 | December 1, 2005 11:00 |
Using Tecplot for contours display | david | FLUENT | 2 | August 23, 2005 22:37 |
Tecplot can't read data file from Fluent. | stephen | FLUENT | 8 | November 21, 2001 20:27 |
how to visualize the result | luo | Phoenics | 5 | October 10, 2001 20:37 |