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.
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
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.
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 04:19.|