forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#19417 from sassy-crick/20231213181106…
…_new_pr_MDI1416 {chem}[gompi/2022b] MDI v1.4.16
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |