Hi,
I am building a personal sub-tree on top of the system-provided modules. I use
the settings below. If there is anything that fails to work properly with a
setup like this, I have not noticed yet (but then it is quite limited how
heavily I have exercised the system).
Best regards
Jakob
# EasyBuild setup
if [ -z "$__Init_My_Modules" ]; then
export __Init_My_Modules=1
export EASYBUILD_PREFIX=$HOME/easybuild/$CPU_ARCH
module use $EASYBUILD_PREFIX/modules/all
export PYTHONPATH=$HOME/development/easybuild-easyblocks:$PYTHONPATH
export
EASYBUILD_ROBOT_PATHS=$HOME/development/easybuild-easyconfigs/easybuild/easyconfigs:
export EASYBUILD_GITHUB_USER=schiotz
export EASYBUILD_DETECT_LOADED_MODULES=error
module load EasyBuild
else
module refresh
fi
alias zapmodules='module unload `module --redirect -t list | grep -v EasyBuild`'
> On 12 Oct 2017, at 17:53, Alan O'Cais <[email protected]> wrote:
>
> Dear Alexei,
>
> There is a long discussion about this use case in
> https://github.com/easybuilders/easybuild-framework/issues/2143 and how to do
> it.
>
> In a hierarchical scheme you would have to rebuild any modules you have that
> extend the path setting (with EASYBUILD_SUBDIR_USER_MODULES set). You also
> need to tell EasyBuild to look in both module trees, I did this with an alias
> in a dedicated lua module:
> set_alias("eb","env
> MODULEPATH=".."/path/to/global/module/tree/ending/in/modules/all"..':$MODULEPATH
> eb')
>
> Kind regards,
>
> Alan
>
> On 12 October 2017 at 16:45, Alexi Rivera <[email protected]> wrote:
> Hello all,
>
> We are looking into allowing users on our cluster to build modules with
> easybuild into their local directories.
> However, it would be optimal if dependencies would be resolved against the
> global installationdirectory that we use.
>
> That is, it seems that when installing to a new directory, you need to build
> all dependencies again in this tree.
> I'm thinking it will take up alot of unnecessary space if every user needs to
> build every dependency separately.
>
> Is there a way to achieve what we're looking for?
>
> Best regards,
> Alexi Rivera
>
>
>
>
> --
> Dr. Alan O'Cais
> E-CAM Software Manager
> Juelich Supercomputing Centre
> Forschungszentrum Juelich GmbH
> 52425 Juelich, Germany
>
> Phone: +49 2461 61 5213
> Fax: +49 2461 61 6656
> E-mail: [email protected]
> WWW: http://www.fz-juelich.de/ias/jsc/EN
>
>
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
>
--
Jakob Schiøtz, professor, Ph.D.
Department of Physics
Technical University of Denmark
DK-2800 Kongens Lyngby, Denmark
http://www.fysik.dtu.dk/~schiotz/