OpenMDAO / build_pyoptsparse

python script to build/install pyoptsparse with IPOPT (and optionally SNOPT)
Apache License 2.0
9 stars 15 forks source link

Test workflow jobs that were building ParOpt are no longer building successfully. #69

Open swryan opened 3 months ago

swryan commented 3 months ago

Test workflow jobs that were building ParOpt (Ubuntu Baseline and Ubuntu Latest) are no longer building successfully.

I do not see any configuration changes when looking at the build logs.

The ParOpt option has been disabled in those workflows until the build issue can be resolved.

  Building wheel for paropt (pyproject.toml): started
  Building wheel for paropt (pyproject.toml): finished with status 'error'
Failed to build paropt
   error: subprocess-exited-with-error

  × Building wheel for paropt (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
      running bdist_wheel
      running build
      running build_ext
      building 'paropt.ParOpt' extension
      creating build
      creating build/temp.linux-x86_64-cpython-312
      creating build/temp.linux-x86_64-cpython-312/paropt
      gcc -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/runner/miniconda3/envs/test/include -fPIC -O2 -isystem /home/runner/miniconda3/envs/test/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/runner/miniconda3/envs/test/include -fPIC -Iparopt -I/home/runner/miniconda3/envs/test/include -I/tmp/tmpr8pfwrib/src -I/tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include -I/tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/mpi4py/include -I/home/runner/miniconda3/envs/test/include/python3.12 -c paropt/ParOpt.cpp -o build/temp.linux-x86_64-cpython-312/paropt/ParOpt.o
      In file included from /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929,
                       from /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                       from /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5,
                       from paropt/ParOpt.cpp:1306:
      /tmp/pip-build-env-6w1a91z5/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
         17 | #warning "Using deprecated NumPy API, disable it with " \
            |  ^~~~~~~
      paropt/ParOpt.cpp:2095:3: error: 'MPI_Session' does not name a type
       2095 |   MPI_Session ob_mpi;
            |   ^~~~~~~~~~~
      error: command '/home/runner/miniconda3/envs/test/bin/gcc' failed with exit code 1
      [end of output]