Open icamps opened 1 month ago
The uploaded file is incorrect. The error message says it is this meson.build file in a subdirectory to blame:
https://github.com/grimme-lab/xtb/blob/v6.7.0/meson/meson.build#L168
omp_dep = dependency('openmp', required: fc.get_id() != 'intel' and fc.get_id() != 'nvidia_hpc')
This comes from:
https://github.com/mesonbuild/meson/blob/7d28ff29396f9d7043204de8ddc52226b9903811/mesonbuild/dependencies/misc.py#L108-L113 get_define raises this: https://github.com/mesonbuild/meson/blob/7d28ff29396f9d7043204de8ddc52226b9903811/mesonbuild/compilers/mixins/clike.py#L664-L669
@icamps please post your meson-log.txt as it should have the debug information relevant to solving your issue.
@eli-schwartz sorry for my mistake.
Here is the meson-log.txt file attached. meson-log.txt
Thanks.
Running compile:
Working directory: /tmp/tmpfezuttav
Code:
#ifndef _OPENMP
# define _OPENMP "MESON_GET_DEFINE_UNDEFINED_SENTINEL"
#endif
"MESON_GET_DEFINE_DELIMITER_START"
_OPENMP
"MESON_GET_DEFINE_DELIMITER_END"
-----------
Command line: `nvc /tmp/tmpfezuttav/testfile.c -E -P -P -O0 -mp` -> 0
meson/meson.build:168:12: ERROR: Delimiters not found in preprocessor output.
So the question is, what is nvc actually returning for that code...
That file, testfile.c
, is not part of the xTB program. I didn't find it and the temporary folders are deleted.
Describe the bug Running
meson.build.txt
with NVIDIA HPC compilers returned:To Reproduce File included. It is part of the xTB software.
Expected behavior Compile without any issue.
system parameters
Is this a cross build or just a plain native build (for the same computer)? native build
what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.) Ubuntu 22.04.4 LTS
what Python version are you using e.g. 3.8.0 3.12.2
what
meson --version
1.4.0what
ninja --version
if it's a Ninja build 1.10.1