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

hiop: new port in math #17393

Merged
merged 1 commit into from
Feb 10, 2023
Merged

hiop: new port in math #17393

merged 1 commit into from
Feb 10, 2023

Conversation

barracuda156
Copy link
Contributor

Signed-off-by: Sergey Fedorov vital.had@gmail.com

Description

New port in math: https://github.com/LLNL/hiop

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 10.6.8 Server
Xcode 3.2.6

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

All tests pass in Rosetta:

--->  Testing hiop
Executing:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_hiop/hiop/work/build" && DYLD_LIBRARY_PATH=/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_hiop/hiop/work/build/src /usr/bin/make test 
Running tests...
/opt/local/bin/ctest --force-new-ctest-process 
Test project /opt/local/var/macports/build/_opt_PPCRosettaPorts_math_hiop/hiop/work/build
      Start  1: VectorTest
 1/24 Test  #1: VectorTest .......................   Passed    0.40 sec
      Start  2: VectorTest_mpi
 2/24 Test  #2: VectorTest_mpi ...................   Passed    0.30 sec
      Start  3: MatrixTest
 3/24 Test  #3: MatrixTest .......................   Passed    0.81 sec
      Start  4: MatrixTest_mpi
 4/24 Test  #4: MatrixTest_mpi ...................   Passed    0.89 sec
      Start  5: SparseMatrixTest
 5/24 Test  #5: SparseMatrixTest .................   Passed    0.24 sec
      Start  6: SymmetricSparseMatrixTest
 6/24 Test  #6: SymmetricSparseMatrixTest ........   Passed    0.20 sec
      Start  7: NlpDenseCons1_5H
 7/24 Test  #7: NlpDenseCons1_5H .................   Passed    0.35 sec
      Start  8: NlpDenseCons1_5K
 8/24 Test  #8: NlpDenseCons1_5K .................   Passed    0.38 sec
      Start  9: NlpDenseCons1_50K
 9/24 Test  #9: NlpDenseCons1_50K ................   Passed    0.83 sec
      Start 10: NlpDenseCons1_50K_mpi
10/24 Test #10: NlpDenseCons1_50K_mpi ............   Passed    0.86 sec
      Start 11: NlpDenseCons2_5H
11/24 Test #11: NlpDenseCons2_5H .................   Passed    0.39 sec
      Start 12: NlpDenseCons2_5K
12/24 Test #12: NlpDenseCons2_5K .................   Passed    0.56 sec
      Start 13: NlpDenseCons2_UN_5K
13/24 Test #13: NlpDenseCons2_UN_5K ..............   Passed    0.51 sec
      Start 14: NlpDenseCons3_5H
14/24 Test #14: NlpDenseCons3_5H .................   Passed    0.43 sec
      Start 15: NlpDenseCons3_5K
15/24 Test #15: NlpDenseCons3_5K .................   Passed    0.71 sec
      Start 16: NlpDenseCons3_50K
16/24 Test #16: NlpDenseCons3_50K ................   Passed    3.77 sec
      Start 17: NlpDenseCons3_50K_mpi
17/24 Test #17: NlpDenseCons3_50K_mpi ............   Passed    4.04 sec
      Start 18: NlpMixedDenseSparse1_1
18/24 Test #18: NlpMixedDenseSparse1_1 ...........   Passed    1.21 sec
      Start 19: NlpMixedDenseSparse1_2
19/24 Test #19: NlpMixedDenseSparse1_2 ...........   Passed    1.20 sec
      Start 20: NlpMixedDenseSparse1_3
20/24 Test #20: NlpMixedDenseSparse1_3 ...........   Passed    1.07 sec
      Start 21: NlpMixedDenseSparse2_1
21/24 Test #21: NlpMixedDenseSparse2_1 ...........   Passed    7.70 sec
      Start 22: NlpMixedDenseSparseCinterface
22/24 Test #22: NlpMixedDenseSparseCinterface ....   Passed    1.31 sec
      Start 23: NlpPriDec1_1
23/24 Test #23: NlpPriDec1_1 .....................   Passed    0.37 sec
      Start 24: NlpPriDec1_mpi
24/24 Test #24: NlpPriDec1_mpi ...................   Passed    1.18 sec

100% tests passed, 0 tests failed out of 24

Total Test time (real) =  29.81 sec

@barracuda156
Copy link
Contributor Author

(Let me actually try something first.)

@barracuda156
Copy link
Contributor Author

I will check later why Clang does not want to install metis +openmp. It is actually needed.

@barracuda156 barracuda156 marked this pull request as draft January 22, 2023 09:51
Signed-off-by: Sergey Fedorov <vital.had@gmail.com>
@barracuda156
Copy link
Contributor Author

UPD. Let me actually remove fancy variants for now. Once this is merged in a basic config, I will work on variants.

@barracuda156
Copy link
Contributor Author

@herbygillot Could you please help with merging this port? 100% of tests pass in the current configuration. I will add variants to support optional backends in a while – it requires some work, which will take time.

@barracuda156 barracuda156 marked this pull request as ready for review February 10, 2023 11:05
@herbygillot herbygillot merged commit 29273e8 into macports:master Feb 10, 2023
@barracuda156 barracuda156 deleted the hiop branch February 10, 2023 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants