Skip to content

Using tofu on IMAS server

Laura S. Mendoza edited this page Aug 30, 2019 · 4 revisions

If you have an ITER account, you can use tofu directly from ITER Computing Cluster. No need to install tofu !

  • Ask for access to ITER servers, if you don't have them already.
  • For information about the cluster, see this link.
  • Open a new terminal and connect to server (see link above)
  • Create a new file in your $HOME directory, you can name it load_tofu_modules.sh
  • Open it and add the following lines:
module refresh
source /etc/profile.d/modules.sh # make sure you have the module environment
module purge # unload any previously loaded modules
module load IMAS/3.24.0-4.1.5 # for IMAS data base
module load IPython/6.3.1-intel-2018a-Python-3.6.4 # for iPython
module load PySide2/5.12.0-intel-2018a-Python-3.6.4 
module load ToFu/1.4.0-intel-2018a-Python-3.6.4 # Load tofu :)
  • Convert it as an exectuable, from terminal: chmod +x ~/load_tofu_modules.sh
  • Execute it: ./load_tofu_modules.sh
  • If you are going to use tofu often, you might want to add the execution of the script to your .bash_profile (or .bashrc file):
echo './load_tofu_modules.sh' >> .bash_profile

Now you are ready to Get Started.

Clone this wiki locally