CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Using the T array in posdat.f, sigsegv, debugger

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 21, 2008, 12:11
Default Using the T array in posdat.f, sigsegv, debugger
  #1
Daniel
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!
  Reply With Quote

 


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:34.