Skip to content

mand35/eb_cray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eb_cray

EasyBuild configs for the Cray platform

Installing EasyBuild

Find detailed instructions at http://easybuild.readthedocs.io/en/latest/Installation.html.

  1. Set EASYBUILD_PREFIX
export EASYBUILD_PREFIX=$HOME/easybuild
  1. Download and install the code
curl -O https://raw.githubusercontent.com/easybuilders/easybuild-framework/develop/easybuild/scripts/bootstrap_eb.py
python bootstrap_eb.py $EASYBUILD_PREFIX
  1. Put this in your .bashrc
export EASYBUILD_PREFIX=$HOME/easybuild

export EASYBUILD_MODULES_TOOL=EnvironmentModulesC
export EASYBUILD_MODULE_SYNTAX=Tcl

if hostnamectl | grep -q SUSE; then
  export EASYBUILD_OPTARCH=broadwell
fi

module use $EASYBUILD_PREFIX/modules/all
module load EasyBuild
  1. Install toolchains for Cray, Intel and GNU compilers

In the eb_cray directory

eb --toolchain-name=dummy easyconfigs/CrayIntel-2017.06.eb
eb --toolchain-name=dummy easyconfigs/CrayCCE-2017.06.eb
eb --toolchain-name=dummy easyconfigs/CrayGNU-2017.06.eb

Creating an easybuild config

  1. Find a suitable configuration file (.eb file) and use it as a template
  2. Adapt toolchain and other settings in .eb file, as required

Building

In directory easyconfigs, type

eb package-pkgversion-toolchain-toolchainversion.eb --robot

E.g.,

eb gnuplot-4.6.0-CrayGNU-1.4.10.eb --robot

Note: the build may fail for some toolchains (currently CrayGNU-1.4.10) if module craype-x86-skylake is loaded. To fix the problem just unload this module:

module unload craype-x86-skylake

About

EasyBuild configs for the Cray platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%