LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   program jumps around unexpectedly (https://www.linuxquestions.org/questions/programming-9/program-jumps-around-unexpectedly-891542/)

yirsuari 07-13-2011 02:06 PM

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?



the code can be found at:
http://dl.dropbox.com/u/2498111/netcdf_bfm.f

acid_kewpie 07-13-2011 02:06 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 07:59 AM.