[Wrf-users] WPS 3.1.1 w/ PGI 10.5 undefined references to module_driver_constants_

Richard Jacobsen ramassa at ucdavis.edu
Fri Sep 24 11:24:40 MDT 2010


Yes, the fix is present in newer versions of WPS.  You can also fix it 
in your version by adding -lwrflib to the local libraries in the Makefile.

Richard

On 09/24/2010 06:17 AM, Craig Tierney wrote:
> Did anyone ever find a solution to this problem?  I am seeing the same thing
> with PGI 10.6.
>
> Thanks,
> Craig
>
>
> ----------------------
> I may have found a new error for WRF.  (This one for 3.1.1).  We were shaking down a new 64 bit Xeon rig (Mandriva 2010.0) with PGI 2010/10.5 and found the errors below when
> compiling WPS for both the MPICH2 and serial build.  WRF 3.1.1 builds and runs fine.  For 3.2.0 WRF compiles just fine.
>
> The money error is an undefined references for the WRFV3 compiled module for module_machine regarding a function “.C3_283”.  Module_machine shows no errors when compiling for WRF.
>
> As anyone gotten anything like this below?
>
> Geogrid’s error:
>
> pgf90  -o geogrid.exe cio.o wrf_debug.o bitarray_module.o constants_module.o module_stringutil.o geogrid.o gridinfo_module.o hash_module.o interp_module.o list_module.o llxy_module.o
> misc_definitions_module.o module_debug.o module_map_utils.o output_module.o parallel_module.o process_tile_module.o proc_point_module.o queue_module.o read_geogrid.o smooth_module.o
> source_data_module.o \
>           /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/pack_utils.o /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/module_machine.o \
>           /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/module_internal_header_util.o \
>           -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_netcdf -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib_share
> -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib1 -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_int -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/inc \
>           -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib_share -lio_grib_share
> -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib
> -lnetcdf \
>
> /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/module_machine.o: In function `.C3_283':
> module_machine.f90:(.data+0x8): undefined reference to `module_driver_constants_'
> make[1]: [geogrid.exe] Error 2 (ignored)
> make[1]: Leaving directory `/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/geogrid/src'
>
>
>
> Metgrid’s error
>
> pgf90  -o metgrid.exe cio.o wrf_debug.o bitarray_module.o constants_module.o datatype_module.o module_stringutil.o gridinfo_module.o metgrid.o input_module.o interp_module.o
> interp_option_module.o list_module.o llxy_module.o met_data_module.o minheap_module.o misc_definitions_module.o module_date_pack.o module_debug.o module_map_utils.o
> module_mergesort.o output_module.o parallel_module.o process_domain_module.o queue_module.o read_met_module.o rotate_winds_module.o storage_module.o write_met_module.o \
>           /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/pack_utils.o /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/module_machine.o \
>           /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/module_internal_header_util.o \
>                   -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_netcdf -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib_share
> -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib1 -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_int -I/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/inc \
>                   -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib1 -lio_grib1 -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_grib_share -lio_grib_share
> -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_int -lwrfio_int -L/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/lib
> -lnetcdf \
>
> /home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/../WRFV3/frame/module_machine.o: In function `.C3_283':
> module_machine.f90:(.data+0x8): undefined reference to `module_driver_constants_'
> make[1]: [metgrid.exe] Error 2 (ignored)
> make[1]: Leaving directory `/home/wjc/WRF_REALTIME_KUNR-3DOM/WPS/metgrid/src'
>
>
>
> ================================================================
> Bill Capehart<William.Capehart at sdsmt.edu>    Associate Professor
> Institute of Atmospheric Sciences                  Interim Chair
> 213 Mineral Industries Building
> South Dakota School of Mines and Technology Ph:  +1-605-394-1994
> 501 East Saint Joseph Street                Fax: +1-605-394-6061
> Rapid City, SD 57701-3995                Mobile: +1-605-484-5692
> =================== http://capehart.sdsmt.edu ==================
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users


More information about the Wrf-users mailing list