CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Tecplot (
-   -   Creating Binary file using tecio.a (

juaneco2710 June 30, 2012 23:28

Creating Binary file using tecio.a

I'm new using Linux (Ubuntu 12.04 LTS, 64-bit). I am also new at using Tecplot360. I am trying to learn how to create binary files for Tecplot by reviewing the example files. I wonder if anyone knows how to solve it.

I've been trying to compile the example file simtest.f90, using these two commands:

1. gfortran -fcray-pointer -lstdc++ simtest.f90 tecio64.a
2. gfortran -fcray-pointer simtest.f90 tecio.f90

In the first case, I get a huge list of errors like this:
./util/tecio64.a(tecxxx.o): In function `__gnu_cxx::new_allocator<long>::deallocate(long*, unsigned long)':
tecxxx.cpp:(.text._ZN9__gnu_cxx13new_allocatorIlE1 0deallocateEPlm[__gnu_cxx::new_allocator<long>::deallocate(long*, unsigned long)]+0x19): undefined reference to `operator delete(void*)'

In the second case, I get that tecio.f90 unexpectedly ended.

If anyone can help me, I would appreciate it.

DLuo July 10, 2012 17:57

What are the contents of simtest.f90?

If you have an ascii solution already in tecplot format, you can use a utility that Tec360 provides called preplot


[user@host dir]$ preplot [ascii_file.dat]
Hope that helps.

blackmask August 17, 2012 10:14

It is not a good idea to create tecplot binary files directly because of its OS-, arch-, and version- dependency. Use PLOT3D format or other tecplot-compatible formats instead.

straton July 22, 2013 14:07

compiling Fortran source code using gfortran on Linux
Hello juaneco2710, we just posted a new KB article on compiling Fortran source code using gfortran on Linux:

I hope this helps.

Straton, Tecplot technical support

All times are GMT -4. The time now is 17:24.