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.
add versionsuffix -param to reaxff and add -sim variant
- Loading branch information
Samuel Moors
committed
Nov 23, 2023
1 parent
bc2a8ac
commit 67c6c05
Showing
2 changed files
with
41 additions
and
2 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
38 changes: 38 additions & 0 deletions
38
easybuild/easyconfigs/r/ReaxFF/ReaxFF-2.0-GCC-11.3.0-sim.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,38 @@ | ||
easyblock = 'MakeCp' | ||
|
||
name = 'ReaxFF' | ||
version = '2.0' | ||
versionsuffix = '-sim' | ||
|
||
homepage = 'https://www.engr.psu.edu/adri/ReaxffManual.aspx' | ||
|
||
description = """ | ||
simulation code of the REAXFF Reactive force field program | ||
""" | ||
|
||
toolchain = {'name': 'GCC', 'version': '11.3.0'} | ||
|
||
sources = ['ReaxFF-2.0-sim.zip'] | ||
checksums = [None] | ||
|
||
download_instructions = """ | ||
Register at https://www.engr.psu.edu/adri/Home.aspx and follow instructions | ||
""" | ||
|
||
start_dir = 'src' | ||
|
||
prebuildopts = r"sed -ie 's/^\(\s\)gcc /\1gfortran /g' makefile && " # noqa: W605 | ||
prebuildopts += 'rm *.o && ' | ||
|
||
buildopts = 'SUFFIX="-c -O3 -std=legacy"' | ||
|
||
files_to_copy = [ | ||
(['reac'], 'bin'), | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/reac'], | ||
'dirs': [], | ||
} | ||
|
||
moduleclass = 'chem' |