Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
[[INFO]] EasyBuild bootstrap script (version 20180201.01, MD5: 5211e214b622e6d80614c3127eec2396)
[[INFO]] Found Python 2.7.5 (default, May 3 2017, 07:55:04) ; [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)]
[[INFO]] Installation prefix /home/cgchildr/.local/easybuild
[[INFO]] Found module command '/usr/share/lmod/lmod/libexec/lmod' via $LMOD_CMD (Lmod), so using it.
[[INFO]] Suitable setuptools installation already found, skipping stage 0...
[[INFO]] +++ STAGE 1: installing EasyBuild in temporary dir with easy_install...
[[INFO]] installing EasyBuild with 'easy_install --quiet --upgrade --prefix=/tmp/tmptT2UQn/eb_stage1 easybuild'
[[INFO]] running post install command 'easy_install --upgrade --prefix=/tmp/tmptT2UQn/eb_stage1 vsc-base'
[[INFO]] +++ STAGE 2: installing EasyBuild in /home/cgchildr/.local/easybuild with EasyBuild from stage 1...
== temporary log file in case of crash /tmp/eb-cfzi_2/easybuild-1EbVJR.log
== processing EasyBuild easyconfig /tmp/tmptT2UQn/EasyBuild-3.5.1.eb
== building and installing EasyBuild/3.5.1...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...
== taking care of extensions...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== permissions...
== packaging...
== COMPLETED: Installation ended successfully
== Results of the build can be found in the log file(s) /home/cgchildr/.local/easybuild/software/EasyBuild/3.5.1/easybuild/easybuild-EasyBuild-3.5.1-20180206.100716.log
== Build succeeded for 1 out of 1
== Temporary log file(s) /tmp/eb-cfzi_2/easybuild-1EbVJR.log* have been removed.
== Temporary directory /tmp/eb-cfzi_2 has been removed.
[[INFO]] EasyBuild module installed: /home/cgchildr/.local/easybuild/modules/all/EasyBuild/3.5.1.lua
[[INFO]] Bootstrapping EasyBuild completed!
[[INFO]] EasyBuild v3.5.1 was installed to /home/cgchildr/.local/easybuild, so make sure your $MODULEPATH includes /home/cgchildr/.local/easybuild/modules/all
[[INFO]] Run 'module load EasyBuild', and run 'eb --help' to get help on using EasyBuild.
[[INFO]] Set $EASYBUILD_MODULES_TOOL to 'Lmod' to use the same modules tool as was used now.
[[INFO]] By default, EasyBuild will install software to $HOME/.local/easybuild.
[[INFO]] To install software with EasyBuild to /home/cgchildr/.local/easybuild, make sure $EASYBUILD_INSTALLPATH is set accordingly.
[[INFO]] See http://easybuild.readthedocs.org/en/latest/Configuration.html for details on configuring EasyBuild.
4] update $MODULEPATH, and load the EasyBuild module
module use $EASYBUILD_PREFIX/modules/all
module load EasyBuild
#On a cluster with grid engine, get a shell on a compute node
qrsh
#Check python version, usually python 2.6.6
python --version
#Enable more recent version of python, usually python 3.6.9
source /opt/rh/rh-python36/enable
python --version
#Upgrade pip, setuptools, and wheel in your local dirctory
pip install --user --upgrade pip
pip install --user --upgrade setuptools
pip install --user --upgrade wheel
#This python packages will be installed in your home directory here
ls -larth ${HOME}/.local/lib/python3.6/site-packages/
#Install easybuild using pip
pip install easybuild
##add more on how to enable and use easybuild
####
Old Instructions: Centos 6
How to deal with the error message:
[[INFO]] +++ STAGE 1: installing EasyBuild in temporary dir with easy_install... SystemExit: error: Could not find suitable distribution for Requirement.parse('vsc-install<0.11.4')
Output should look like this and take about 10 minutes.
$ python bootstrap_eb.py $EASYBUILD_PREFIX
[[INFO]] EasyBuild bootstrap script (version 20190523.01, MD5: 92196312d8e88843ffe83f21a51f0592)
[[INFO]] Found Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) ; [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
[[INFO]] Installation prefix /home/cgchildr/.local/easybuild
[[INFO]] Fetching sources from /home/cgchildr/.local/src...
[[INFO]] Found module command '/usr/share/lmod/lmod/libexec/lmod' via $LMOD_CMD (Lmod), so using it.
[[INFO]] No suitable setuptools installation found, proceeding with stage 0...
[[INFO]] +++ STAGE 0: installing distribute via included (patched) distribute_setup.py...
Downloading https://easybuilders.github.io/easybuild/files/distribute-0.6.49-patched1.tar.gz
Extracting in /tmp/tmppkWiCa
Now working in /tmp/tmppkWiCa/distribute-0.6.49
Installing Distribute
[[INFO]] Installed setuptools version 0.6 (/tmp/tmp67F2UJ/lib/python2.6/site-packages/distribute-0.6.49-py2.6.egg/setuptools/__init__.pyc)
[[INFO]] +++ STAGE 1: installing EasyBuild in temporary dir with easy_install...
[[INFO]] Fetching sources from /home/cgchildr/.local/src...
[[INFO]] Found /home/cgchildr/.local/src/vsc-install-0.11.3.tar.gz for vsc-install package
[[INFO]] Found /home/cgchildr/.local/src/vsc-base-2.8.3.tar.gz for vsc-base package
[[INFO]] Found /home/cgchildr/.local/src/easybuild-framework-3.9.4.tar.gz for easybuild-framework package
[[INFO]] Found /home/cgchildr/.local/src/easybuild-easyblocks-3.9.4.tar.gz for easybuild-easyblocks package
[[INFO]] Found /home/cgchildr/.local/src/easybuild-easyconfigs-3.9.4.tar.gz for easybuild-easyconfigs package
[[INFO]] running pre-install command 'easy_install --quiet --upgrade --prefix=/tmp/tmp67F2UJ/eb_stage1 /home/cgchildr/.local/src/vsc-install-0.11.3.tar.gz /home/cgchildr/.local/src/vsc-base-2.8.3.tar.gz /home/cgchildr/.local/src/easybuild-framework-3.9.4.tar.gz /home/cgchildr/.local/src/easybuild-easyblocks-3.9.4.tar.gz /home/cgchildr/.local/src/easybuild-easyconfigs-3.9.4.tar.gz vsc-install<0.11.4'
[[INFO]] running pre-install command 'easy_install --quiet --upgrade --prefix=/tmp/tmp67F2UJ/eb_stage1 /home/cgchildr/.local/src/vsc-install-0.11.3.tar.gz /home/cgchildr/.local/src/vsc-base-2.8.3.tar.gz /home/cgchildr/.local/src/easybuild-framework-3.9.4.tar.gz /home/cgchildr/.local/src/easybuild-easyblocks-3.9.4.tar.gz /home/cgchildr/.local/src/easybuild-easyconfigs-3.9.4.tar.gz vsc-base<2.9.0'
[[INFO]] installing EasyBuild with 'easy_install --quiet --upgrade --prefix=/tmp/tmp67F2UJ/eb_stage1 /home/cgchildr/.local/src/vsc-install-0.11.3.tar.gz /home/cgchildr/.local/src/vsc-base-2.8.3.tar.gz /home/cgchildr/.local/src/easybuild-framework-3.9.4.tar.gz /home/cgchildr/.local/src/easybuild-easyblocks-3.9.4.tar.gz /home/cgchildr/.local/src/easybuild-easyconfigs-3.9.4.tar.gz /home/cgchildr/.local/src/vsc-base-2.8.3.tar.gz'
[[INFO]] +++ STAGE 2: installing EasyBuild in /home/cgchildr/.local/easybuild with EasyBuild from stage 1...
== temporary log file in case of crash /tmp/eb-ncghKA/easybuild-QV746n.log
== processing EasyBuild easyconfig /tmp/tmp67F2UJ/EasyBuild-3.9.4.eb
== building and installing EasyBuild/3.9.4...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== installing...
== taking care of extensions...
== restore after iterating...
== postprocessing...
== sanity checking...
== cleaning up...
== creating module...
== permissions...
== packaging...
== COMPLETED: Installation ended successfully (took 16 min 17 sec)
== Results of the build can be found in the log file(s) /home/cgchildr/.local/easybuild/software/EasyBuild/3.9.4/easybuild/easybuild-EasyBuild-3.9.4-20190918.144825.log
== Build succeeded for 1 out of 1
== Temporary log file(s) /tmp/eb-ncghKA/easybuild-QV746n.log* have been removed.
== Temporary directory /tmp/eb-ncghKA has been removed.
[[INFO]] EasyBuild module installed: /home/cgchildr/.local/easybuild/modules/all/EasyBuild/3.9.4.lua
[[INFO]] Bootstrapping EasyBuild completed!
[[INFO]] EasyBuild v3.9.4 was installed to /home/cgchildr/.local/easybuild, so make sure your $MODULEPATH includes /home/cgchildr/.local/easybuild/modules/all
[[INFO]] Run 'module load EasyBuild', and run 'eb --help' to get help on using EasyBuild.
[[INFO]] Set $EASYBUILD_MODULES_TOOL to 'Lmod' to use the same modules tool as was used now.
[[INFO]] By default, EasyBuild will install software to $HOME/.local/easybuild.
[[INFO]] To install software with EasyBuild to /home/cgchildr/.local/easybuild, make sure $EASYBUILD_INSTALLPATH is set accordingly.
[[INFO]] See http://easybuild.readthedocs.org/en/latest/Configuration.html for details on configuring EasyBuild.
Enable
Once you log into the server, use the following commands to enable EasyBuild. The module command will set all your variables that will add EasyBuild and its libraries to your path and environment:
the switch --robot will resolve dependencies of the build
eb <easyconfig> --robot
robot indicates that it will automatically resolve dependencies.
EasyBuild supports many compile toolchains; to see all available issue the following command. It shows the toolchain name along with the packages needed for that tool chain:
Since many easyconfigs are built on the foss (Free Open Source Software) toolchain, go ahead and install one of the foss toolchains first. This will take a long time.
eb foss-2018b.eb --robot
easybuild-foss
aa
To find the exact name of an easyconfig, use the find command:
find ~/.local/easybuild -name *foss*
After an easyconfig has been installed, it may need to be enabled using the "modules" command.
To see all available modules, use the command:
module spider
To see all modules installed, use:
module avail
Troubleshooting hints
Many of the builds are not guaranteed to work. In case of failure, if there is a previous version available, try that one.
enable debug mode
before the typical easybuild commands, give:
export EASYBUILD_BOOTSTRAP_DEBUG=1
unable to install java
ERROR: Build of /home/cgchildr/.local/easybuild/software/EasyBuild/3.5.1/lib/python2.7/site-packages/easybuild_easyconfigs-3.5.1-py2.7.egg/easybuild/easyconfigs/j/Java/Java-1.8.0_112.eb failed (err: "build failed (first 300 chars): Couldn't find file jdk-8u112-linux-x64.tar.gz anywhere, and downloading it didn't work either... Paths attempted (in order): /home/cgchildr/.local/easybuild/software/EasyBuild/3.5.1/lib/python2.7/site-packages/easybuild_easyconfigs-3.5.1-py2.7.egg/easybuild/easyconfigs/j/Java/j/Java/jdk-8u112-linux-")
Oracle java no longer allows direct download of older versions of java without an oracle account. Manually download by going to this site: