CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Kiva 3v - Fortran Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2017, 10:41
Question Kiva 3v - Fortran Error
  #1
New Member
 
Alex de Oliveira
Join Date: Aug 2017
Posts: 4
Rep Power: 9
alexoem is on a distinguished road
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
alexoem is offline   Reply With Quote

Old   September 24, 2017, 07:51
Default Error
  #2
Senior Member
 
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 11
selig5576 is on a distinguished road
What compiler are you using? In my experience the compiler can make a difference.
selig5576 is offline   Reply With Quote

Old   September 24, 2017, 07:57
Default
  #3
New Member
 
Alex de Oliveira
Join Date: Aug 2017
Posts: 4
Rep Power: 9
alexoem is on a distinguished road
Quote:
Originally Posted by selig5576 View Post
What compiler are you using? In my experience the compiler can make a difference.
Selig, thank you for your reply.
I'm using the Intel® Fortran Compiler 17.0 for Linux.
alexoem is offline   Reply With Quote

Old   September 30, 2017, 02:22
Default
  #4
New Member
 
Truong Dang
Join Date: Oct 2016
Location: Vietnam
Posts: 21
Rep Power: 10
ssh123 is on a distinguished road
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.
ssh123 is offline   Reply With Quote

Old   October 2, 2017, 06:35
Question
  #5
New Member
 
Alex de Oliveira
Join Date: Aug 2017
Posts: 4
Rep Power: 9
alexoem is on a distinguished road
Quote:
Originally Posted by ssh123 View Post
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.
Thank you for your reply. Using -check bounds I get the following error message immediately:

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.
alexoem is offline   Reply With Quote

Old   October 2, 2017, 12:06
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by alexoem View Post
Thank you for your reply. Using -check bounds I get the following error message immediately:

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.
You got the error line. Check the index value 2 in the array AAA1 which is instead defined up to the 1 component
FMDenaro is offline   Reply With Quote

Old   October 4, 2017, 11:50
Default
  #7
New Member
 
Truong Dang
Join Date: Oct 2016
Location: Vietnam
Posts: 21
Rep Power: 10
ssh123 is on a distinguished road
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.
ssh123 is offline   Reply With Quote

Reply

Tags
combustion, fortran, kiva-3v, kiva3v, severe (174)


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
[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


All times are GMT -4. The time now is 19:43.