COAWST segmentation fault (signal 11)

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
antoinemarie

COAWST segmentation fault (signal 11)

#1 Unread post by antoinemarie »

Hi ROMS'users

I have several questions about COAWST installation (I use ROMS forum to maximize my chance of reply). I try to install the code on Ubuntu (on a virtual machine "Virtualbox").
I install netcdf-3.6.3 and MCT. I manage to compile a test case Inlet_test/Refined, but when I try to run my test case with the command:

mpiexec.mpich2 -np 2 ./coawstM coupling_inlet_test_refined5.in

I have the following error:

WEST_M2SGRADIENT Western edge, 2D stokes, gradient condition.
NORTH_M2SGRADIENT Northern edge, 2D stokes, gradientcondition.
SOUTH_M2SGRADIENT Southern edge, 2D stokes, gradient condition.
EAST_M3SGRADIENT Eastern edge, 3D stokes, gradient condition.
WEST_M3SGRADIENT Western edge, 3D stokes, gradient condition.
NORTH_M3SGRADIENT Northern edge, 3D stokes, gradient condition.
SOUTH_M3SGRADIENT Southern edge, 3D stokes, gradient condition.

SWAN grid 2 is preparing computation


INITIAL: Configuring and initializing forward nonlinear model ...


=====================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= EXIT CODE: 139
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
=====================================================================================
APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)

I search the meaning of "signal 11" on internet, and it is apparently a memory bug. I try to check the memory with Valgrind, and it seems everything is ok. Then I use the command:

ulimit -s unlimited

And I always have the same error.

I am wondering if this error comes from my netcdf/MCT installation. I do not know if I well install those libraries. For instance:
-which flags should I use when I configure my netcdf? Currently I don't use any flags, I just type:


./configure --prefix=/usr/local
make check
sudo make install



and I don't have error

Then for MCT, I have some doubt about my makefile.conf, because I don't know which flags should I change, for instance for the fortran compiler command:
FC = mpif90
or FC = gfortran?

I know it is lot of interrogations, but I'm not familiar with ubuntu and the compilers, so I try to understand.

Thanks in advance for your reply

Antoine

jcwarner
Posts: 1181
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: COAWST segmentation fault (signal 11)

#2 Unread post by jcwarner »

following this up on the coawst site post.
-j

Post Reply