- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I am trying to run a code and the run crashes giving the following error:
Opening prep_chem_sources.inp file
check namelist
call gen_regional_grid_type
grid size= 1 199 175
199 175 1
34825 0 34825 1 1
MAX1= 0.0000000E+00 min= 0.0000000E+00
MAX2= 84.50702 min= -58.50702
MAX3= 84.50702 min= -58.50702
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/emissions/OC_
anthro_noship_2006.nc - specie= OC
3 OC_NOSHIP
3 OC_NOSHIP 5
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/emissions/BC_
anthro_noship_2006.nc - specie= BC
3 BC_NOSHIP
3 BC_NOSHIP 5
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/emissions/SO2
_anthro_noship_2006.nc - specie= SO2
3 SO2_NOSHIP
3 SO2_NOSHIP 5
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/dms_data/dms_
1x1.25.nc - specie= DMS
prep_chem_sources: putget.c:3676: getNCvx_float_float: Assertion `value != ((void *)0)' failed.
forrtl: error (76): Abort trap signal
Image PC Routine Line Source
libc.so.6 00000032F7C30215 Unknown Unknown Unknown
libc.so.6 00000032F7C31CC0 Unknown Unknown Unknown
libc.so.6 00000032F7C29696 Unknown Unknown Unknown
prep_chem_sources 00000000004D4725 Unknown Unknown Unknown
prep_chem_sources 00000000004AECB9 Unknown Unknown Unknown
prep_chem_sources 0000000000487665 Unknown Unknown Unknown
prep_chem_sources 0000000000408D4A Unknown Unknown Unknown
prep_chem_sources 0000000000407F76 Unknown Unknown Unknown
prep_chem_sources 000000000040470C Unknown Unknown Unknown
prep_chem_sources 00000000004038C2 Unknown Unknown Unknown
libc.so.6 00000032F7C1D974 Unknown Unknown Unknown
prep_chem_sources 00000000004037E9 Unknown Unknown Unknown
Aborted
what might be causing this error? the data developer claims that there s no problem with the data and i also found no error in the data.
thank you
Ulas
I am trying to run a code and the run crashes giving the following error:
Opening prep_chem_sources.inp file
check namelist
call gen_regional_grid_type
grid size= 1 199 175
199 175 1
34825 0 34825 1 1
MAX1= 0.0000000E+00 min= 0.0000000E+00
MAX2= 84.50702 min= -58.50702
MAX3= 84.50702 min= -58.50702
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/emissions/OC_
anthro_noship_2006.nc - specie= OC
3 OC_NOSHIP
3 OC_NOSHIP 5
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/emissions/BC_
anthro_noship_2006.nc - specie= BC
3 BC_NOSHIP
3 BC_NOSHIP 5
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/emissions/SO2
_anthro_noship_2006.nc - specie= SO2
3 SO2_NOSHIP
3 SO2_NOSHIP 5
opening
/home/ulasim/Data/gocart/Global_emissions_v3/Emission_data/GOCART/dms_data/dms_
1x1.25.nc - specie= DMS
prep_chem_sources: putget.c:3676: getNCvx_float_float: Assertion `value != ((void *)0)' failed.
forrtl: error (76): Abort trap signal
Image PC Routine Line Source
libc.so.6 00000032F7C30215 Unknown Unknown Unknown
libc.so.6 00000032F7C31CC0 Unknown Unknown Unknown
libc.so.6 00000032F7C29696 Unknown Unknown Unknown
prep_chem_sources 00000000004D4725 Unknown Unknown Unknown
prep_chem_sources 00000000004AECB9 Unknown Unknown Unknown
prep_chem_sources 0000000000487665 Unknown Unknown Unknown
prep_chem_sources 0000000000408D4A Unknown Unknown Unknown
prep_chem_sources 0000000000407F76 Unknown Unknown Unknown
prep_chem_sources 000000000040470C Unknown Unknown Unknown
prep_chem_sources 00000000004038C2 Unknown Unknown Unknown
libc.so.6 00000032F7C1D974 Unknown Unknown Unknown
prep_chem_sources 00000000004037E9 Unknown Unknown Unknown
Aborted
what might be causing this error? the data developer claims that there s no problem with the data and i also found no error in the data.
thank you
Ulas
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Surely, the authors of the program put in that assertion for a reason, and ought to have left some clues in the source code. If you suspect a compilation problem, did you try the -diag-enable sc and -check options?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
Surely, the authors of the program put in that assertion for a reason, and ought to have left some clues in the source code. If you suspect a compilation problem, did you try the -diag-enable sc and -check options?
when i recompiled with those options and run the code, i end up with following error, where this time, it cannot even start reading the files:
Opening prep_chem_sources.inp file
check namelist
call gen_regional_grid_type
grid size= 1 199 175
199 175 1
34825 0 34825 1 1
MAX1= 0.0000000E+00 min= 0.0000000E+00
forrtl: severe (408): fort: (3): Subscript #1 of the array XMN has value 0 which is less than the lower bound of 1
Image PC Routine Line Source
prep_chem_sources 00000000006DC26E Unknown Unknown Unknown
prep_chem_sources 00000000006DB200 Unknown Unknown Unknown
prep_chem_sources 000000000069463E Unknown Unknown Unknown
prep_chem_sources 0000000000644225 Unknown Unknown Unknown
prep_chem_sources 0000000000643484 Unknown Unknown Unknown
prep_chem_sources 0000000000466739 Unknown Unknown Unknown
prep_chem_sources 000000000044DC89 Unknown Unknown Unknown
prep_chem_sources 00000000004056D7 Unknown Unknown Unknown
prep_chem_sources 00000000004045F2 Unknown Unknown Unknown
prep_chem_sources 00000000004038C2 Unknown Unknown Unknown
libc.so.6 00000032F7C1D974 Unknown Unknown Unknown
prep_chem_sources 00000000004037E9 Unknown Unknown Unknown
ulas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the program is full of array bounds violations, it may be difficult to find one which may be more serious, as the bounds checker doesn't allow finding multiple problems per run. It's not a good candidate for trying new compilers or optimization until those problems are fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
If the program is full of array bounds violations, it may be difficult to find one which may be more serious, as the bounds checker doesn't allow finding multiple problems per run. It's not a good candidate for trying new compilers or optimization until those problems are fixed.
thank you
one question: the data i am trying to read is data from a larger database that includes other sources of data too and the code is flexible to choose for which source to be processed. this error happens when i try to process a certain source only but the code successfully processes the sources of data. does that show that it s actually that ceratin source data that is causing te problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - ulasim77
thank you
one question: the data i am trying to read is data from a larger database that includes other sources of data too and the code is flexible to choose for which source to be processed. this error happens when i try to process a certain source only but the code successfully processes the sources of data. does that show that it s actually that ceratin source data that is causing te problem?
I would compile and link with
-g -traceback -fp-stack-check -check bounds
to get more precise information on the location of the error. This will help you debug the problem.
ron
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page