Hello!
Like the title already says, I have trouble to get the unittest framework ‘veggies’ running with intel ifx compiler. I added it to my project via fpm and compiling the test with ‘fpm build --tests --compiler ifx --profile debug --flag “-Qmkl” --link-flag “-stack:64000000000”’ (I’m using intels mkl, which is why I have to use the ifx compiler) results in the error
result_m.f90 failed.
[ 1%] Compiling...
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.0.2 Build 20231213
Copyright (C) 1985-2023 Intel Corporation. All rights reserved.
build\dependencies\veggies\src\veggies\result_m.f90(98): error #6764: A unary defined OPERATOR definition is missing or incorrect. [NOT]
allocate(failed, source = .not.self%results%passed())
---------------------------------------^
build\dependencies\veggies\src\veggies\result_m.f90(142): catastrophic error: Too many errors, exiting
compilation aborted for build\dependencies\veggies\src\veggies\result_m.f90 (code 1)
I have a different project, where I’m not using the intel compiler, but instead gfortran and this one compiles just fine. So I assume the error happens because of the different compilers, but I might be mistaken.
Summoning @everythingfunctional, author of said unittest framework to hopefully give an explanation