Uživatel:Mmares/Modulefile

Z MetaCentrum
Skočit na navigaci Skočit na vyhledávání
#%Module1.0
#!
#! Title:
#! Platforms: amd64_linux
#! Version:
#! Description:
#! 
#! RT: #
#! Installed by:
#!
proc ModulesHelp {} {
  global ModulesCurrentModulefile
  puts stdout "modulehelp $ModulesCurrentModulefile"
}

Ukázka konkrétního modulefile:

#%Module1.0
#!
#! Title: PyTorch (Python 3.6.2; supports CUDA 8 and CuDNN 7)
#! Platforms: amd64_linux
#! Version: 0.3.0
#! Description: Tensors and dynamic neural networks
#!
#! RT: #234197 (https://rt4.cesnet.cz/rt/Ticket/Display.html?id=234197)
#! Installed by: Miroslav Mares - mmares@cesnet.cz

proc ModulesHelp {} {
  global ModulesCurrentModulefile
  puts stdout "modulehelp $ModulesCurrentModulefile"
}

module add python-3.6.2-gcc
module add cuda-8.0
module add cudnn-7.0

set basedir /software/pytorch/0.3.0/python-3.6.2

prepend-path PATH ${basedir}/bin
prepend-path PYTHONPATH ${basedir}/lib/python3.6/site-packages