Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-02-2012, 01:44 AM   #1
LQ Newbie
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
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.
Old 07-04-2012, 11:22 PM   #2
LQ Newbie
Registered: Jul 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled

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.


binary, compiling, fortran

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cross Compiling in OpenWRT. Cannot Execute binary file. Ideas? aztroboy Programming 4 02-15-2011 12:36 AM
Help: Opening GenICs binary file, writing to binary file for GADGET-2 (in C) parallax147 Programming 0 10-05-2010 11:06 AM
binary file problem vrdhananjay Programming 3 02-08-2005 06:33 PM
Slight Problem with a Tecplot 10 Macro illiniguy3043 Linux - General 1 12-27-2004 07:13 AM
binary file problem lf412 Linux - General 3 02-05-2003 02:18 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration