Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Thu May 24, 2018 12:39 am




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
PostPosted: Sat Dec 09, 2017 7:27 pm 
Offline

Joined: Tue Apr 07, 2015 5:24 pm
Posts: 6
Location: KMSU
Dear all,
appreciating your soon reply, please kindly advise me about the problem which has happened while I wanted to run Model by the following commands and error responses.
Please advise me what problem and defective processing I had, and how can I solve it.
With Regard to this quote please take as bellow:
=======================================================================================================================
[roms@localhost hormuz]$ ./oceanG < ocean_upwelling.in

Model Input Parameters: ROMS/TOMS version 3.7
Saturday - December 9, 2017 - 2:07:43 PM
-----------------------------------------------------------------------------
Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /usr/bin/gfortran
Compiler flags : -frepack-arrays -g -fbounds-check -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none

SVN Root URL :
SVN Revision :

Local Root :
Header Dir :
Header file :
Analytical Dir:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7F6384E4A467
#1 0x7F6384E4AAAE
#2 0x7F638435166F
#3 0x40CA61 in inp_par_ at inp_par.f90:73 (discriminator 3)
#4 0x40386F in __ocean_control_mod_MOD_roms_initialize at ocean_control.f90:71
#5 0x402C80 in ocean at master.f90:73
Segmentation fault (core dumped)
[roms@localhost hormuz]$


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 10, 2017 5:33 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3398
Location: IMS/UAF, USA
Code:
in inp_par_ at inp_par.f90:73 (discriminator 3)
What is on line 73 of your inp_par.f90? It's in the $SCRATCH_DIR location.

What code is this exactly?


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 01, 2018 8:09 am 
Offline

Joined: Tue Apr 07, 2015 5:24 pm
Posts: 6
Location: KMSU
kate wrote:
Code:
in inp_par_ at inp_par.f90:73 (discriminator 3)
What is on line 73 of your inp_par.f90? It's in the $SCRATCH_DIR location.

What code is this exactly?


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 01, 2018 8:59 am 
Offline

Joined: Tue Apr 07, 2015 5:24 pm
Posts: 6
Location: KMSU
Sorry, I could not find any point to solve my problem. As you said in the file "inp_par.f90" maybe there is an Error at 73 Line.
How can I solve it.
please find attached files.


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 01, 2018 4:06 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3398
Location: IMS/UAF, USA
In your build script (assuming you use a build script), there's a line setting $SCRATCH_DIR:
Code:
export       SCRATCH_DIR=${MY_PROJECT_DIR}/Build
Go to that Build directory and look at the inp_par.f90 there. For me, line 73 is in the middle of a comment. Your file will be different - that's why you have to look at your file.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group