Hi Mohammed,

On Jul 17, 2013, at 1:50 PM, Mohammed Gaafar wrote:
> We have EasyBuild-1.2.0 installed on our system. I need to upgrade to v1.6.0. 
> Will the bootstrap installation upgrade the current version to the newer one 
> if I set the installation path (--prefix) to the current installation 
> location? or, I have to make a fresh installation and then point the 
> environment variables to the new installation?

here's an extract from our local install script, which can build the whole 
world from 0:
(it is a double-bootstrap that ensures that potential troubles will be visible 
early on).

# INSTRUCTIONS
#
# 1) ensure ~sw/.bashrc properly references the correct directory, eg. `export 
EASYBUILDPREFIX=/opt/apps/HPCBIOS.20130715`
# 2) Follow the procedure for EB as described at: 
https://github.com/hpcugent/easybuild/wiki/Bootstrapping-EasyBuild # prefer: 
/tmp
# 3) copy Intel compilers and other sourcefiles or download as needed: mv 
/opt/apps/HPCBIOS.20130601/sources $EASYBUILDPREFIX
# 4) Assuming you installed EB under /tmp: module load 
/tmp/modules/all/EasyBuild/1.6.0
# 5) eb --version # This is CRITICAL CHECK; it should report the expected 
version of EasyBuild without ANY problem
# 6) unset EBROOTEASYBUILD # otherwise the double-bootstrap procedure seen 
below will fail; now try:
# 7) time eb --try-software-name=EasyBuild --try-software-version=1.6.0
# 8) if all went fine, exit completely and log-in again and do the very final 
check, as in steps 4, 5:
# 9) eb --version # This SHOULD match the step 5) and is a very strong check of 
reproducibility
# 10) Fix ~/easyconfigs symlink as needed, so that it points to latest 
easyconfigs, for convenience!

ie. steps (2) & (7) correspond to the equivalent stage2 & stage3 GCC bootstrap 
processes...

cheers,
Fotis


-- 
echo "sysadmin know better bash than english" | sed s/min/mins/ \
        | sed 's/better bash/bash better/' # Yelling in a CERN forum



Reply via email to