[Wrf-users] [WRF 3.5.1, smpar, Intel] undefined reference to `__kmpc_global_thread_num' building "external/io_int"

Dmitry N. Mikushin maemarcus at gmail.com
Thu Mar 6 08:22:27 MST 2014


> Libraries, containing these symbols are in my LD_LIBRARY_PATH.

This is not enough. In Linux every library you depend on must be
linked explicitly.

- D.

2014-03-06 12:23 GMT+01:00 Бакиров, Медер <bakirov at almetico.com>:
> 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


More information about the Wrf-users mailing list