Skip to content

Commit

Permalink
Merge pull request easybuilders#19417 from sassy-crick/20231213181106…
Browse files Browse the repository at this point in the history
…_new_pr_MDI1416

{chem}[gompi/2022b] MDI v1.4.16
  • Loading branch information
verdurin authored Dec 13, 2023
2 parents bdc7a69 + ff47ec2 commit fd8df78
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions easybuild/easyconfigs/m/MDI/MDI-1.4.16-gompi-2022b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# MDI package for LAMMPS
# Author: J. Saßmannshausen (Imperial College London)

easyblock = 'CMakeMake'
name = 'MDI'
version = '1.4.16'

homepage = 'https://github.com/MolSSI-MDI/MDI_Library'
description = """The MolSSI Driver Interface (MDI) project provides a
standardized API for fast, on-the-fly communication between computational
chemistry codes. This greatly simplifies the process of implementing
methods that require the cooperation of multiple software packages and
enables developers to write a single implementation that works across
many different codes. The API is sufficiently general to support a wide
variety of techniques, including QM/MM, ab initio MD, machine learning,
advanced sampling, and path integral MD, while also being straightforwardly
extensible. Communication between codes is handled by the MDI Library, which
enables tight coupling between codes using either the MPI or TCP/IP methods.
"""

toolchain = {'name': 'gompi', 'version': '2022b'}

source_urls = ['https://github.com/MolSSI-MDI/MDI_Library/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['afb7a4db951f72398210dec3945537a8208d74e437c2eab60c8b132932aa49a0']

builddependencies = [
('CMake', '3.24.3'),
]

dependencies = [
('Python', '3.10.8'),
]

# perform iterative build to get both static and shared libraries
local_common_configopts = '-DCMAKE_POSITION_INDEPENDENT_CODE=ON '
configopts = [
local_common_configopts + ' -Dlibtype=STATIC',
local_common_configopts + ' -DBUILD_SHARED_LIBS=ON',
]

sanity_check_paths = {
'files': ['lib/mdi/libmdi.a', 'lib/mdi/libmdi.%s' % SHLIB_EXT],
'dirs': ['include', 'share'],
}

moduleclass = 'chem'

0 comments on commit fd8df78

Please sign in to comment.