(see also eb -a or eb --avail-easyconfig-params )

Available easyconfig parameters

mandatory parameters

Parameter name Description Default value
description A short description of the software None
docurls List of urls with documentation of the software (not necessarily on homepage) None
homepage The homepage of the software None
name Name of software None
software_license Software license None
software_license_urls List of software license locations None
toolchain Name and version of toolchain None
version Version of software None

toolchain parameters

Parameter name Description Default value
onlytcmod Boolean/string to indicate if the toolchain should only load the environment with module (True) or also set all other variables (False) like compiler CC etc (if string: comma separated list of variables that will be ignored). False
toolchainopts Extra options for compilers None

build parameters

Parameter name Description Default value
bitbucket_account Bitbucket account name to be used to resolve template values in source URLs “%(namelower)s”
buildopts Extra options passed to make step (default already has -j X) “”
checksums Checksums for sources and patches []
configopts Extra options passed to configure (default already has –prefix) “”
easyblock EasyBlock to use for building; if set to None, an easyblock is selected based on the software name None
easybuild_version EasyBuild-version this spec-file was written for None
fix_perl_shebang_for List of files for which Perl shebang should be fixed to ‘#!/usr/bin/env perl’ (glob patterns supported) None
fix_python_shebang_for List of files for which Python shebang should be fixed to ‘#!/usr/bin/env python’ (glob patterns supported) None
github_account GitHub account name to be used to resolve template values in source URLs “%(namelower)s”
hidden Install module file as ‘hidden’ by prefixing its version with ‘.’ False
installopts Extra options for installation “”
maxparallel Max degree of parallelism None
parallel Degree of parallelism for e.g. make (default: based on the number of cores, active cpuset and restrictions in ulimit) None
patches List of patches to apply []
postinstallcmds Commands to run after the install step. []
prebuildopts Extra options pre-passed to build command. “”
preconfigopts Extra options pre-passed to configure. “”
preinstallopts Extra prefix options for installation. “”
pretestopts Extra prefix options for test. “”
runtest Indicates if a test should be run after make; should specify argument after make (for e.g.,”test” for make test) None
sanity_check_commands format: [(name, options)] e.g. [(‘gzip’,’-h’)]. Using a non-tuple is equivalent to (name, ‘-h’) []
sanity_check_paths List of files and directories to check (format: {‘files’:<list>, ‘dirs’:<list>}) {}
skip Skip existing software False
skipsteps Skip these steps []
source_urls List of URLs for source files []
sources List of source files []
stop Keyword to halt the build process after a certain step. None
testopts Extra options for test. “”
tests List of test-scripts to run after install. A test script should return a non-zero exit status to fail []
unpack_options Extra options for unpacking source “”
unwanted_env_vars List of environment variables that shouldn’t be set during build []
versionprefix Additional prefix for software version (placed before version and toolchain name) “”
versionsuffix Additional suffix for software version (placed after toolchain name) “”

file-management parameters

Parameter name Description Default value
buildininstalldir Boolean to build (True) or not build (False) in the installation directory False
cleanupoldbuild Boolean to remove (True) or backup (False) the previous build directory with identical name or not. True
cleanupoldinstall Boolean to remove (True) or backup (False) the previous install directory with identical name or not. True
dontcreateinstalldir Boolean to create (False) or not create (True) the install directory False
keeppreviousinstall Boolean to keep the previous installation with identical name. Experts only! False
keepsymlinks Boolean to determine whether symlinks are to be kept during copying or if the content of the files pointed to should be copied False
start_dir Path to start the make in. If the path is absolute, use that path. If not, this is added to the guessed path. None

dependencies parameters

Parameter name Description Default value
allow_system_deps Allow listed system dependencies (format: (<name>, <version>)) []
builddependencies List of build dependencies []
dependencies List of dependencies []
hiddendependencies List of dependencies available as hidden modules []
multi_deps Dict of lists of dependency versions over which to iterate {}
multi_deps_load_default Load module for first version listed in multi_deps by default True
osdependencies OS dependencies that should be present on the system []

license parameters

Parameter name Description Default value
group Name of the user group for which the software should be available; format: string or 2-tuple with group name + custom error for users outside group None
key Key for installing software None
license_file License file for software None
license_server License server for software None
license_server_port Port for license server None

extensions parameters

Parameter name Description Default value
exts_classmap Map of extension name to class for handling build and installation. {}
exts_default_options List of default options for extensions {}
exts_defaultclass List of module for and name of the default extension class None
exts_download_dep_fail Fail if downloaded dependencies are detected for extensions False
exts_filter Extension filter details: template for cmd and input to cmd (templates for name, version and src). None
exts_list List with extensions added to the base installation []

modules parameters

Parameter name Description Default value
allow_prepend_abs_path Allow specifying absolute paths to prepend in modextrapaths False
docpaths List of paths for documentation relative to installation directory None
examples Free-form text with examples on using the software None
include_modpath_extensions Include $MODULEPATH extensions specified by module naming scheme. True
modaliases Aliases to be defined in module file {}
modaltsoftname Module name to use (rather than using software name None
modextrapaths Extra paths to be prepended in module file {}
modextravars Extra environment variables to be added to module file {}
modloadmsg Message that should be printed when generated module is loaded {}
modluafooter Footer to include in generated module file (Lua syntax) “”
modtclfooter Footer to include in generated module file (Tcl syntax) “”
module_depends_on Use depends_on (Lmod 7.6.1+) for dependencies in generated module (implies recursive unloading of modules). False
moduleclass Module class to be used for this software “base”
moduleforceunload Force unload of all modules when loading the extension False
moduleloadnoconflict Don’t check for conflicts, unload other versions instead False
recursive_module_unload Recursive unload of all dependencies when unloading module False
site_contacts String/list of strings with site contacts for the software None
upstream_contacts String/list of strings with upstream contact addresses (e.g., support e-mail, mailing list, bugtracker) None
usage Usage instructions for the software None
whatis List of brief (one line) description entries for the software None

other parameters

Parameter name Description Default value
block List of other ‘block’ sections on which this block depends (only relevant in easyconfigs with subblocks) None
buildstats A list of dicts with build statistics None
deprecated String specifying reason why this easyconfig file is deprecated and will be archived in the next major release of EasyBuild False