Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

ar: Relink ... libimf.so' with `/lib64/libm.so.6' for IFUNC symbol `sinf' ...

rumekintun
Beginner
1,384 Views

using icx

icx --version
Intel(R) oneAPI DPC++/C++ Compiler 2023.0.0 (2023.0.0.20221201)

 

library szip:

webpage: https://support.hdfgroup.org/doc_resource/SZIP/

 

libtool: link: icx -shared -fPIC -DPIC .libs/rice.o .libs/sz_api.o .libs/encoding.o -lm -O2 -Wl,-soname -Wl,libsz.so.2 -o .libs/libsz.so.2.0.0
libtool: link: (cd ".libs" && rm -f "libsz.so.2" && ln -s "libsz.so.2.0.0" "libsz.so.2")
libtool: link: (cd ".libs" && rm -f "libsz.so" && ln -s "libsz.so.2.0.0" "libsz.so")
libtool: link: ar cru .libs/libsz.a rice.o sz_api.o encoding.o
ar: Relink `/opt/intel/oneapi/compiler/2023.0.0/linux/compiler/lib/intel64_lin/libimf.so' with `/lib64/libm.so.6' for IFUNC symbol `sinf'
../libtool: line 1720: 1174608 Segmentation fault (core dumped) ar cru .libs/libsz.a rice.o sz_api.o encoding.o

make[2]: *** [Makefile:419: libsz.la] Error 139
make[2]: Leaving directory '/home/rodrigo/WRF/SRC/szip-2.1.1/src'
make[1]: *** [Makefile:334: all] Error 2
make[1]: Leaving directory '/home/rodrigo/WRF/SRC/szip-2.1.1/src'
make: *** [Makefile:381: all-recursive] Error 1

 

the same like @whatheway

 

I'm trying to compile WRF.. but i need compile before:

szip

hdf5

netcdf4

there is a big community running WRF model

 

I'm working on "CentOS Stream release 8"

CC=icx

FC=ifx

CXX=icpx

 

 

 

0 Kudos
3 Replies
NoorjahanSk_Intel
Moderator
1,356 Views

Hi,


Thanks for posting in Intel Communities.


>>I'm working on "CentOS Stream release 8"

According to OneAPI BaseToolkit system requirements, CentOS Stream release 8 is not supported.

Please refer to the below link for the supported target:

https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html


We request you to try on the supported target and if you still face the same issue please provide us with the detailed steps that you have followed.


Thanks & Regards,

Noorjahan.


0 Kudos
NoorjahanSk_Intel
Moderator
1,301 Views

Hi,


We haven't heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Noorjahan.


0 Kudos
NoorjahanSk_Intel
Moderator
1,262 Views

Hi,


I have not heard back from you, so I will close this inquiry now. If you need further assistance, please post a new question.


Thanks & Regards,

Noorjahan.


0 Kudos
Reply