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

Compatibility w/ IPOPT v3.14 #150

Open
3 of 13 tasks
jaelynlitz opened this issue Jul 13, 2024 · 0 comments
Open
3 of 13 tasks

Compatibility w/ IPOPT v3.14 #150

jaelynlitz opened this issue Jul 13, 2024 · 0 comments

Comments

@jaelynlitz
Copy link
Contributor

Issue type

  • New feature
  • Bug
  • Discussion
  • Other

Relates to

  • OPFLOW
  • SOPFLOW
  • SCOPFLOW
  • TCOPFLOW
  • CMake build system
  • Spack configuration
  • Manual
  • Web docs
  • Other [Interface + Solver]

Summary

When building w/ new coinhsl (v2023.11.17) and new IPOPT (v3.14), ExaGO fails to build due to an update in IPOPT's interface.

Exact commands to reproduce, if applicable

working on generating modules for repro...

Relevant logs and/or screenshots, if applicable

==> Installing exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu [25/25]
==> No binary for exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu found: installing from source
==> No patches needed for exago
==> exago: Executing phase: 'cmake'
==> exago: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j64'

4 errors found in build log:
     334    [ 44%] Building CXX object src/opflow/CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opflow_hiopsparse.cpp.o
     335    cd /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt
            7/src/opflow && /share/apps/openmpi/4.1.0mlx5.0/gcc/9.1.0/bin/mpic++ -DCAMP_HAVE_CUDA -DSPDLOG_COMPILED_LIB -I/qfs/projects/earthshot/src/li
            tz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/include -I/qfs/projects/earthshot/src/lit
            z372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt7 -I/qfs/projects/earthshot/src/li
            tz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt7/include -I/qfs/projects/earthsh
            ot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/include/private -I/qfs/projects/
            earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/tpl/spdlog/include -isyst
            em /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/camp-0.2.3-nfoznij6ervvk66amp5mzbjpbj3hi6wt/include -isyste
            m /share/apps/cuda/11.4/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/umpire-6.0.0-hbiagm6o
            56dxejxnxgc7labetvfc222f/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/raja-0.14.0-l3lfbkbb
            nqe7ve2n2mzv3y7uxg3hiemy/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/cub-2.1.0-p3by7gqfgb
            3v6bugkx7kpc2pke5nfnhe/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/petsc-3.21.0-wrzmcd6kn
            pqhfg6nz3ca7csmhnjfs3oj/include -O3 -DNDEBUG -std=gnu++14 -fPIC -fopenmp -MD -MT src/opflow/CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opf
            low_hiop.cpp.o -MF CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opflow_hiop.cpp.o.d -o CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opflow_h
            iop.cpp.o -c /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-sr
            c/src/opflow/solver/hiop/opflow_hiop.cpp
     336    cd /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt
            7/src/opflow && /share/apps/openmpi/4.1.0mlx5.0/gcc/9.1.0/bin/mpic++ -DCAMP_HAVE_CUDA -DSPDLOG_COMPILED_LIB -I/qfs/projects/earthshot/src/li
            tz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/include -I/qfs/projects/earthshot/src/lit
            z372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt7 -I/qfs/projects/earthshot/src/li
            tz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt7/include -I/qfs/projects/earthsh
            ot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/include/private -I/qfs/projects/
            earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/tpl/spdlog/include -isyst
            em /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/camp-0.2.3-nfoznij6ervvk66amp5mzbjpbj3hi6wt/include -isyste
            m /share/apps/cuda/11.4/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/umpire-6.0.0-hbiagm6o
            56dxejxnxgc7labetvfc222f/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/raja-0.14.0-l3lfbkbb
            nqe7ve2n2mzv3y7uxg3hiemy/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/cub-2.1.0-p3by7gqfgb
            3v6bugkx7kpc2pke5nfnhe/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/petsc-3.21.0-wrzmcd6kn
            pqhfg6nz3ca7csmhnjfs3oj/include -O3 -DNDEBUG -std=gnu++14 -fPIC -fopenmp -MD -MT src/opflow/CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opf
            low_hiopsparse.cpp.o -MF CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opflow_hiopsparse.cpp.o.d -o CMakeFiles/OPFLOW_obj_static.dir/solver/h
            iop/opflow_hiopsparse.cpp.o -c /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylur
            t3b7oitmu/spack-src/src/opflow/solver/hiop/opflow_hiopsparse.cpp
     337    [ 45%] Building CXX object src/opflow/CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opflow_hiopsparsegpu.cpp.o
     338    cd /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt
            7/src/opflow && /share/apps/openmpi/4.1.0mlx5.0/gcc/9.1.0/bin/mpic++ -DCAMP_HAVE_CUDA -DSPDLOG_COMPILED_LIB -I/qfs/projects/earthshot/src/li
            tz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/include -I/qfs/projects/earthshot/src/lit
            z372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt7 -I/qfs/projects/earthshot/src/li
            tz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt7/include -I/qfs/projects/earthsh
            ot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/include/private -I/qfs/projects/
            earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/tpl/spdlog/include -isyst
            em /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/camp-0.2.3-nfoznij6ervvk66amp5mzbjpbj3hi6wt/include -isyste
            m /share/apps/cuda/11.4/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/umpire-6.0.0-hbiagm6o
            56dxejxnxgc7labetvfc222f/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/raja-0.14.0-l3lfbkbb
            nqe7ve2n2mzv3y7uxg3hiemy/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/cub-2.1.0-p3by7gqfgb
            3v6bugkx7kpc2pke5nfnhe/include -isystem /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/petsc-3.21.0-wrzmcd6kn
            pqhfg6nz3ca7csmhnjfs3oj/include -O3 -DNDEBUG -std=gnu++14 -fPIC -fopenmp -MD -MT src/opflow/CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opf
            low_hiopsparsegpu.cpp.o -MF CMakeFiles/OPFLOW_obj_static.dir/solver/hiop/opflow_hiopsparsegpu.cpp.o.d -o CMakeFiles/OPFLOW_obj_static.dir/so
            lver/hiop/opflow_hiopsparsegpu.cpp.o -c /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7pu
            xp7pwylurt3b7oitmu/spack-src/src/opflow/solver/hiop/opflow_hiopsparsegpu.cpp
     339    In file included from /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu
            /spack-src/src/opflow/solver/ipopt/opflow_ipopt.cpp:4:
  >> 340    /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-src/src/opflow/
            solver/ipopt/opflow_ipopt.h:7:10: fatal error: IpStdCInterface.h: No such file or directory
     341        7 | #include <IpStdCInterface.h>
     342          |          ^~~~~~~~~~~~~~~~~~~
     343    compilation terminated.
  >> 344    make[2]: *** [src/opflow/CMakeFiles/OPFLOW_obj_static.dir/build.make:262: src/opflow/CMakeFiles/OPFLOW_obj_static.dir/solver/ipopt/opflow_ip
            opt.cpp.o] Error 1
     345    make[2]: *** Waiting for unfinished jobs....
     346    [ 46%] Linking CXX executable pflow
     347    cd /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-gp7mnt
            7/applications && /qfs/projects/ops/rh7_gpu/cmake/3.26.3/bin/cmake -E cmake_link_script CMakeFiles/app_pflow.dir/link.txt --verbose=1
     348    /share/apps/openmpi/4.1.0mlx5.0/gcc/9.1.0/bin/mpic++ -O3 -DNDEBUG CMakeFiles/app_pflow.dir/pflow_main.cpp.o -o pflow  -Wl,-rpath,/qfs/projec
            ts/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/petsc-3.21.0-wrzmcd6knpqhfg6nz3ca7csmhnjfs3oj/lib::::::::::::::::::::::::
            ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ../src/pflow/libexago_pflow.a ../s
            rc/ps/libexago_ps.a ../src/utils/libexago_utils.a /qfs/projects/earthshot/src/deception-ci/install/linux-centos7-zen2/gcc-9.1.0/petsc-3.21.0
            -wrzmcd6knpqhfg6nz3ca7csmhnjfs3oj/lib/libpetsc.so ../tpl/spdlog/libspdlog.a
     349    make[2]: Leaving directory '/qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b
            7oitmu/spack-build-gp7mnt7'
     350    [ 46%] Built target app_pflow
     351    make[2]: Leaving directory '/qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b
            7oitmu/spack-build-gp7mnt7'
  >> 352    make[1]: *** [CMakeFiles/Makefile2:587: src/opflow/CMakeFiles/OPFLOW_obj_static.dir/all] Error 2
     353    make[1]: Leaving directory '/qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b
            7oitmu/spack-build-gp7mnt7'
  >> 354    make: *** [Makefile:139: all] Error 2

See build log for details:
  /qfs/projects/earthshot/src/litz372/spack-cache/build-stage/spack-stage-exago-develop-gp7mnt7jy5q7puxp7pwylurt3b7oitmu/spack-build-out.txt
[spack-env-deception] [05:16 PM] [litz372@deception01 ExaGO] $ spack concretize -f
==> Warning: using "[email protected]" which is a deprecated version
==> Concretized exago@develop%[email protected]+ipopt cuda_arch=60,70,75,80
 -   gp7mnt7  exago@develop%[email protected]+cuda~hiop~ipo+ipopt+logging+mpi+python+raja~rocm build_system=cmake build_type=Release cuda_arch=60,70,75,80 generator=make arch=linux-centos7-zen2
[+]  nfoznij      ^[email protected]%[email protected]+cuda~ipo~openmp~rocm~tests build_system=cmake build_type=Release cuda_arch=60,70,75,80 generator=make patches=cb9e25b arch=linux-centos7-zen2
[+]  ltshwnr          ^[email protected]%[email protected] build_system=generic arch=linux-centos7-zen2
[+]  p3by7gq          ^[email protected]%[email protected] build_system=generic arch=linux-centos7-zen2
[e]  wryjrgo      ^[email protected]%[email protected]~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-centos7-zen2
[e]  ifr672p      ^[email protected]%[email protected]~allow-unsupported-compilers~dev build_system=generic arch=linux-centos7-zen2
[+]  ygupjcd      ^[email protected]%[email protected] build_system=generic arch=linux-centos7-zen2
[+]  6udeci3      ^[email protected]%[email protected]~guile build_system=generic arch=linux-centos7-zen2
[+]  5yh66pw      ^[email protected]%[email protected]+cuda~cusolver_lu~deepchecking~ginkgo~ipo~jsrun~kron+mpi+raja~rocm~shared~sparse build_system=cmake build_type=Release cuda_arch=60,70,75,80 generator=make arch=linux-centos7-zen2
[+]  z42l76p          ^[email protected]%[email protected]+cuda+fortran~ipo~rocm+shared build_system=cmake build_type=Release cuda_arch=60,70,75,80 generator=make arch=linux-centos7-zen2
[e]  jajp5b4      ^[email protected]%[email protected]+coinhsl~debug~metis~mumps build_system=autotools arch=linux-centos7-zen2
[+]  3thlgs6      ^[email protected]%[email protected]~bignuma~consistent_fpcsr+dynamic_dispatch+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threads=none arch=linux-centos7-zen2
[e]  cjrkygi          ^[email protected]%[email protected]+cpanm+opcode+open+shared+threads build_system=generic patches=0eac10e,8cf4302 arch=linux-centos7-zen2
[e]  nld6od6      ^[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs~internal-hwloc~internal-libevent~internal-pmix~java~legacylaunchers~lustre~memchecker~openshmem~orterunprefix~romio+rsh~singularity~static+vt+wrapper-rpath build_system=autotools fabrics=none patches=60ce20b romio-filesystem=none schedulers=none arch=linux-centos7-zen2
[+]  wrzmcd6      ^[email protected]%[email protected]~X+batch~cgns~complex~cuda~debug+double~exodusii~fftw+fortran~giflib~hdf5~hpddm~hwloc~hypre~int64~jpeg~knl~kokkos~libpng~libyaml~memkind~metis~mkl-pardiso~mmg~moab~mpfr+mpi~mumps~openmp~p4est~parmmg~ptscotch~random123~rocm~saws~scalapack+shared~strumpack~suite-sparse~superlu-dist~sycl~tetgen~trilinos~valgrind~zoltan build_system=generic clanguage=C memalign=none arch=linux-centos7-zen2
[+]  zin5bzm          ^[email protected]%[email protected] build_system=autotools arch=linux-centos7-zen2
[+]  l4igion              ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=linux-centos7-zen2
[+]  xwcupa3      ^[email protected]%[email protected] build_system=autotools arch=linux-centos7-zen2
[+]  cric2ok      ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  ctkneyl          ^[email protected]%[email protected] build_system=python_pip patches=c4369ad arch=linux-centos7-zen2
[+]  grpf7km          ^[email protected]%[email protected] build_system=generic arch=linux-centos7-zen2
[+]  63mqotz          ^[email protected]%[email protected] build_system=generic arch=linux-centos7-zen2
[+]  z647tor          ^[email protected]%[email protected] build_system=generic arch=linux-centos7-zen2
[+]  wxpgkjn      ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  qab77fn          ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  o6462ld              ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  f26v5oh          ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  pwln4fw              ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  vzmrnyr              ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  56do76v                  ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  pvhr3ts                  ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  y2e4tn5                  ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  7flwwiy                      ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  o4r4sqg          ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  wq5rp5a              ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  asdjs55          ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  cb3fyyv          ^[email protected]%[email protected]+toml build_system=python_pip arch=linux-centos7-zen2
[e]  qxn54jq              ^[email protected]%[email protected]+man+nls+perl+subtree~svn~tcltk build_system=autotools arch=linux-centos7-zen2
[+]  hbnmu7l              ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[+]  ywd2qsx          ^[email protected]%[email protected] build_system=python_pip arch=linux-centos7-zen2
[e]  c4hvnbb      ^[email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,4c24573,ebdca64,f2fd060 arch=linux-centos7-zen2
[+]  l3lfbkb      ^[email protected]%[email protected]+cuda~desul~examples~exercises~ipo~omptask~openmp~plugins~rocm~run-all-tests+shared~tests~vectorization build_system=cmake build_type=Release cuda_arch=60,70,75,80 generator=make arch=linux-centos7-zen2
[+]  hbiagm6      ^[email protected]%[email protected]~asan~backtrace+c+cuda~dev_benchmarks~device_alloc~deviceconst~examples~fortran~ipc_shmem~ipo~mpi~numa~openmp~openmp_target~rocm~sanitizer_tests~shared~sqlite_experimental~tools~werror build_system=cmake build_type=Release cuda_arch=60,70,75,80 generator=make tests=none arch=linux-centos7-zen2

Possible fixes, if applicable

cc @abhyshr

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