Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Dificulty in installing prep_chem_sources-1.8.3

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

I was trying to compile prep_chem_source to generate emission datasets
with the aid of BRAM PREP-CHEM-SRC user guide

i have followed the instructions to install the 3 libraries (zlib, hdf5 and netcdf5) and while I was compiling
the prep_chem_source. I have the following error:

gfortran -c -Xpreprocessor -DRADM_WRF_FIM -O2 -fconvert=big-endian -frecord-marker=4 -I../../aux_src/utils/include -I/opt/lib-gfortran/netcdf-4.1.3/include -I/opt/lib-gfortran/hdf5-1.8.16/include constants_module.F
f951: Warning: Nonexistent include directory ‘/opt/lib-gfortran/netcdf-4.1.3/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/opt/lib-gfortran/hdf5-1.8.16/include’ [-Wmissing-include-dirs]
constants_module.F:6:1:
module constants_module
1
Error: Non-numeric character in statement label at (1)
constants_module.F:6:1:
module constants_module
1
Error: Unclassifiable statement at (1)
constants_module.F:8:4:
real, parameter :: PI = 3.141592653589793
1
Error: Non-numeric character in statement label at (1)
constants_module.F:8:4:
real, parameter :: PI = 3.141592653589793
1
Error: Unclassifiable statement at (1)
constants_module.F:9:4:
real, parameter :: OMEGA_E = 7.292e-5 ! Angular rotation rate of the earth
1
Error: Non-numeric character in statement label at (1)
constants_module.F:9:4:
real, parameter :: OMEGA_E = 7.292e-5 ! Angular rotation rate of the earth
1
Error: Unclassifiable statement at (1)
constants_module.F:11:4:
real, parameter :: DEG_PER_RAD = 180./PI
1
Error: Non-numeric character in statement label at (1)
constants_module.F:11:4:
real, parameter :: DEG_PER_RAD = 180./PI
1
Error: Unclassifiable statement at (1)
constants_module.F:12:4:
real, parameter :: RAD_PER_DEG = PI/180.
1
Error: Non-numeric character in statement label at (1)
constants_module.F:12:4:
real, parameter :: RAD_PER_DEG = PI/180.
1
Error: Unclassifiable statement at (1)
constants_module.F:16:4:
real, parameter :: A_WGS84 = 6378137.
1
Error: Non-numeric character in statement label at (1)
constants_module.F:16:4:
real, parameter :: A_WGS84 = 6378137.
1
Error: Unclassifiable statement at (1)
constants_module.F:17:4:
real, parameter :: B_WGS84 = 6356752.314
1
Error: Non-numeric character in statement label at (1)
constants_module.F:17:4:
real, parameter :: B_WGS84 = 6356752.314
1
Error: Unclassifiable statement at (1)
constants_module.F:18:4:
real, parameter :: RE_WGS84 = A_WGS84
1
Error: Non-numeric character in statement label at (1)
constants_module.F:18:4:
real, parameter :: RE_WGS84 = A_WGS84
1
Error: Unclassifiable statement at (1)
constants_module.F:19:4:
real, parameter :: E_WGS84 = 0.081819192
1
Error: Non-numeric character in statement label at (1)
constants_module.F:19:4:
real, parameter :: E_WGS84 = 0.081819192
1
Error: Unclassifiable statement at (1)
constants_module.F:21:4:
real, parameter :: A_NAD83 = 6378137.
1
Error: Non-numeric character in statement label at (1)
constants_module.F:21:4:
real, parameter :: A_NAD83 = 6378137.
1
Error: Unclassifiable statement at (1)
constants_module.F:22:4:
real, parameter :: RE_NAD83 = A_NAD83
1
Error: Non-numeric character in statement label at (1)
constants_module.F:22:4:
real, parameter :: RE_NAD83 = A_NAD83
1
Error: Unclassifiable statement at (1)
constants_module.F:23:4:
real, parameter :: E_NAD83 = 0.0818187034
1
Error: Non-numeric character in statement label at (1)
constants_module.F:23:4:

real, parameter :: E_NAD83 = 0.0818187034
1
Error: Unclassifiable statement at (1)
constants_module.F:25:4:
real, parameter :: EARTH_RADIUS_M = 6370000. ! same as MM5 system
1
Error: Non-numeric character in statement label at (1)
constants_module.F:25:4:
real, parameter :: EARTH_RADIUS_M = 6370000. ! same as MM5 system
1
Error: Unclassifiable statement at (1)
constants_module.F:26:4:
real, parameter :: EARTH_CIRC_M = 2.*PI*EARTH_RADIUS_M
1
Error: Non-numeric character in statement label at (1)
constants_module.F:26:4:
real, parameter :: EARTH_CIRC_M = 2.*PI*EARTH_RADIUS_M
1
Error: Unclassifiable statement at (1)
constants_module.F:28:1:
end module constants_module
1
Error: Non-numeric character in statement label at (1)
constants_module.F:28:1:
end module constants_module
1
Error: Unclassifiable statement at (1)

looking forward for your assistance

with regards
Julius Akinyoola
 
Hi all,

Unfortunately the WRF-Chem team does not manage the prep chem package. I notice you are using v1.8.3, however, based on their website:

Please notice PREP-CHEM-SOURCES is in Beta stage and could not work as expect

Have you tried using an earlier version or contacting the prep-chem developers?

Jordan
 
Top