Skip to content

Commit

Permalink
Setting the new path for el7 modules
Browse files Browse the repository at this point in the history
  - From now on el7 (FGCI) modules are in /cvmfs/fgi.csc.fi/modules/el7/all
  • Loading branch information
Luís Alves committed Oct 6, 2016
1 parent 5092127 commit e1c6925
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bash_script_copy_these:
bash_script_copy_all: True

# This is added after MODULEPATH=$MODULEPATH
bash_modules_path: "/cvmfs/fgi.csc.fi/modules/all/:/cvmfs/fgi.csc.fi/modules/:/cvmfs/fgi.csc.fi/modules/sl6/"
bash_modules_path: "/cvmfs/fgi.csc.fi/modules/el7/all"

lua_script_copy_all: True # disable by setting copy_all to false and copy_these to []
lua_script_copy_these:
Expand Down
2 changes: 1 addition & 1 deletion templates/modules-cvmfs.csh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ if ( -f "/etc/profile.d/modules.csh" ) then
source /etc/profile.d/modules.csh
endif

#setenv MODULEPATH "${MODULEPATH}:/cvmfs/fgi.csc.fi/modules/:/cvmfs/fgi.csc.fi/modules/sl6/"
#setenv MODULEPATH "${MODULEPATH}:/cvmfs/fgi.csc.fi/modules/el7/all"
setenv MODULEPATH "${MODULEPATH}:{{ bash_modules_path }}"

2 changes: 1 addition & 1 deletion templates/modules-cvmfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
if [ -f /etc/profile.d/modules.sh ] ; then
. /etc/profile.d/modules.sh
fi
#export MODULEPATH=$MODULEPATH:/cvmfs/fgi.csc.fi/modules/:/cvmfs/fgi.csc.fi/modules/sl6/
#export MODULEPATH=$MODULEPATH:/cvmfs/fgi.csc.fi/modules/el7/all
export MODULEPATH=$MODULEPATH:{{ bash_modules_path }}

0 comments on commit e1c6925

Please sign in to comment.