I have just installed the latest standalone Intel Fortran compiler. I then created a directory with fpm and set the compiler to ifx. The run failed with being unable to find llvm-copy but after some googling https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533430, I installed the standalone DPC++ compiler.
Now, the simple Hello program runs successfully but spits out this error at the end:
Uninitialized bytes in write at offset 0 inside [0x725000000000, 13)
==37228==WARNING: MemorySanitizer: use-of-uninitialized-value
The link above says to do -check all,nouninit
but I don’t know where to include this.
Currently, I just add source setvars.sh
and source vars.sh
in my .bashrc file.