Skip to content

Commit

Permalink
Add 2.6.2 hashes (#200)
Browse files Browse the repository at this point in the history
* Try to fix linking for el7

* Try to fix el7 linking again

* try again

* Skip mumps on el7

* Fix el7

* Fix shared ipopt linking

* Fix el7?

* Give up on shared ipopt library for el7

* add comment

* el7 fix shared?

* Remove data

* el7 linking more

* fix

* fix

* Fix

* fix

* fix

* Fix

* Fix

* fix

* fix

* fix

* Fix

* Fix

* Fix

* Fix

* Give up and drop mumps in el7

* Fix

* fix

* Fix

* Add 2.6.2 release hash.
  • Loading branch information
John Eslick committed May 11, 2022
1 parent 017e320 commit 616a376
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 64 deletions.
33 changes: 33 additions & 0 deletions releases/sha256sum_2.6.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
1a5b07f8cd51b84396e23c1f39a5d8a1ba170cbea128b048dc30859563659ead idaes-solvers-darwin-aarch64.tar.gz
6dc17bf6b323c98270b91138b93000ec7163e2b29b624b579a73f3aebd49d94d idaes-lib-darwin-aarch64.tar.gz
edfbb7f5d585e6ebfc7dc2244fa19b58a7473e4e597fc00f168ae10535e118ba idaes-solvers-el7-x86_64.tar.gz
16d253f630c08fc2781f5bfb77a49b0d524e377291b65b3d99fb9d4e8075633c idaes-lib-el7-x86_64.tar.gz
39bc2c9c5e0b64952aa4186750e5128b6aa5b56722bdb26cb14a3b6ebbd3990f idaes-solvers-el8-x86_64.tar.gz
150df454e0700f063eb28bccfe76858a00fcb37841c5563919768738d3f1dc12 idaes-lib-el8-x86_64.tar.gz
fd33c2d41258178b98b37d6dc73daa86e4c34529a256c1ae4ec6e732848007c1 idaes-solvers-el8-aarch64.tar.gz
992ff8f3a0815d4dc750d3b02d321d1d164761f66a8fe524825bee054d01428e idaes-lib-el8-aarch64.tar.gz
1644380c4a5a8308c5abcf53a8e97532059e89bfa56b81c4b67bc5b732dc8670 idaes-solvers-ubuntu1804-x86_64.tar.gz
1fca54ad5a180f0cc9f4da6a0cdaeb366a5c65b17e475cb862a9f0cdf09eaeb8 idaes-lib-ubuntu1804-x86_64.tar.gz
a020b183c6c1be20846c301843d741fe07843eb400ad73e89df40b71bf5273a6 idaes-solvers-ubuntu1804-aarch64.tar.gz
b6512e2ed2230937c0bfd7628df38f3077dfc56c9d6e1f8d0d6c9c8cf21563ab idaes-lib-ubuntu1804-aarch64.tar.gz
1e17521ef73471b0a889370bf1308af1311385c1803d085d8726baa3cf422fdc idaes-solvers-ubuntu2004-x86_64.tar.gz
d4e92a8473c6ba0c91f3cbaefe1a5248919552f37cdfc3dac410f31bb197b35b idaes-lib-ubuntu2004-x86_64.tar.gz
8cdbf5507b9c0820a26fea32182e8ea81b11e016f78e95944d79ed8a00df67da idaes-solvers-ubuntu2004-aarch64.tar.gz
edaabb8bf78a4315e6169aef080371453a6d1c3c49d765a0dd3ef2ef5bd3f916 idaes-lib-ubuntu2004-aarch64.tar.gz
24b390d66918511078348b29cbe37a38b8a85a5965fa7bb0b377fd31caff556f idaes-solvers-ubuntu2204-x86_64.tar.gz
a5458674db299d6b1e949560463a3960e6da78954436977a3c25c06d1fe62953 idaes-lib-ubuntu2204-x86_64.tar.gz
f4f4d0554c4f1f64a418813d99ca627d7db2e82f601e92ffabbd3c1041f59b58 idaes-solvers-ubuntu2204-aarch64.tar.gz
b807e71abbe2f2ed8d23f45ac4cf7e2e30e20119deefaf0641ce2b89623eb4c1 idaes-lib-ubuntu2204-aarch64.tar.gz
9d91dfa96e5b002c1522d07fe0aac3a4d376a3c5f94fb1d6854137ff667ddcd6 idaes-solvers-windows-x86_64.tar.gz
a5b5d13461fdd0b63512626ffc7849838bc703135ed27a28d57547eaf04af17c idaes-lib-windows-x86_64.tar.gz
806cef5adf6face646a679aeaca97879fa0177e65e6c03183cac01051e54289c idaes-petsc-darwin-aarch64.tar.gz
88fd1c8307218a3601359dc864e9bf6f15dd0ae8c8df2e9cdf9df7c617404d99 idaes-petsc-el7-x86_64.tar.gz
e207239fc37d01f05249989498a838bf148d41529b09780dd83dddf285a0e371 idaes-petsc-el8-x86_64.tar.gz
ca231128dade65711035cdde3a21fc56b4e3bcf83333e3d2a3bf95476ca37797 idaes-petsc-el8-aarch64.tar.gz
e11c1e69529701b6f75fff766e41d84dc5de9ce129b69a9af1423f6c11a92de6 idaes-petsc-ubuntu1804-x86_64.tar.gz
8c52ef14bf28d55c67c20cd7055a60e7d8adb24573de6351f1902c1a22d6fb77 idaes-petsc-ubuntu1804-aarch64.tar.gz
314b9f7c84d976ef3eef6d558c89d5c4d52c4c7b887eb41382cd3d09bbffbed6 idaes-petsc-ubuntu2004-x86_64.tar.gz
001635529d7db71fc1f4f9537ffe841a6b42f504bb893c121890f57ba01368be idaes-petsc-ubuntu2004-aarch64.tar.gz
7578c3a0a4b4d3b3b95163fa9a2d6b599eff26690afe5b4c43eaa96141b6cb1c idaes-petsc-ubuntu2204-x86_64.tar.gz
fa15214dd7245f09ff6e6fb0921f51c0d20628cf4cc46fee90ed581ce363a705 idaes-petsc-ubuntu2204-aarch64.tar.gz
90c078619407feb2c5605c04f2c677d2606c0234c88de5319a280d06133f715a idaes-petsc-windows-x86_64.tar.gz
107 changes: 43 additions & 64 deletions scripts/compile_solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
osname=$1;
if [ -z $osname ]
then
echo "Must spcify plaform in {windows, darwin, centos6, centos7, centos8, "
echo "Must spcify plaform in {windows, darwin, el7, el8, "
echo " ubuntu180, ubuntu2004, ubuntu2204}."
exit 1
fi
Expand Down Expand Up @@ -44,13 +44,6 @@ else
fi
export PETSC_ARCH=""

# Work-around for mumps gcc v10 gfortran bug
# GFMV=(${GFORT_VERSION//./ })
# if [ ${GFMV[0]} -ge 10 ]; then
# export FCFLAGS="-w -fallow-argument-mismatch -O2"
# export FFLAGS="-w -fallow-argument-mismatch -O2"
#fi

mkdir coinbrew
cd coinbrew

Expand Down Expand Up @@ -111,9 +104,9 @@ else
with_hsl="NO"
fi



######
# Set PKG_CONFIG_PATH so configure scripts can find the stuff we build
#######
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${IDAES_EXT}/coinbrew/dist/lib/pkgconfig

echo "#########################################################################"
Expand All @@ -139,70 +132,46 @@ make install
cd $IDAES_EXT/coinbrew

echo "#########################################################################"
echo "# Data/Netlib #"
echo "# Ipopt ampl executables #"
echo "#########################################################################"
cd Data/Netlib
if [ "$MNAME" = "aarch64" ]; then
./configure --build=aarch64-unknown-linux-gnu --prefix=$IDAES_EXT/coinbrew/dist
cd Ipopt
if [ ${osname} = "el7" ]; then
./configure --disable-shared --enable-static --without-mumps \
--prefix=$IDAES_EXT/coinbrew/dist \
LDFLAGS="-L$PETSC_DIR/lib -lmetis" \
ADD_CXXFLAGS="-I$IDAES_EXT/coinbrew/dist/include/coin-or/"
else
./configure --prefix=$IDAES_EXT/coinbrew/dist
./configure --disable-shared --enable-static --with-mumps \
--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 -ldmumps -lmumps_common -lmpiseq -lpord"
fi
make
make install
cd $IDAES_EXT/coinbrew

echo "#########################################################################"
echo "# Data/Sample #"
echo "# Ipopt_L1 ampl executables #"
echo "#########################################################################"
cd Data/Sample
if [ "$MNAME" = "aarch64" ]; then
./configure --build=aarch64-unknown-linux-gnu --prefix=$IDAES_EXT/coinbrew/dist
else
./configure --prefix=$IDAES_EXT/coinbrew/dist
fi
make
make install
cd $IDAES_EXT/coinbrew
cd Ipopt_l1

echo "#########################################################################"
echo "# Data/miplib3 #"
echo "#########################################################################"
cd Data/miplib3
if [ "$MNAME" = "aarch64" ]; then
./configure --build=aarch64-unknown-linux-gnu --prefix=$IDAES_EXT/coinbrew/dist
if [ ${osname} = "el7" ]; then
./configure --disable-shared --enable-static --without-mumps \
--prefix=$IDAES_EXT/coinbrew/dist_l1 \
ADD_CXXFLAGS="-std=c++11" \
LDFLAGS="-L$PETSC_DIR/lib -ldmumps -lmumps_common -lmpiseq -lpord"
else
./configure --prefix=$IDAES_EXT/coinbrew/dist
./configure --disable-shared --enable-static --with-mumps \
--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 -ldmumps -lmumps_common -lmpiseq -lpord"
fi
make
make install
cd $IDAES_EXT/coinbrew

echo "#########################################################################"
echo "# Ipopt ampl executables #"
echo "#########################################################################"
cd Ipopt
./configure --disable-shared --enable-static --with-mumps \
--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 -ldmumps -lmumps_common -lmpiseq -lpord"
make
make install
cd $IDAES_EXT/coinbrew

echo "#########################################################################"
echo "# Ipopt_L1 ampl executables #"
echo "#########################################################################"
cd Ipopt_l1
./configure --disable-shared --enable-static --with-mumps \
--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 -ldmumps -lmumps_common -lmpiseq -lpord"
make
make install
cd $IDAES_EXT/coinbrew

echo "#########################################################################"
echo "# CoinUtils #"
echo "#########################################################################"
Expand Down Expand Up @@ -311,12 +280,22 @@ cd $IDAES_EXT/coinbrew
echo "#########################################################################"
echo "# Ipopt Shared Libraries #"
echo "#########################################################################"
cd Ipopt_share
./configure --enable-shared --disable-static --without-asl --disable-java --with-mumps \
--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 -ldmumps -lmumps_common -lmpiseq -lpord"
cd Ipopt_share ADD_CXXFLAGS

if [ ${osname} = "el7" ]; then
./configure --enable-shared --disable-static --without-asl --disable-java \
--without-mumps \
--prefix=$IDAES_EXT/coinbrew/dist-share \
LDFLAGS="-L$PETSC_DIR/lib -lmetis" \
ADD_CXXFLAGS="-I$IDAES_EXT/coinbrew/dist/include/coin-or/"
else
./configure --enable-shared --disable-static --without-asl --disable-java \
--with-mumps \
--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 -ldmumps -lmumps_common -lmpiseq -lpord"
fi
make
make install
cd $IDAES_EXT/coinbrew
Expand Down
1 change: 1 addition & 0 deletions scripts/docker_linux_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
git checkout newbin
conda create -n idaes python=3.9 pip psutil
conda activate idaes
rm /root/miniconda/envs/idaes/bin/../lib/libstdc++.so.6 # work around for ubuntu 22.04
pip install -e .
idaes get-extensions --extra petsc --url https://github.com/IDAES/idaes-ext/releases/download/test-release/'

Expand Down

0 comments on commit 616a376

Please sign in to comment.