|
[Sponsors] |
Using the T array in posdat.f, sigsegv, debugger |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 21, 2008, 12:11 |
Using the T array in posdat.f, sigsegv, debugger
|
#1 |
Guest
Posts: n/a
|
I have a transient model which uses several scalars (7 active, 15 passive). The active scalars use sorsca.f to change the concentrations, one of the passive scalars uses scalfn.f, but the rest require reading and changing the values at the end of the time step. To accomplish this, I have been using the T array in posdat.f. However, after a certain number of time steps (depending on the size of the time step and whether it is single or double precision, but around 30 steps), the solution fails with a segmentation fault ("Received signal sigsegv - exiting"). However, when I use the "-g -devtool='gdb'" options to debug, the segmentation fault disappears and the solution runs!? Does anyone have an idea why this might be, or what to change so that it will run without the debugger? I am at a loss for ideas, so anything would be helpful. Thanks so much!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam 13 How can one run solver in debugger | atzaru | OpenFOAM | 7 | July 6, 2009 11:45 |
debugger with STAR CD V4 | Jaishree | Siemens | 1 | December 2, 2007 14:40 |
fortran debugger | John Deas | Main CFD Forum | 10 | April 4, 2007 03:30 |
Intel Fortran debugger with mpirun | agg | Main CFD Forum | 2 | March 21, 2007 17:43 |
Visual Fortran compiler and debugger on linux | CFD Student | Main CFD Forum | 3 | February 26, 2007 06:26 |