Commit 46666f05 authored by Pablo Toharia's avatar Pablo Toharia

Moved modules to own subfolder. Now MODULEPATH variable should point to...

Moved modules to own subfolder. Now MODULEPATH variable should point to installed, and symlinks will be created. Added Qt-5.10.0
parent e471868c
installed
src
*~
doc/html
......
#!/bin/bash
set -e
echo "Please put your sudo pass to create /home/opt"
sudo mkdir -p /home/opt && sudo chmod 777 /home/opt
cd /home/opt
wget http://gmrv.es/~ptoharia/qt/Qt-5.10.0.tgz
tar zxvf Qt-5.10.0.tgz
rm Qt-5.10.0.tgz
ln -s ~/opt/modules/modules/Qt-5.10.0 ~/opt/modules/installed/Qt-5.10.0
echo "Please add \"module load Qt-5.10.0\" to your .bashrc to load it by default"
......@@ -8,4 +8,4 @@ mkdir -p $HOME/opt/src
# Make module available and set MODULEPATH
echo "source /etc/profile.d/modules.sh" >> $HOME/.bashrc
echo "export MODULEPATH=\$HOME/opt/modules:\$MODULEPATH" >> $HOME/.bashrc
echo "export MODULEPATH=\$HOME/opt/modules/installed:\$MODULEPATH" >> $HOME/.bashrc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment