Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
doku:usif [2017/10/09 13:00] markusdoku:usif [2017/10/09 13:13] – [Own Module Files] markus
Line 59: Line 59:
  
   * Download .tar.gz from https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.5/gnuplot-5.0.5.tar.gz/download and save  iit to $my_usif_path/src/gnuplot/5.0.5/gnuplot-5.0.5.tar.gz   * Download .tar.gz from https://sourceforge.net/projects/gnuplot/files/gnuplot/5.0.5/gnuplot-5.0.5.tar.gz/download and save  iit to $my_usif_path/src/gnuplot/5.0.5/gnuplot-5.0.5.tar.gz
 +  * Start the installation with:
 +<code>
 +source ~/.bashrc
 +source /cm/shared/USIF/scripts/init_usif1.1_umea.sh
 +cd $my_usif_path/install_scripts
  
 +/cm/shared/USIF/scripts/vsc_install.sh -c gcc/5.3 -s gnuplot-5.0.5.sh
  
 +</code>
 +
 +==== Own Module Files ====
 +
 +  * Prepend to MODULEPATH:
 +<code>
 +export MODULEPATH=$my_usif_path/Modules:$MODULEPATH
 +</code>
 +  * Create Module file, check if 'inst_base' is set correctly:
 +<code>
 +mkdir -p $my_usif_path/Modules/gnuplot
 +echo '#%Module######################################################################
 +##
 +
 +source $env(UMEA_INCLUDE)/vsc_include.tcl
 +source $env(UMEA_INCLUDE)/common_include.tcl
 +source $env(UMEA_INCLUDE)/prereq_include.tcl
 +set inst_base $env(HOME)/usif/sw
 +
 +
 +set verbosity 0
 +set_versions 
 +set base_path  [ load_unload ]
 +set_paths $base_path $module_name
 +set_version_number 2
 +' > $my_usif_path/Modules/gnuplot/5.0.5
 +
 +
 +</code>
 +  * load the module:
 +<code>
 +</code>
  • doku/usif.txt
  • Last modified: 2017/10/09 13:15
  • by markus