Hi Ward, sorry for interfering with this thread, but *is* there actually a global config file? I asked this some time ago on the ml, and as far as I remember there are only local config files ($XDG_...), no global config e.g. under the installation prefix.
Cheers Andre ----- Am 13. Okt 2016 um 13:54 schrieb Ward Poelmans [email protected]: > On 13-10-16 13:48, Ole Holm Nielsen wrote: >> I would like to enable the EB/Lmod modules to all users in a global >> bash/tcsh setup script. On CentOS 7.2 initialization is done using >> scripts in /etc/profile.d/ >> >> Basically I want every user shell to execute these commands: >> >> export EASYBUILD_MODULES_TOOL=Lmod >> export EASYBUILD_PREFIX=/home/modules >> module use $EASYBUILD_PREFIX/modules/all >> module load EasyBuild > > The settings you can put in a global config file? Much safer then > environment variables. > > For loading Easybuild by default, I would use a Lmod default collection. > > Ward

