|
[Sponsors] |
September 23, 2017, 10:41 |
Kiva 3v - Fortran Error
|
#1 |
New Member
Alex de Oliveira
Join Date: Aug 2017
Posts: 4
Rep Power: 9 |
Hi everyone,
I'm running some combustion cases on KIVA 3v. However, in some conditions, I get the following error as I run my code: forrtl: severe (174): SIGSEGV, segmentation fault occurred Image PC Routine Line Source kiva3v_d12_natg 00000000004FCC34 Unknown Unknown Unknown libpthread-2.23.s 00007F2D13167390 Unknown Unknown Unknown kiva3v_d12_natg 00000000004D21FA Unknown Unknown Unknown kiva3v_d12_natg 000000000043F947 Unknown Unknown Unknown kiva3v_d12_natg 00000000004032AE Unknown Unknown Unknown libc-2.23.so 00007F2D12DAC830 __libc_start_main Unknown Unknown kiva3v_d12_natg 00000000004031A9 Unknown Unknown Unknown Please, I was wondering if anyone knows what is the source of this error! Thank you! Alex |
|
September 24, 2017, 07:51 |
Error
|
#2 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11 |
What compiler are you using? In my experience the compiler can make a difference.
|
|
September 24, 2017, 07:57 |
|
#3 |
New Member
Alex de Oliveira
Join Date: Aug 2017
Posts: 4
Rep Power: 9 |
||
September 30, 2017, 02:22 |
|
#4 |
New Member
Truong Dang
Join Date: Oct 2016
Location: Vietnam
Posts: 21
Rep Power: 10 |
segmentation fault error is relevant to array bound exceeding or not associated pointers. You can use the compiler flag " -check bounds" which checks bounds of arrays for you.
|
|
October 2, 2017, 06:35 |
|
#5 | |
New Member
Alex de Oliveira
Join Date: Aug 2017
Posts: 4
Rep Power: 9 |
Quote:
Forrtl: severe (408): fort: (2): Subscript #1 of the array AAA1 has value 2 which is greater than upper bound 1 Without -check bounds the simulations run but stop at the middle. |
||
October 2, 2017, 12:06 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
|
||
October 4, 2017, 11:50 |
|
#7 |
New Member
Truong Dang
Join Date: Oct 2016
Location: Vietnam
Posts: 21
Rep Power: 10 |
I usually use gfortran but the message error implies that the array AAA1 is not allocated. You can debug your program by adding the following line before the error line:
if (.not. allocated(aaa1)) print*,'aa1 is not allocated' and tell me what you get. |
|
Tags |
combustion, fortran, kiva-3v, kiva3v, severe (174) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |