Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
swryan opened this issue Jul 30, 2024 · 0 comments

Comments

@swryan
Copy link
Contributor

swryan commented Jul 30, 2024

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant