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

Aperta
#69 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, python

Direzione di ricerca

The Ubuntu Baseline and Ubuntu Latest test workflows are named, and the build log shows the failure while compiling ParOpt with Python 3.12: MPI_Session is not recognized. Start by inspecting those workflow definitions and the ParOpt build configuration or dependency versions they use. Determine what causes the compile failure, restore successful ParOpt builds in both workflows, and confirm the jobs pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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]
Lingua principale
Python
Stelle
14
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.