-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello CWIPI developers,
I’m trying to build CWIPI from source on the Archer2 cluster by following the standard steps:
_**git clone https://github.com/onera/cwipi.git
[submodule "external/paradigm"]
path = external/paradigm
url = https://github.com/onera/paradigm.git
git submodule sync external/paradigm
git submodule update --init external/paradigm
mkdir build
cd build
cmake ..
-DCMAKE_INSTALL_PREFIX=/path/
-DCWP_ENABLE_PYTHON_BINDINGS=ON
-DCWP_ENABLE_SHARED=ON
make
make install**_
During the make phase, the build fails while compiling the Cython-generated C source, with the following error:
Error compiling Cython file:
...
const int distant_points_barycentric_coordinates_index[],
const double distant_points_barycentric_coordinates[],
int stride,
cwipi_solver_type_t solver_type,
const void *local_field,
void *distant_field) noexcept:
^
/path/to/cwipi/build/Cython/cwipi/cwipi.pyx:1325:40: Syntax error in C variable declaration
Questions:
Are there specific compiler requirements (e.g., a minimum C++ standard or a particular compiler) needed to build the Python bindings?
Should the Cython output be compiled as C++ rather than C?
Is there a recommended Cython version or cythonize command-line flag to avoid inserting noexcept?
Any advice on how to resolve this build error on an HPC environment like Archer2 would be greatly appreciated. Thank you!