|
[Sponsors] |
June 4, 2004, 16:38 |
very confussing probelm with fortran
|
#1 |
Guest
Posts: n/a
|
Hi Friends,
I have one programme which is in Fortran. it is for postprocessing of Jet, it is having bunch of commnon blocks(arrays) which r very huge in size. I am reading the data in to seven arrays each of its size is approximately 66*98*616 first my programme was running, second time i tryed run the same programme without changing any thing, it is giving segmentation fault and fort.30 file. i reduced the array sizes, again this programme is running. I am very confussing why it is behaving like this, first time ,why this programme was running for big size arrays, why not in second time.. please help me.. |
|
June 5, 2004, 04:09 |
Re: very confussing probelm with fortran
|
#2 |
Guest
Posts: n/a
|
Hi,
The problem is realy confusing from the first look. On the other hand, it behaves typically as any other code, which has got some variables not properly declared and inicialized. Look at the start of the source code and pray not to see a line: 'implicit *', where * is real or double precsision. If so, remove the line and declare all variables. triple check with compiler and ftkcheck tool (google it and install). try again. tell the compiler to check array boundaries, print warnings, use debugger. matej |
|
June 5, 2004, 15:45 |
Re: very confussing probelm with fortran
|
#3 |
Guest
Posts: n/a
|
Also try compiling with the 64 bit option.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Compiler-CFX12.1 | Araz | CFX | 13 | March 27, 2017 06:37 |
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 | hawk | Main CFD Forum | 1 | April 12, 2005 23:13 |
visual fortran | Monica | Main CFD Forum | 1 | August 28, 2004 21:45 |
Fortran77 or Fortran 90 | Swapnil | CFX | 2 | November 26, 2002 16:16 |
Why Favoring Fortran over C/C++? | Zi-Wei Chiou | Main CFD Forum | 35 | September 26, 2001 10:34 |