Skip to content

Commit

Permalink
Merge pull request #199 from eslickj/main
Browse files Browse the repository at this point in the history
Fix linux linking?
  • Loading branch information
John Eslick committed May 10, 2022
2 parents d1cc210 + 62c83dd commit 017e320
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/compile_solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ cd Ipopt
--with-mumps-lflags="-L$PETSC_DIR/lib -lmetis" \
--with-mumps-cflags="-I$PETSC_DIR/include -I$PETSC_DIR/include/mumps_libseq" \
--prefix=$IDAES_EXT/coinbrew/dist \
LDFLAGS="-L$PETSC_DIR/lib -lmetis -ldmumps -lmumps_common -lmpiseq -lpord"
LDFLAGS="-L$PETSC_DIR/lib -ldmumps -lmumps_common -lmpiseq -lpord"
make
make install
cd $IDAES_EXT/coinbrew
Expand All @@ -198,7 +198,7 @@ cd Ipopt_l1
--with-mumps-lflags="-L$PETSC_DIR/lib -lmetis" \
--with-mumps-cflags="-I$PETSC_DIR/include -I$PETSC_DIR/include/mumps_libseq" \
--prefix=$IDAES_EXT/coinbrew/dist_l1 \
LDFLAGS="-L$PETSC_DIR/lib -lmetis -ldmumps -lmumps_common -lmpiseq -lpord"
LDFLAGS="-L$PETSC_DIR/lib -ldmumps -lmumps_common -lmpiseq -lpord"
make
make install
cd $IDAES_EXT/coinbrew
Expand Down Expand Up @@ -316,7 +316,7 @@ cd Ipopt_share
--with-mumps-lflags="-L$PETSC_DIR/lib -lmetis" \
--with-mumps-cflags="-I$PETSC_DIR/include -I$PETSC_DIR/include/mumps_libseq" \
--prefix=$IDAES_EXT/coinbrew/dist-share \
LDFLAGS="-L$PETSC_DIR/lib -lmetis -ldmumps -lmumps_common -lmpiseq -lpord"
LDFLAGS="-L$PETSC_DIR/lib -ldmumps -lmumps_common -lmpiseq -lpord"
make
make install
cd $IDAES_EXT/coinbrew
Expand Down

0 comments on commit 017e320

Please sign in to comment.