[FLASH-USERS] [EXT] Re: Segmentation fault after file modification
Hansen, Eddie
ehansen at pas.rochester.edu
Tue Oct 31 10:32:56 EDT 2023
The line calculating ‘radius’ needs to go inside the I,j,k do loops. Also, keep in mind that his is radius^2 (maybe that’s what you want for your modifications).
--
Eddie Hansen
Applications Group Leader
Flash Center for Computational Science
From: Peter Manzella <peter.manzella at maine.edu>
Date: Tuesday, October 31, 2023 at 10:16 AM
To: Hansen, Eddie <ehansen at pas.rochester.edu>
Cc: flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
Subject: [EXT] Re: [FLASH-USERS] Segmentation fault after file modification
I can share that, and the debug message I get after I have added the "-debug" flag as well. Here is the debug message,
At line 119 of file IO_writeIntegralQuantities.F90
Fortran runtime error: Index '1997467855' of dimension 1 of array 'xcenter' above upper bound of 24
Error termination. Backtrace:
At line 119 of file IO_writeIntegralQuantities.F90
Fortran runtime error: Index '0' of dimension 1 of array 'xcenter' below lower bound of 1
Error termination. Backtrace:
Fortran runtime error: Index '0' of dimension 1 of array 'xcenter' below lower bound of 1
Error termination. Backtrace:
At line 119 of file IO_writeIntegralQuantities.F90
Fortran runtime error: Index '50696040' of dimension 1 of array 'xcenter' above upper bound of 24
And attached is the modified file.
On Tue, Oct 31, 2023 at 10:05 AM Hansen, Eddie <ehansen at pas.rochester.edu<mailto:ehansen at pas.rochester.edu>> wrote:
Hello,
It depends on how you modified it. If you share your modified routine, someone might be able to find the bug.
--
Eddie Hansen
Applications Group Leader
Flash Center for Computational Science
From: flash-users <flash-users-bounces at flash.rochester.edu<mailto:flash-users-bounces at flash.rochester.edu>> on behalf of Peter Manzella <peter.manzella at maine.edu<mailto:peter.manzella at maine.edu>>
Date: Monday, October 30, 2023 at 3:01 PM
To: flash-users at flash.rochester.edu<mailto:flash-users at flash.rochester.edu> <flash-users at flash.rochester.edu<mailto:flash-users at flash.rochester.edu>>
Subject: [FLASH-USERS] Segmentation fault after file modification
Hello,
I recently modified IO_writeIntegralQuantities.F90, and in doing so, I've gotten a segmentation fault issue. I am trying to track it down, but am having some trouble, are there some ways I can go about doing this? Any suggestions? Help is appreciated!
--
Peter Manzella
PhD Candidate, Department of Physics and Astronomy
309 Bennett Hall
University of Maine
peter.manzella at maine.edu<mailto:peter.manzella at maine.edu>
“If you run out of ideas follow the road; you'll get there.” – Edgar Allan Poe
--
Peter Manzella
PhD Candidate, Department of Physics and Astronomy
309 Bennett Hall
University of Maine
peter.manzella at maine.edu<mailto:peter.manzella at maine.edu>
“If you run out of ideas follow the road; you'll get there.” – Edgar Allan Poe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231031/066e3b0c/attachment-0001.htm>
More information about the flash-users
mailing list