Advise please how could remove Runing problem!

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
majidfiruzimehr

Advise please how could remove Runing problem!

#1 Post by majidfiruzimehr » Sat Dec 09, 2017 7:27 pm

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]$

User avatar
kate
Posts: 3678
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: Advise please how could remove Runing problem!

#2 Post by kate » Sun Dec 10, 2017 5:33 pm

Code: Select all

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?

majidfiruzimehr

Re: Advise please how could remove Runing problem!

#3 Post by majidfiruzimehr » Thu Mar 01, 2018 8:09 am

kate wrote:

Code: Select all

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?

majidfiruzimehr

Re: Advise please how could remove Runing problem!

#4 Post by majidfiruzimehr » Thu Mar 01, 2018 8:59 am

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.

User avatar
kate
Posts: 3678
Joined: Wed Jul 02, 2003 5:29 pm
Location: IMS/UAF, USA

Re: Advise please how could remove Runing problem!

#5 Post by kate » Thu Mar 01, 2018 4:06 pm

In your build script (assuming you use a build script), there's a line setting $SCRATCH_DIR:

Code: Select all

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.

Post Reply