Run time error with convert_emiss.exe

Any issues with running WRF Chemistry

Run time error with convert_emiss.exe

Postby Farnoosh » Tue Jul 09, 2013 6:17 am

Hi there,
I'm trying to run convert_emiss.exe,
I've made prep_chem_sources cods and link them in run directory,
I coulde easilly run real.exe, but during running convert_emiss.exe I faced a run time errorr.

[gordafarid@localhost run]$ ./convert_emiss.exe
Error reading namelist &logging from namelist.input. Using default logging config.
Error reading namelist &logging from namelist.input. Using default logging config.
Namelist dfi_control not found in namelist.input. Using registry defaults for variables in dfi_control
Namelist tc not found in namelist.input. Using registry defaults for variables in tc
Namelist noah_mp not found in namelist.input. Using registry defaults for variables in noah_mp
Namelist scm not found in namelist.input. Using registry defaults for variables in scm
Namelist fire not found in namelist.input. Using registry defaults for variables in fire
Namelist diags not found in namelist.input. Using registry defaults for variables in diags
WRF-CHEM V3.4.1 EMISSIONS PREPROCESSOR
*************************************
Parent domain
ids,ide,jds,jde 1 100 1 61
ims,ime,jms,jme -4 105 -4 66
ips,ipe,jps,jpe 1 100 1 61
*************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
alloc_space_field: domain 1 , 679574268 bytes allocated
open file wrfinput_d01
med_initialdata_input: calling input_input
Timing for processing wrfinput file (stream 0) for domain 1: 0.43040 elapsed seconds
INPUT LandUse = "USGS"
LANDUSE TYPE = "USGS" FOUND 33 CATEGORIES 2 SEASONS WATER CATEGORY = 16 SNOW CATEGORY = 24
INITIALIZE THREE Noah LSM RELATED TABLES
LANDUSE TYPE = USGS FOUND 27 CATEGORIES
INPUT SOIL TEXTURE CLASSIFICATION = STAS
SOIL TEXTURE CLASSIFICATION = STAS FOUND 19 CATEGORIES
*********************************************************************
* PROGRAM:WRF/CHEM V3.4.1 MODEL
* *
* PLEASE REPORT ANY BUGS TO WRF/CHEM HELP at *
* *
* wrfchemhelp.gsd@noaa.gov *
* *
*********************************************************************
WARNING: dust option 1 currently works only with the GOCART aerosol option.
past opening wrfinput_d01
START DATE 2009-07-05_00:00:00 2678400 21600
END DATE 2009-07-06_00:00:00
READ GOCART BACKGROUND DATA
At line 238 of file convert_emiss.f90 (unit = 19, file = 'wrf_gocart_backg')
Fortran runtime error: End of file


I really don't know what should I do,
I will be gratefull if by any chance somebody here can help me.


Best Regards.
Farnoosh.
Farnoosh
 
Posts: 2
Joined: Tue Jul 09, 2013 5:49 am

Re: Run time error with convert_emiss.exe

Postby nishadh » Sat Aug 30, 2014 10:35 pm

The error Fortran run time error: End of file, shows your bin file wrf_gocart_backg is can't be processed by convert_emiss.exe. It is problem related with prep_chem_src, make sure you are compiling prep_chem_src as per this instructions http://ruc.noaa.gov/wrf/WG11/wrf_tutorial_nepal/exercise_2.html point number 3. Edit bytes swap in prep_chem_src compile file such as `include.mk.opt.gfortran` file line number 69 and like this
Code: Select all
F_OPTS= -Xpreprocessor -D$(CHEM) -O2 -frecord-marker=4 -fconvert=big-endian
. The variable `-fconvert=big-endian` has to be confirmed its presence with your configure.wrf file of WRF compilation.
nishadh
 
Posts: 6
Joined: Mon Aug 25, 2014 10:27 am

Re: Run time error with convert_emiss.exe

Postby humaid » Wed Feb 18, 2015 9:14 pm

In addition to what by nishadh said check also that the sypolick link is valid as follows:

i. ln –sf ../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-
000000-g1-gocartBG.bin wrf_gocart_backg
ii. ln –sf ../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-
000000-g1-ab.bin emissopt3_d01
iii. ln –sf ../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-
000000-g1-bb.bin emissfire_d01
iv. ln –sf ../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-
000000-g1-volc.bin volc_d01

or just copy the *.bin files to the folders where you run ./convert_emiss.exe and rename them accordingly
humaid
 
Posts: 7
Joined: Thu May 01, 2014 10:45 am

Re: Run time error with convert_emiss.exe

Postby jwsmit12 » Mon Jun 29, 2015 6:56 pm

nishadh:

Would this fix in the compilation be the case for later versions of the PREP-CHEM-SRC?

Thanks Jonathan
jwsmit12
 
Posts: 8
Joined: Mon Jul 28, 2014 6:18 pm

Re: Run time error with convert_emiss.exe

Postby jwsmit12 » Wed Jul 01, 2015 2:11 pm

Thanks for the tips above. It seems that copying and renaming the *.ab.bin file to the WRFV3/test/em_real works as opposed to the soft linking.
jwsmit12
 
Posts: 8
Joined: Mon Jul 28, 2014 6:18 pm

Re: Run time error with convert_emiss.exe

Postby hayk_grigoryan » Mon Nov 28, 2016 7:29 am

Hi All,

I've the same problem, getting the error

At line 387 of file convert_emiss.f90 (unit = 19, file = 'wrf_gocart_backg')
Fortran runtime error: I/O past end of record on unformatted file

I've checked The prop_chem configuration for -fconvert=big-endian which is ok. I've also tried to copy the files instead of soft linking. But still I'm getting the same problem.

Is there any other way that I can try to fix this problem?

Thanks in advice.
hayk_grigoryan
 
Posts: 2
Joined: Fri Aug 26, 2016 5:26 am

Re: Run time error with convert_emiss.exe

Postby Mohammad » Wed Aug 09, 2017 9:53 am

Hi,

Make sure that you include the file names that you are linking to i.e

ln –sf../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-000000-g1-gocartBG.bin wrf_gocart_backg
ln –sf ../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-000000-g1-ab.bin emissopt3_d01
ln –sf ../../../Prep_sources_chem_cptec_wrf/WRF-2008-07-15-000000-g1-bb.bin emissfire_d01
Mohammad
 
Posts: 4
Joined: Mon Jun 19, 2017 6:29 am


Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 3 guests