pFUnit icon indicating copy to clipboard operation
pFUnit copied to clipboard

support Intel ifx compiler (IntelLLVM)

Open bd4 opened this issue 4 years ago • 2 comments

The CMAKE_Fortran_COMPILER_ID for ifx is IntelLLVM instead of Intel. To get pFUnit to build, I just copied cmake/Intel.cmake to cmake/IntelLLVM.cmake and it works.

bd4 avatar Dec 16 '21 20:12 bd4

The pFUnit_demos unfortunately do not run with ifx - I get the following error even for the Trivial set:

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source             
my_tests           0000000000428E3A  for__signal_handl     Unknown  Unknown
libpthread-2.31.s  00007F40FB4E83C0  Unknown               Unknown  Unknown
my_tests           00000000004C546C  __intel_avx_rep_m     Unknown  Unknown
libfunit.so        00007F40FC31D40B  pf_testsuite_mp_c     Unknown  Unknown
libfunit.so        00007F40FC8043DC  funit_mp_generic_     Unknown  Unknown
libfunit.so        00007F40FC8014DC  funit_mp_run_         Unknown  Unknown
libfunit.so        00007F40FC806CDA  funit_main_           Unknown  Unknown
my_tests           0000000000415B62  Unknown               Unknown  Unknown
libc-2.31.so       00007F40FB3080B3  __libc_start_main     Unknown  Unknown
my_tests           0000000000415A6E  Unknown               Unknown  Unknown

bd4 avatar Jan 31 '22 22:01 bd4

This may very well be a bug in ifx, but seems useful to document progress here in case anyone else is using pFUnit with ifx.

bd4 avatar Jan 31 '22 22:01 bd4