easybuilders / easybuild-easyconfigs

A collection of easyconfig files that describe which software to build using which build options with EasyBuild.
https://easybuild.io
GNU General Public License v2.0
383 stars 703 forks source link

xtb-6.6.1-foss-2023a.eb meson setup option error #18865

Open xinan1911 opened 1 year ago

xinan1911 commented 1 year ago

I'm trying to create easyconfigs for the newest version of xtb on foss2023a. I got error when testing the easyconfigs on my local environment running "eb xtb-6.6.1-foss-2023a.eb --robot"

== 2023-09-26 11:26:45,035 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:126 in __init__): cmd " meson setup --prefix /home/xina/.local/easybuild/RHEL8/2023/software/xtb/6.6.1-foss-2023a -Dla_backend='custom' -Dcustom_libraries='flexiblas' --buildtype release  -Dlibdir=lib  /gpfs/scratch1/shared/xina/xtb/6.6.1/foss-2023a/xtb-6.6.1/" exited with exit code 1 and output:
The Meson build system
Version: 1.1.1
Source dir: /gpfs/scratch1/shared/xina/xtb/6.6.1/foss-2023a/xtb-6.6.1
Build dir: /gpfs/scratch1/shared/xina/xtb/6.6.1/foss-2023a/easybuild_obj
Build type: native build

../xtb-6.6.1/meson.build:19:0: ERROR: Unknown options: "la_backend"

This has not happened in the previous versions of xtb easyconfigs, which have build dependency of Meson 0.6x.0.

I intend to try change the meson version back to previous versions in the xtb easyconfig however currently in the easyconfigs repository there is no meson easyconfigs besides v1.1.1 with toolchain foss v2023a. This means I will also need to create new meson easyconfigs. I will try that.

In addition, I try to adjust the option syntax by checking the documentation of meson, however this leads to more error I don't understand. I wonder if there is xtb developer who can help and clarify the choice of option "la_backend".

xtb-6.6.1-foss-2023a.eb.txt

boegel commented 1 year ago

Hmm, it's strange that others haven't seen this...

Is the wrong Meson being used somehow? Do you have meson available system-wide? If so, which version?