Strange build issue #1377
Unanswered
danielenriquez59
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am getting a strange build issue when I enable pywrapper. See below.
I build my meson with:
python meson.py build --reconfigure -Denable-autodiff=true -Denable-directdiff=true -Denable-pywrapper=true --prefix="C:\bin"
`WARNING: the currently checked out submodule commit in C:\Users\Danie\Documents\SU2\externals\opdi does not match the SHA-1 found in the index.
Use 'git submodule update --init C:\Users\Danie\Documents\SU2\externals\opdi' to reset the module if necessary.
SHA-1 tag stored in index does not match SHA tag stored in this script.
The Meson build system
Version: 0.54.999
Source dir: C:\Users\Danie\Documents\SU2
Build dir: C:\Users\Danie\Documents\SU2\build
Build type: native build
Project name: SU2
Project version: 7.2.0 "Blackbird"
C compiler for the host machine: gcc (gcc 8.1.0 "gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0")
C linker for the host machine: gcc ld.bfd 2.30
C++ compiler for the host machine: c++ (gcc 8.1.0 "c++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0")
C++ linker for the host machine: c++ ld.bfd 2.30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (C:\Users\Danie\Anaconda3\envs\vsptools\python.exe)
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
mpicc found: NO
Run-time dependency MPI for c found: NO (tried pkgconfig and config-tool)
mpic++ found: NO
Run-time dependency MPI for cpp found: NO (tried pkgconfig and config-tool)
Program swig found: YES (C:\Softwares\swigwin-4.0.2\swig.EXE)
Dependency python found: YES (sysconfig)
Program install.sh found: YES (sh C:\Users\Danie\Documents\SU2\SU2_PY/pySU2\install.sh)
Message: -------------------------------------------------------------------------
| ___ _ _ ___ |
| / | | | | ) Release 7.2.0 "Blackbird" |
| _ \ || |/ / |
| |/_//___| Meson Configuration Summary |
| |
-------------------------------------------------------------------------
Build targets in project: 17
Found ninja.exe-1.9.0 at C:\Users\Danie\Documents\SU2\ninja.exe`
526 files install successfully.
WARNING: the currently checked out submodule commit in C:\Users\Danie\Documents\SU2\externals\opdi does not match the SHA-1 found in the index. Use 'git submodule update --init C:\Users\Danie\Documents\SU2\externals\opdi' to reset the module if necessary. SHA-1 tag stored in index does not match SHA tag stored in this script. Installing SU2_CFD/src\SU2_CFD.exe to C:\bin\bin Installing SU2_CFD/src\SU2_CFD_AD.exe to C:\bin\bin Installing SU2_CFD/src\SU2_CFD_DIRECTDIFF.exe to C:\bin\bin Installing SU2_DOT/src\SU2_DOT.exe to C:\bin\bin Installing SU2_DOT/src\SU2_DOT_AD.exe to C:\bin\bin Installing SU2_DEF/src\SU2_DEF.exe to C:\bin\bin Installing SU2_GEO/src\SU2_GEO.exe to C:\bin\bin Installing SU2_SOL/src\SU2_SOL.exe to C:\bin\bin Installing SU2_PY/pySU2\_pysu2.dll to C:\bin\bin Installing SU2_PY/pySU2\_pysu2.dll.a to C:\bin\lib Installing SU2_PY/pySU2\_pysu2ad.dll to C:\bin\bin Installing SU2_PY/pySU2\_pysu2ad.dll.a to C:\bin\lib Installing C:\Users\Danie\Documents\SU2\SU2_PY\continuous_adjoint.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\compute_uncertainty.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\finite_differences.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\mesh_deformation.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\parallel_computation.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\parallel_computation_fsi.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\package_tests.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\shape_optimization.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\merge_solution.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\set_ffd_design_var.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\compute_polar.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\compute_multipoint.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\discrete_adjoint.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\direct_differentiation.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\fsi_computation.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2_CFD.py to C:\bin\bin Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/__init__.py to C:\bin\bin/SU2 Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/eval/design.py to C:\bin\bin/SU2/eval Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/eval/functions.py to C:\bin\bin/SU2/eval Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/eval/gradients.py to C:\bin\bin/SU2/eval Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/eval/__init__.py to C:\bin\bin/SU2/eval Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/config.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/config_options.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/data.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/filelock.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/redirect.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/state.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/tools.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/historyMap.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/io/__init__.py to C:\bin\bin/SU2/io Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/opt/project.py to C:\bin\bin/SU2/opt Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/opt/scipy_tools.py to C:\bin\bin/SU2/opt Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/opt/__init__.py to C:\bin\bin/SU2/opt Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/adjoint.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/deform.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/direct.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/interface.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/merge.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/geometry.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/projection.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/run/__init__.py to C:\bin\bin/SU2/run Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/bunch.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/filter_adjoint.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/lhc_unif.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/misc.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/mp_eval.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/ordered_bunch.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/ordered_dict.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/plot.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/polarSweepLib.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/which.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/switch.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2/util/__init__.py to C:\bin\bin/SU2/util Installing C:\Users\Danie\Documents\SU2\SU2_PY\FSI_tools/__init__.py to C:\bin\bin/FSI_tools Installing C:\Users\Danie\Documents\SU2\SU2_PY\FSI_tools/FSIInterface.py to C:\bin\bin/FSI_tools Installing C:\Users\Danie\Documents\SU2\SU2_PY\FSI_tools/FSI_config.py to C:\bin\bin/FSI_tools Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2_Nastran/__init__.py to C:\bin\bin/SU2_Nastran Installing C:\Users\Danie\Documents\SU2\SU2_PY\SU2_Nastran/pysu2_nastran.py to C:\bin\bin/SU2_Nastran Running custom install script 'sh C:\\Users\\Danie\\Documents\\SU2\\SU2_PY/pySU2\\install.sh C:\\Users\\Danie\\Documents\\SU2\\build\\SU2_PY/pySU2 pysu2.py' Failed to run install script 'sh C:\\Users\\Danie\\Documents\\SU2\\SU2_PY/pySU2\\install.sh C:\\Users\\Danie\\Documents\\SU2\\build\\SU2_PY/pySU2 pysu2.py' FAILED: meson-install "C:\\Users\\Danie\\Anaconda3\\envs\\vsptools\\python.exe" "C:\\Users\\Danie\\Documents\\SU2\\meson.py" "install" "--no-rebuild" ninja: build stopped: subcommand failed.
I think it might be due to the fact that I am working in an Anaconda environment. But maybe not. Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions