-   Programming (
-   -   Problem compiling binary file for Tecplot (

juaneco2710 07-02-2012 01:44 AM

Problem compiling binary file for Tecplot

I'm a new user of Linux (64 bit Ubuntu 12-04 LTS) I am trying to create a binary file for a program called Tecplot360 (.plt extension), which is used to plot results from CFD calculations. I am using the library and the functions provided by the company.

It seems I have an error when trying to compile my program (written in fortran 2003). I don't know if any of you know what this might mean:


Err: (TECEND112) Wrong number of data values in file 1:
    1200 data values for Zone 1 were processed,
    1083 data values were expected.
File 1 closed.
      1 Errors occurred on this file
*** glibc detected *** ./a.out: double free or corruption (out): 0x0000000000e6f370 ***
======= Backtrace: =========

If you need me to publish the code or more lines from the terminal, let me know. It's a very simple code for fluid dynamics in a square pipe.

juaneco2710 07-04-2012 11:22 PM

I followed what was said in the next link:

I was not stablishing the boundaries of my data correctly because I didn't assign correctly a null pointer (newbie mistake). Now everything is ok.

All times are GMT -5. The time now is 04:37 AM.