# IT4Innovations # BS 2024 name = 'GROMACS' version = '2023.4' versionsuffix = '-double-precision' homepage = 'https://www.gromacs.org' description = """ GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles. This is a GPU enabled build, containing both MPI and threadMPI binaries. It also contains the gmxapi extension for the single precision MPI build. """ toolchain = {'name': 'foss', 'version': '2022a'} toolchainopts = {'openmp': True, 'usempi': True} source_urls = [ 'https://ftp.gromacs.org/pub/gromacs/', 'ftp://ftp.gromacs.org/pub/gromacs/', ] sources = ['gromacs-%(version)s.tar.gz'] patches = [ 'GROMACS-2023.1_set_omp_num_threads_env_for_ntomp_tests.patch', 'GROMACS-2023.1_fix_tests_for_gmx_thread_mpi.patch', ] checksums = [ 'e5d6c4d9e7ccacfaccb0888619bd21b5ea8911f82b410e68d6db5d40f695f231', '7f41bda16c9c2837624265dda4be252f655d1288ddc4486b1a2422af30d5d199', '6df844bb3bbc51180446a3595c61a4ef195e5f975533a04cef76841aa763aec1', ] builddependencies = [ ('CMake', '3.24.3'), ('scikit-build', '0.15.0'), ] dependencies = [ ('Python', '3.10.4'), ('SciPy-bundle', '2022.05'), ('networkx', '2.8.4'), ] double_precision = "ON" configopts = '-DGMX_DOUBLE=ON -DGMX_MPI=ON' exts_defaultclass = 'PythonPackage' exts_default_options = { 'source_urls': [PYPI_SOURCE], 'use_pip': True, 'download_dep_fail': True, 'sanity_pip_check': True, } exts_list = [ ('gmxapi', '0.4.2', { 'preinstallopts': 'export CMAKE_ARGS="-DGMX_DOUBLE=on ' + '-DGMX_MPI=on ' + '-Dgmxapi_ROOT=%(installdir)s ' + '-C %(installdir)s/share/cmake/gromacs_mpi/gromacs-hints_mpi.cmake" && ', 'source_tmpl': 'gromacs-2023.4.tar.gz', 'start_dir': 'python_packaging/gmxapi', 'checksums': ['4ec8f8d0c7af76b13f8fd16db8e2c120e749de439ae9554d9f653f812d78d1cb'], }), ] modextrapaths = { 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages', } moduleclass = 'bio'