[Wrf-users] [WRF 3.5.1, smpar, Intel] undefined reference to `__kmpc_global_thread_num' building "external/io_int"
Бакиров, Медер
bakirov at almetico.com
Thu Mar 6 06:13:23 MST 2014
Now I'm trying to build WPS and, of course, have errors :). I think,
it's related to the previous issue. Can you, please, shed some light
on this, so I can try to correctly fix them?
Output:
--------------------------------------------------------------------------------------------------------------
ifort -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_ut
ils.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/dotcoder/src/WPS/../WRFV3/frame/module_driver_constants.o \
/home/dotcoder/src/WPS/../WRFV3/frame/pack_utils.o
/home/dotcoder/src/WPS/../WRFV3/frame/module_machine.o \
/home/dotcoder/src/WPS/../WRFV3/frame/module_internal_header_util.o \
-I/home/dotcoder/src/WPS/../WRFV3/external/io_netcdf
-I/home/dotcoder/src/WPS/../WRFV3/external/io_grib_share
-I/home/dotcoder/src/WPS/../WRFV3/external/io_grib1
-I/home/dotcoder/src/WPS/../WRFV3/external/io_int -I/home/d
otcoder/src/WPS/../WRFV3/inc -I/usr/local/netcdf-4.3.1.1//include \
-L/home/dotcoder/src/WPS/../WRFV3/external/io_grib1
-lio_grib1 -L/home/dotcoder/src/WPS/../WRFV3/external/io_grib_share
-lio_grib_share -L/home/dotcoder/src/WPS/../WRFV3/external/io_int
-lwrfio_int -L/home/dotcoder/src/WP
S/../WRFV3/external/io_netcdf -lwrfio_nf
-L/usr/local/netcdf-4.3.1.1//lib -lnetcdff -lnetcdf \
/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libimf.so:
warning: warning: feupdateenv is not implemented and will always fail
/home/dotcoder/src/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o):
In function `ext_ncd_support_routines_mp_transpose_':
wrf_io.f:(.text+0x47160): undefined reference to `__kmpc_global_thread_num'
wrf_io.f:(.text+0x4726b): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x473d7): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x473f6): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x47568): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x47579): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x476e5): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x47704): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x47876): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x47c0b): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x47d77): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x47d96): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x47f08): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x47f19): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x48085): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x480a4): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x48216): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x4831f): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x4848b): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x484aa): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x4861c): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x4862d): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x48799): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x487b8): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x4892a): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x48a33): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x48b9f): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x48bbe): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x48d30): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x48d41): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x48ead): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x48ecc): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x4903e): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x49147): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x492b3): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x492d2): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x49444): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x49444): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x49455): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x495c1): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x495e0): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x49752): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x4985a): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x499c6): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x499e5): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x49b57): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x49b68): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x49cd4): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x49cf3): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x49e65): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x49f46): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x4a0b2): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x4a0d1): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x4a243): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x4a254): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x4a3c0): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x4a3df): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x4a551): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x4a6d9): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4a7e4): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4ac96): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4ada1): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4b23e): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4b33e): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4b7ea): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4b8ea): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4bd97): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4bf0c): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4c57a): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4c664): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4cb2b): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4cc3e): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4d106): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4d1eb): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4d6c8): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4d864): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4dedb): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4dfd8): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4e4ab): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4e5bd): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4eaa4): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4eb8a): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4f06a): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4f206): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x4f875): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x4f97b): undefined reference to `__kmpc_dispatch_next_4'
/home/dotcoder/src/WPS/../WRFV3/external/io_netcdf/libwrfio_nf.a(wrf_io.o):
In function `transposetor4_':
wrf_io.f:(.text+0x50567): undefined reference to `__kmpc_global_thread_num'
wrf_io.f:(.text+0x50672): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x507de): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x507fd): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x5096f): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x50980): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x50aec): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x50b0b): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x50c7d): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x51012): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x5117e): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x5119d): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x5130f): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x51320): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x5148c): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x514ab): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x5161d): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x51726): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x51892): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x518b1): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x51a23): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x51a34): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x51ba0): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x51bbf): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x51d31): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x51e3a): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x51fa6): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x51fc5): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x52137): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x52148): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x522b4): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x522d3): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x52445): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x5254e): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x526ba): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x526d9): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x5284b): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x5285c): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x529c8): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x529e7): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x52b59): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x52c61): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x52dcd): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x52dec): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x52f5e): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x52f6f): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x530db): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x530fa): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x5326c): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x5334d): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x534b9): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x534d8): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x5364a): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x5365b): undefined reference to `__kmpc_ok_to_fork'
wrf_io.f:(.text+0x537c7): undefined reference to `__kmpc_fork_call'
wrf_io.f:(.text+0x537e6): undefined reference to `__kmpc_serialized_parallel'
wrf_io.f:(.text+0x53958): undefined reference to
`__kmpc_end_serialized_parallel'
wrf_io.f:(.text+0x53ae0): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x53beb): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x540e9): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x54219): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x5483a): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x54930): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x54e18): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x54f32): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x5554f): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x556d1): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x55d4c): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x55e57): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x564a7): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x5659a): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x56ab3): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x56bda): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x5720e): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x573a8): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x57a08): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x57b20): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x5814f): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x58264): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x58796): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x588aa): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x58ee2): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x5906c): undefined reference to `__kmpc_dispatch_next_4'
wrf_io.f:(.text+0x596cc): undefined reference to `__kmpc_dispatch_init_4'
wrf_io.f:(.text+0x597f4): undefined reference to `__kmpc_dispatch_next_4'
make[1]: [geogrid.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/dotcoder/src/WPS/geogrid/src'
--------------------------------------------------------------------------------------------------------------
Same error for metgrid.exe.
Please, find a configure.wps and gzipped compile log files in attachment.
Thanks!
With the best regards,
Meder Bakirov
On Thu, Mar 6, 2014 at 5:23 PM, Бакиров, Медер <bakirov at almetico.com> wrote:
> On Thu, Mar 6, 2014 at 12:21 AM, Dmitry N. Mikushin <maemarcus at gmail.com> wrote:
>> You can "nm | grep" Intel's libraries
>> for this symbol and link the right library
>
> Libraries, containing these symbols are in my LD_LIBRARY_PATH.
>
> Here's the interesting:
> - I got these errors only on first 'compile' run
> - On second 'compile' run, "external/io_int/" seems to compile
> successfully: I have a 'diffwrf' binary.
>
> Does it mean, that 'external/io_int/' depends on some other component,
> which should be build before?
>
> Thanks!
>
> With the best regards,
> Meder Bakirov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile.log.bak.gz
Type: application/x-gzip
Size: 9359 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20140306/210bf305/attachment-0001.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.wps
Type: application/octet-stream
Size: 3418 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20140306/210bf305/attachment-0001.obj
More information about the Wrf-users
mailing list