With Mathematica 14.1, the core app was renamed from Mathematica to Wolfram.
f-strings are used so, Easybuild 5 is the target version of this PR.
Another change is replacement of custom command mathematica --version with echo \'Quit[0]\' | WolframKernel. WolframKernel is not linking to libGL so it doesn't fail at headless build nodes / and we do not need GL as dependency.
With Mathematica 14.1, the core app was renamed from Mathematica to Wolfram.
f-strings are used so, Easybuild 5 is the target version of this PR.
Another change is replacement of custom command
mathematica --version
withecho \'Quit[0]\' | WolframKernel
. WolframKernel is not linking to libGL so it doesn't fail at headless build nodes / and we do not need GL as dependency.