-
Notifications
You must be signed in to change notification settings - Fork 720
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 #17206 from smoors/20230125173522_new_pr_OpenFold101
enhance OpenFold 1.0.1 for standalone usage
- Loading branch information
Showing
2 changed files
with
94 additions
and
3 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
64 changes: 64 additions & 0 deletions
64
easybuild/easyconfigs/o/OpenMM/OpenMM-7.5.1-foss-2021a-CUDA-11.3.1-DeepMind-patch.eb
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,64 @@ | ||
easyblock = 'CMakeMake' | ||
|
||
name = 'OpenMM' | ||
version = '7.5.1' | ||
versionsuffix = '-CUDA-%(cudaver)s-DeepMind-patch' | ||
|
||
homepage = 'https://openmm.org' | ||
description = "OpenMM is a toolkit for molecular simulation." | ||
|
||
toolchain = {'name': 'foss', 'version': '2021a'} | ||
toolchainopts = {'opt': True} | ||
|
||
source_urls = ['https://github.com/openmm/openmm/archive/'] | ||
sources = ['%(version)s.tar.gz'] | ||
patches = [ | ||
('OpenMM-%(version)s_DeepMind.patch', 'wrappers/python'), | ||
'%(name)s-7.5.0_fix_path_to_nvcc.patch', | ||
] | ||
checksums = [ | ||
{'7.5.1.tar.gz': 'c88d6946468a2bde2619acb834f57b859b5e114a93093cf562165612e10f4ff7'}, | ||
{'OpenMM-7.5.1_DeepMind.patch': '1b109dfff3af5c6aa70690bca14618612953c68840a7e64f679db7ca33c1aff6'}, | ||
{'OpenMM-7.5.0_fix_path_to_nvcc.patch': '050d5b81e70b34d06ef87eafc6d540b2cf716a61f53b1d2a3786504da3ec2e3c'}, | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.20.1'), | ||
('Doxygen', '1.9.1'), | ||
] | ||
|
||
dependencies = [ | ||
('Python', '3.9.5'), | ||
('SciPy-bundle', '2021.05'), | ||
('CUDA', '11.3.1', '', SYSTEM), | ||
('SWIG', '4.0.2'), | ||
] | ||
|
||
# Flags for CUDA-enabled build | ||
configopts = "-DOPENMM_BUILD_CUDA_LIB=ON" | ||
|
||
# defining OPENMM_CUDA_COMPILER=nvcc on pretestops causes 1 test to fail: https://github.com/openmm/openmm/issues/3373 | ||
pretestopts = " CTEST_OUTPUT_ON_FAILURE=1" | ||
local_ignore_pattern = "(Integrator)|(Thermostat)|(Barostat)|(Rpmd)|(Amoeba)" | ||
runtest = """test -e ARGS="-E \'%s\'" """ % local_ignore_pattern | ||
|
||
preinstallopts = ' export OPENMM_INCLUDE_PATH=%(installdir)s/include && ' | ||
preinstallopts += ' export OPENMM_LIB_PATH=%(installdir)s/lib && ' | ||
|
||
# required to install the python API | ||
installopts = ' && cd python && python setup.py build && python setup.py install --prefix=%(installdir)s' | ||
|
||
sanity_check_paths = { | ||
'files': ['lib/libOpenMM.%s' % SHLIB_EXT, 'lib/python%(pyshortver)s/site-packages/simtk/openmm/openmm.py'], | ||
'dirs': [] | ||
} | ||
|
||
sanity_check_commands = ["python -m simtk.testInstallation"] | ||
|
||
modextrapaths = { | ||
'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages', | ||
'OPENMM_INCLUDE_PATH': 'include', | ||
'OPENMM_LIB_PATH': 'lib', | ||
} | ||
|
||
moduleclass = 'bio' |