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

Cannot create geogrid.exe and metgrid.exe (dmpar)

dengxw

New member
Dear All,

I cannot create geogrid.exe and metgrid,exe with dmpar (./configure Enter Selection [1-40] : 19)


The first error is:
/scratch/xdeng40/WRF-PV/external/io_netcdf/libwrfio_nf.a(wrf_io.o): In function `ext_ncd_support_routines_mp_transpose_':
wrf_io.f:(.text+0x438bf): undefined reference to `__kmpc_global_thread_num'
wrf_io.f:(.text+0x43990): undefined reference to `__kmpc_ok_to_fork'
.......
make[1]: [geogrid.exe] Error 1 (ignored)

Please find my configure and log files attached.

In addition, I can compile geogrid.exe and metgrid.exe with 17, serial.
WRF_LIB = -L$(WRF_DIR)/external/io_grib1 -lio_grib1 \
-L$(WRF_DIR)/external/io_grib_share -lio_grib_share \
-L$(WRF_DIR)/external/io_int -lwrfio_int \
-L$(WRF_DIR)/external/io_netcdf -lwrfio_nf \
-L$(NETCDF)/lib -lnetcdff -lnetcdf -fopenmp I added this

Best wishes
 

Attachments

  • configure.wps
    3.3 KB · Views: 4
@dengxw
The only time you should need to compile WPS with an option to run with distributed memory is if you are planning to use very large domains (1000+ x 1000+ grid spaces). Otherwise, it is perfectly fine to compile WPS with the serial option, even if you compiled WRF with dmpar.

If you are planning to run very large domains, please also attach your full WPS compile log, your WRF compile log, and your configure.wrf file. Thanks!
 
Top