HRLDAS 3.6 run error

Introduction to the forum

HRLDAS 3.6 run error

Postby Xueyan » Wed Jan 23, 2019 2:28 pm

Hi, I installed the HRLDAS with parallel netcdf. And the following is my user_options.

#=============================================================================================
3 # Options for Linux with Intel Fortran MPI
4 #=============================================================================================
5
6 COMPILERF90 = mpif90 -f90=ifort
7 FREESOURCE = -free
8 F90FLAGS = -convert big_endian -g -O2 #-fpe0
9 MODFLAG = -I
10 LDFLAGS =
11 CPP = cpp
12 CPPFLAGS = -P -traditional -DgFortran -D_PARALLEL_ # -DSPATIAL_SOIL -D_PARALLEL_ -DMPP_LAND
13 LIBS =
14 LIBJASPER = -ljpeg -L/stor9000/apps/users/NWSUAF/2014011989/soft/jasper-1.900.2/lib -ljasper
15 INCJASPER = -I/stor9000/apps/users/NWSUAF/2014011989/soft/jasper-1.900.2/include
16 NETCDFMOD = -I/stor9000/apps/users/NWSUAF/2014011989/soft/hdf5-1.10.1/include
17 NETCDFLIB = /stor9000/apps/users/NWSUAF/2014011989/soft/hdf5-1.10.1/lib/libnetcdff.a /stor9000/apps/users/NWSUAF/2014011989/soft/hdf5-1.10.1/lib/libnetcdf.a
-lhdf5_hl -lhdf5 # -lz -lm
18 NETCDF4_COMPRESS = NO
19 BZIP2 = NO
20 BZIP2_INCLUDE = -I/stor9000/apps/users/NWSUAF/2014011989/soft/bzip2-1.0.6/include
21 BZIP2_LIB = -L/stor9000/apps/users/NWSUAF/2014011989/soft/bzip2-1.0.6/lib -lbz2
22 RM = rm -f
23 CC = mpiicc #cc

I make the model with some error, I add dum2d_ptr in IO_code/module_NoahMP_hrldas_driver.F
534 call read_hrldas_hdrinfo(hrldas_constants_file, ix, jx, &
535 xstart, xend, ystart, yend, &
536 iswater, isurban, isice, llanduse, dx, dy, truelat1, truelat2, cen_lon, lat1, lon1, &
537 igrid, mapproj,dum2d_ptr)
538 write(hgrid,'(I1)') igrid

And I compile the model successfully but when I run the model with ./Noah_beta, there is something wrong:


Error:

Namelist warning: KHOUR and KDAY both defined.
Attempting to use an MPI routine before initializing MPI

Then I add a row in IO_code/module_hrldas_netcdf_io.F :

212. #ifdef _PARALLEL_
call MPI_INIT(ierr) !what I add
213 call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)
214 if (ierr /= MPI_SUCCESS) stop "MPI_COMM_RANK"
215 #else
216 rank = 0
217 #endif

But when I tried to run the model again using ./Noah_beta, there is another error:

Namelist warning: KHOUR and KDAY both defined.
wrfinput_flnm: '/stor9000/apps/users/NWSUAF/2014011989/WRFV3.6.1/test/em_real/wrfinput_d01'
wrfinput_flnm: '/stor9000/apps/users/NWSUAF/2014011989/WRFV3.6.1/test/em_real/wrfinput_d01'
READLAND_HRLDAS: Problem opening wrfinput file: '/stor9000/apps/users/NWSUAF/2014011989/WRFV3.6.1/test/em_real/wrfinput_d01'

So is there anyone who runs HRLDAS with parallel intel fortran? I have struggled with this error for many days! Thank you very much!
Xueyan
 
Posts: 1
Joined: Sat Nov 17, 2018 6:14 pm

Return to Welcome to the WRF User's Forum

Who is online

Users browsing this forum: No registered users and 2 guests