LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-13-2011, 01:59 PM   #1
yirsuari
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
program jumps around unexpectedly


i am using intel fortran compiler and experience a weird behaviour

i have a subroutine writing data to netcdf called from the main program and causing a library error.
when debugging i saw that the program first jumps to line 411 of the source code and only then to the first executable line of the code at 96 (the source is attached).
when looking at the assembler code i see the same thing.

the netcdf error sais the unlimited dimension is defined more then once and that is waht is done in line 411
compiler flags were:
-g -C -traceback -check all -debug all -w95 -save -cpp -w90 -w95 -w -vec-report1 -r8 -i4 -heap-arrays


thanks alot to anyone who can help
what is going on?
 
Old 07-15-2011, 02:24 AM   #2
yirsuari
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Original Poster
Rep: Reputation: 0
i think i understand what happened
this subroutine is supposed to be using variables that were not used at the time of execution which caused the weird behaviour
 
  


Reply



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
Machine shutdown unexpectedly unexpectedly pinga123 Linux - Newbie 1 02-25-2011 03:48 PM
Cursor jumps all over taj Ubuntu 3 11-13-2008 01:47 PM
Cursor jumps all over taj Linux - General 3 11-13-2008 12:19 PM
Time jumps by 1 day for an hour, then jumps back on RH 9? dieyouspammer Red Hat 3 04-07-2006 12:18 PM
Logitech PS/2 Mouse Jumps in X anw Linux - Hardware 3 07-15-2004 12:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:50 PM.

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