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

Unable to compile WRF with INTEL compiler - Problems with XDR library

freddy0218

New member
Hi all,

I am trying to WRFV3.9.1.1 on the NCAR Derecho supercomputer, but my compilation did not generate the executable files in the /run folder.

After checking the log file, the compilation behaves normally until it starts to compile ndown.exe, after which I see errors like this:
-------------------------------------------------------------------------------------------------------------------------------------------
ld: libwrflib.a(landread.o): in function `tsGetValueInt':
landread.c .text+0x1f5): undefined reference to `xdr_float'

ld: libwrflib.a(landread.o): in function `get_landuse_':
landread.c .text+0x476): undefined reference to `xdrstdio_create'
ld: landread.c.text+0x491): undefined reference to `xdr_int'
ld: landread.c.text+0x4a2): undefined reference to `xdr_int'
ld: landread.c.text+0x4b3): undefined reference to `xdr_int'
ld: landread.c.text+0x4c4): undefined reference to `xdr_int'
ld: landread.c.text+0x4d5): undefined reference to `xdr_int'
ld: libwrflib.a(landread.o):landread.c.text+0x4e6): more undefined references to `xdr_int' follow
ld: libwrflib.a(landread.o): in function `get_landuse_':

landread.c.text+0x519): undefined reference to `xdr_double'
ld: landread.c.text+0x52a): undefined reference to `xdr_double'
ld: landread.c.text+0x53b): undefined reference to `xdr_double'
ld: landread.c.text+0x54c): undefined reference to `xdr_double'
ld: landread.c.text+0x55d): undefined reference to `xdr_int'
ld: landread.c.text+0x902): undefined reference to `xdr_float'
ld: libwrflib.a(landread.o): in function `tsGetValue':

landread.c.text+0xd6b): undefined reference to `xdr_float'
ld: landread.c.text+0xe6a): undefined reference to `xdr_float'
ld: landread.c.text+0xf69): undefined reference to `xdr_float'
ld: landread.c.text+0x1065): undefined reference to `xdr_float'
ld: libwrflib.a(landread.o): in function `get_terrain_':

landread.c.text+0x13d6): undefined reference to `xdrstdio_create'
ld: landread.c.text+0x13f1): undefined reference to `xdr_int'
ld: landread.c.text+0x1402): undefined reference to `xdr_int'
ld: landread.c.text+0x1413): undefined reference to `xdr_int'
ld: landread.c.text+0x1424): undefined reference to `xdr_int'
ld: landread.c.text+0x1435): undefined reference to `xdr_int'
ld: libwrflib.a(landread.o):landread.c.text+0x1446): more undefined references to `xdr_int' follow

ld: libwrflib.a(landread.o): in function `get_terrain_':
landread.c.text+0x1479): undefined reference to `xdr_double'
ld: landread.c.text+0x148a): undefined reference to `xdr_double'
ld: landread.c.text+0x149b): undefined reference to `xdr_double'
ld: landread.c.text+0x14ac): undefined reference to `xdr_double'
ld: landread.c.text+0x14bd): undefined reference to `xdr_int'
-------------------------------------------------------------------------------------------------------------------------------------------
I am using the following configuration settings:
(50) INTEL (ftn/icc): Cray XC (1) basic

I tried some solutions online, but they didn't solve the issue. Any help will be very much appreciated!

Thanks in advance,
Frederick
 

Attachments

  • compile.out.txt
    802.2 KB · Views: 1
Top