Skip to content

Commit

Permalink
Adding new easyconfig Clp-1.17.10-foss-2024a.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
andped committed Jan 10, 2025
1 parent bc5541e commit df145eb
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/c/Clp/Clp-1.17.10-foss-2024a.eb
Original file line number Diff line number Diff line change
@@ -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 <header.hpp> instead of <coin/header.hpp>
modextrapaths = {'CPATH': 'include/coin'}

moduleclass = 'math'

0 comments on commit df145eb

Please sign in to comment.