Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Nov 24, 2017 1:59 am




Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Author Message
 Post subject: segmentation violation
PostPosted: Mon Nov 02, 2009 1:32 am 
Offline

Joined: Fri Oct 28, 2005 9:10 pm
Posts: 1
Location: Nagasaki University
Hello all,
I am enjoying running LTRANS. Thank you very much. I am reporting a minor bug in LTRANS code just in case. Some subscripts of arrays take 0, which causes segmentation violation while executing LTRANS. This error occurs only when compiling with bounds check option (e.g., -CB in Intel Fortran). I think it is safer to correct this.

$ [Mon Nov 2 10:09:27 JST 2009]
$ [aym@oceani18 processor=x86_64 kernel=Linux 2.6.18-92.el5 ]
$ LTRANS.exe

****** LTRANS INITIALIZATION *******
read in particle locations 500
Particle n=5 Latitude= 38.11310 Longitude= -76.19567
Particle n=5 Depth= -35.5500000000000
Particle n=5 Start Polygon= 101001
read-in grid information
create elements
find adjacent elements
prepare boundary arrays
initialize behavior
read in habitat polygon locations
Edge i=5 Center Lat= 37.8471777800000 Long= -76.1972269100000
Edge i=5 Edge Lat= 37.9296453600000 Long= -76.2044782800000
Hole i=5 Center Lat= 37.7089998400000 Long= -76.1576469500000
Hole i=5 Edge Lat= 37.7274703800000 Long= -76.1576468300000
find polygons in elements
forrtl: severe (408): fort: (3): Subscript #1 of the array POLYNUMS has value 0 which is less than the lower bound of 1

Image PC Routine Line Source
LTRANS.exe 00000000005718D1 Unknown Unknown Unknown
LTRANS.exe 00000000005708A5 Unknown Unknown Unknown
LTRANS.exe 000000000052A95A Unknown Unknown Unknown
LTRANS.exe 00000000004F5D52 Unknown Unknown Unknown
LTRANS.exe 00000000004F4C6E Unknown Unknown Unknown
LTRANS.exe 0000000000457604 settlement_mod_mp 230 settlement_module.f90
LTRANS.exe 000000000045CB66 settlement_mod_mp 74 settlement_module.f90
LTRANS.exe 0000000000464B2F behavior_mod_mp_i 103 behavior_module.f90
LTRANS.exe 0000000000403A84 Unknown Unknown Unknown
LTRANS.exe 000000000040349C Unknown Unknown Unknown
libc.so.6 00000036A661D8B4 Unknown Unknown Unknown
LTRANS.exe 00000000004033A9 Unknown Unknown Unknown

$ cat LTRANS_compile.sh | head
#!/bin/sh
#
# LTRANS compile script
#
echo "Compiling Modules:"
echo " Gridcell"
ifort -vec-report0 -CB -traceback -fpe0 -c -I/usr/local/netcdf-4.0.1_intel/include \
-L/usr/local/netcdf-4.0.1_intel/lib -lnetcdf \
gridcell_module.f90
echo " Interpolation"


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

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:  
cron
Powered by phpBB® Forum Software © phpBB Group