I started using the ROMS-SWAN coupling with the inlet test case.
I could successfully compile and run the model with the nearshore_MELLOR05 option.
Then I changed to the NEARSHORE_MELLOR08 option for calculating the radiation stresses.
When running the model on 2CPU's I got a segmentation fault originating close the line
868 in file nearshore_mellor08.h
Code: Select all
rustr3d(i,j,k)=rustr3d(i,j,k)+ &
& cff3*om_u(i,j)*on_u(i,j)
without changing the line makes the program to run through without any problem.
Any Idea, where I could look for the reason of this strange behaviour?
Might this be related to the mpi-environment or compiler options?
As a start, I'm using:
Operating system : Linux
CPU/hardware : i686
Compiler system : ifort
Compiler command : /opt/openmpi_intel_compilers/bin/mpif90
Compiler flags : -heap-arrays -fp-model precise -traceback -ip -O3 -pc80 -xW -I/opt/MCT_2013_mpi/include -free -free
Thanks very much for any answer and help,
Karsten Lettmann