Hello:
I'm having issues trying to compile HRLDAS in my ubunty system 20.04.
THis is the content of my user_build_options file I got so far.
COMPILERF90 = /usr/bin/gfortran-9
FREESOURCE = -ffree-form -ffree-line-length-none
F90FLAGS = -g -fconvert=big-endian -fbounds-check -fno-range-check
MODFLAG = -I
LDFLAGS =
CPP = /usr/bin/cpp-9
CPPFLAGS = -P -traditional -D_GFORTRAN_ # -D_HRLDAS_URBAN_
LIBS =
LIBJASPER = -ljpeg -L/usr/local/JASPER/lib -ljasper
INCJASPER = -I/usr/local/JASPER/include
NETCDFMOD = -I/usr/include #-L/home/Build_NOAH/LIBRARIES/netcdf/include
NETCDFLIB = -L/home/Build_NOAH/LIBRARIES/netcdf/lib -lnetcdf -lnetcdff #-L/usr/lib -lnetcdf -lnetcdff
BZIP2 = NO
BZIP2_LIB = -lbz2
BZIP2_INCLUDE = -I/opt/local/include
RM = rm -f
CC = /usr/bin/gcc-9
After that, I give the command "MAKE" and I'm getting this output:
mishel@mishel-VirtualBox:~/Build_NOAH/src/HRLDAS-v3.6$ make
(cd Utility_routines; make)
make[1]: Entering directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Utility_routines'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Utility_routines'
(cd Noah; make)
make[1]: Entering directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Noah'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Noah'
(cd IO_code; make)
make[1]: Entering directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/IO_code'
rm -f module_NoahMP_hrldas_driver.f
/usr/bin/cpp-9 -P -traditional -D_GFORTRAN_ -D_HRLDAS_OFFLINE_ module_NoahMP_hrldas_driver.F > module_NoahMP_hrldas_driver.f
/usr/bin/gfortran-9 -o module_NoahMP_hrldas_driver.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -ffree-form -ffree-line-length-none -I.
-I../Noah -I../Utility_routines -I/usr/include module_NoahMP_hrldas_driver.f
module_NoahMP_hrldas_driver.f:341:33:
341 | REAL, DIMENSION(MAX_SOIL_LEVELS) :: soil_thick_input ! depth to soil interfaces from namelist [m]
| 1
Error: Expecting a scalar INTEGER expression at (1), found REAL
module_NoahMP_hrldas_driver.f:740:33:
740 | DZS = SOIL_THICK_INPUT(1:NSOIL)
| 1
Error: Syntax error in argument list at (1)
module_NoahMP_hrldas_driver.f:344:37:
344 | indir, nsoil, soil_thick_input, forcing_timestep, noah_timestep, &
| 1
Error: Symbol ‘soil_thick_input’ at (1) has no IMPLICIT type
make[1]: *** [Makefile:24: module_NoahMP_hrldas_driver.o] Error 1
make[1]: Leaving directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/IO_code'
make: *** [Makefile:6: all] Error 2
Apparently, there is a conflict with the soil_thick_input and I'm not able to figure it out where is the file or the procedure for fixing it.
Thanks in advance for your support.
Mishel
Hello:
I'm having issues trying to compile HRLDAS in my ubunty system 20.04.
THis is the content of my user_build_options file I got so far.
COMPILERF90 = /usr/bin/gfortran-9
FREESOURCE = -ffree-form -ffree-line-length-none
F90FLAGS = -g -fconvert=big-endian -fbounds-check -fno-range-check
MODFLAG = -I
LDFLAGS =
CPP = /usr/bin/cpp-9
CPPFLAGS = -P -traditional -D_GFORTRAN_ # -D_HRLDAS_URBAN_
LIBS =
LIBJASPER = -ljpeg -L/usr/local/JASPER/lib -ljasper
INCJASPER = -I/usr/local/JASPER/include
NETCDFMOD = -I/usr/include #-L/home/Build_NOAH/LIBRARIES/netcdf/include
NETCDFLIB = -L/home/Build_NOAH/LIBRARIES/netcdf/lib -lnetcdf -lnetcdff #-L/usr/lib -lnetcdf -lnetcdff
BZIP2 = NO
BZIP2_LIB = -lbz2
BZIP2_INCLUDE = -I/opt/local/include
RM = rm -f
CC = /usr/bin/gcc-9
After that, I give the command "MAKE" and I'm getting this output:
mishel@mishel-VirtualBox:~/Build_NOAH/src/HRLDAS-v3.6$ make
(cd Utility_routines; make)
make[1]: Entering directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Utility_routines'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Utility_routines'
(cd Noah; make)
make[1]: Entering directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Noah'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/Noah'
(cd IO_code; make)
make[1]: Entering directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/IO_code'
rm -f module_NoahMP_hrldas_driver.f
/usr/bin/cpp-9 -P -traditional -D_GFORTRAN_ -D_HRLDAS_OFFLINE_ module_NoahMP_hrldas_driver.F > module_NoahMP_hrldas_driver.f
/usr/bin/gfortran-9 -o module_NoahMP_hrldas_driver.o -c -g -fconvert=big-endian -fbounds-check -fno-range-check -ffree-form -ffree-line-length-none -I.
-I../Noah -I../Utility_routines -I/usr/include module_NoahMP_hrldas_driver.f
module_NoahMP_hrldas_driver.f:341:33:
341 | REAL, DIMENSION(MAX_SOIL_LEVELS) :: soil_thick_input ! depth to soil interfaces from namelist [m]
| 1
Error: Expecting a scalar INTEGER expression at (1), found REAL
module_NoahMP_hrldas_driver.f:740:33:
740 | DZS = SOIL_THICK_INPUT(1:NSOIL)
| 1
Error: Syntax error in argument list at (1)
module_NoahMP_hrldas_driver.f:344:37:
344 | indir, nsoil, soil_thick_input, forcing_timestep, noah_timestep, &
| 1
Error: Symbol ‘soil_thick_input’ at (1) has no IMPLICIT type
make[1]: *** [Makefile:24: module_NoahMP_hrldas_driver.o] Error 1
make[1]: Leaving directory '/home/mishel/Build_NOAH/src/HRLDAS-v3.6/IO_code'
make: *** [Makefile:6: all] Error 2
Apparently, there is a conflict with the soil_thick_input and I'm not able to figure it out where is the file or the procedure for fixing it.
Thanks in advance for your support.
Mishel