Skip to content

easystack

Support for easybuild-ing from multiple easyconfigs based on information obtained from provided file (easystack) with build specifications.

Authors:

  • Denis Kristak (Inuits)
  • Pavel Grochal (Inuits)
  • Kenneth Hoste (HPC-UGent)
  • Caspar van Leeuwen (SURF)

EasyStack

Bases: object

One class instance per easystack. General options + list of all SoftwareSpecs instances

__str__()

Pretty printing of an EasyStack instance

get_general_options()

Returns general options (flags applicable to all sw (i.e. --robot))

EasyStackParser

Bases: object

Parser for easystack files (in YAML syntax).

parse(filepath) staticmethod

Parses YAML file and assigns obtained values to SW config instances as well as general config instance

parse_by_easyconfigs(filepath, easyconfigs, easybuild_version=None, robot=False) staticmethod

Parse easystack file with 'easyconfigs' as top-level key.

SoftwareSpecs

Bases: object

Contains information about every software that should be installed

check_value(value, context)

Check whether specified value obtained from a YAML file in specified context represents is valid. The value must be a string (not a float or an int).

parse_easystack(filepath)

Parses through easystack file, returns what EC are to be installed together with their options.