Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doku:usif [2017/10/09 13:00] – markus | doku:usif [2017/10/09 13:15] (current) – [Own Module Files] markus | ||
---|---|---|---|
Line 59: | Line 59: | ||
* Download .tar.gz from https:// | * Download .tar.gz from https:// | ||
+ | * Start the installation with: | ||
+ | < | ||
+ | source ~/.bashrc | ||
+ | source / | ||
+ | cd $my_usif_path/ | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Own Module Files ==== | ||
+ | |||
+ | * Prepend to MODULEPATH: | ||
+ | < | ||
+ | export MODULEPATH=$my_usif_path/ | ||
+ | </ | ||
+ | * Create Module file, check if ' | ||
+ | < | ||
+ | mkdir -p $my_usif_path/ | ||
+ | echo '# | ||
+ | ## | ||
+ | |||
+ | source $env(UMEA_INCLUDE)/ | ||
+ | source $env(UMEA_INCLUDE)/ | ||
+ | source $env(UMEA_INCLUDE)/ | ||
+ | set inst_base $env(HOME)/ | ||
+ | |||
+ | |||
+ | set verbosity 0 | ||
+ | set_versions | ||
+ | set base_path | ||
+ | set_paths $base_path $module_name | ||
+ | set_version_number 2 | ||
+ | ' > $my_usif_path/ | ||
+ | |||
+ | |||
+ | </ | ||
+ | * load the module, and check output for loading directory (this work now, as we have set MODULEPATH previously): | ||
+ | < | ||
+ | module load gcc/5.3 gnuplot/ | ||
+ | </ | ||
+ | * explicit loading: | ||
+ | < | ||
+ | module load $my_usif_path/ | ||
+ | module load gcc/5.3 / | ||
+ | </ |