NCAR / spack-gust

Spack production user software stack on the Gust test system
4 stars 0 forks source link

cray-libsci versions through CPE 22.11 don't work with OneAPI >= 2022.2 #42

Closed vanderwb closed 1 year ago

vanderwb commented 1 year ago

The problem occurs if using OpenMP-enabled libraries:

[10:52] hello_world$ cc -o test openmp.c -qopenmp
icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is
 the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
openmp.c(29): warning #266: function "sched_getcpu" declared implicitly
                core        = sched_getcpu() % TASKS_PER_NODE;
                              ^

/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /opt/cray/pe/libsci/22.11.1.2/INTEL/19.0/x86_64/lib/libsci_intel_mp.so: undefined reference to `__svml_idiv16_b3'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /opt/cray/pe/libsci/22.11.1.2/INTEL/19.0/x86_64/lib/libsci_intel_mp.so: undefined reference to `__svml_idiv16_mask_b3
'
vanderwb commented 1 year ago

Removed from the module stack.