From df145eb6e5517071d34e332c09cfbbb8719c53bb Mon Sep 17 00:00:00 2001 From: andped Date: Fri, 10 Jan 2025 18:37:11 +0100 Subject: [PATCH] Adding new easyconfig Clp-1.17.10-foss-2024a.eb --- .../c/Clp/Clp-1.17.10-foss-2024a.eb | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 easybuild/easyconfigs/c/Clp/Clp-1.17.10-foss-2024a.eb diff --git a/easybuild/easyconfigs/c/Clp/Clp-1.17.10-foss-2024a.eb b/easybuild/easyconfigs/c/Clp/Clp-1.17.10-foss-2024a.eb new file mode 100644 index 00000000000..1b57ea3358e --- /dev/null +++ b/easybuild/easyconfigs/c/Clp/Clp-1.17.10-foss-2024a.eb @@ -0,0 +1,44 @@ +easyblock = 'ConfigureMake' + +name = 'Clp' +version = '1.17.10' + +homepage = 'https://github.com/coin-or/Clp' +description = """Clp (Coin-or linear programming) is an open-source linear programming solver. +It is primarily meant to be used as a callable library, but a basic, +stand-alone executable version is also available.""" + +toolchain = {'name': 'foss', 'version': '2024a'} +toolchainopts = {'pic': True, 'usempi': True} + +source_urls = ['https://github.com/coin-or/%(name)s/archive/refs/tags/releases/'] +sources = ['%(version)s.tar.gz'] +checksums = ['0d79ece896cdaa4a3855c37f1c28e6c26285f74d45f635046ca0b6d68a509885'] + +builddependencies = [ + ('Autotools', '20231222'), + ('Doxygen', '1.11.0'), + ('pkgconf', '2.2.0'), +] +dependencies = [ + ('METIS', '5.1.0'), + ('MUMPS', '5.7.2', '-metis'), + ('CoinUtils', '2.11.12'), + ('Osi', '0.108.11'), + ('bzip2', '1.0.8'), + ('zlib', '1.3.1'), +] + +# Use BLAS/LAPACK from toolchain +configopts = '--with-blas="$LIBBLAS" --with-lapack="$LIBLAPACK" --with-metis-lib="-lmetis" --with-mumps-lib="-lesmumps -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lmpi_mpifh -lmetis -lscotch -lptscotch -lptscotcherr -lscotcherrexit -lscotcherr $LIBSCALAPACK" --without-glpk --with-coinutils-lib="-lCoinUtils" --with-coinutils-datadir=$EBROOTCOINUTILS/share/coin/Data --with-osi-lib="-lOsi" --with-osi-datadir=$EBROOTOSI/share/coin/Data ' + + +sanity_check_paths = { + 'files': ['bin/%(namelower)s', 'lib/libClp.so', 'lib/libClpSolver.so', 'lib/libOsiClp.so'], + 'dirs': ['include/coin', 'lib/pkgconfig', 'share/coin'], +} + +# other coin-or projects expect instead of +modextrapaths = {'CPATH': 'include/coin'} + +moduleclass = 'math' \ No newline at end of file