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:smrtanalysis [2017/01/31 11:23] markusdoku:smrtanalysis [2017/01/31 11:40] markus
Line 1: Line 1:
 ==== SMRTAnalysis ==== ==== SMRTAnalysis ====
 === installation === === installation ===
-  - Set SMRTAnalysis_HOME:<code>export SMRTAnalysis_HOME=/home/lv60000/markus/downloads/SMRT-Analysis</code>+  - add SMRTAnalysis_HOME to your .bashrc:<code>echo "export SMRTAnalysis_HOME=/home/lv60000/markus/downloads/SMRT-Analysis" >> ~/.bashrc 
 +source ~/.bashrc</code>
   - Run the installer, use default optionx except for the points below:<code>   - Run the installer, use default optionx except for the points below:<code>
 +cd $SMRTAnalysis_HOME
 ./smrtanalysis_2.3.0.140936.run ./smrtanalysis_2.3.0.140936.run
  
Line 12: Line 14:
 </code> </code>
   - Reset MYSQL password: <code>   - Reset MYSQL password: <code>
 +cd $SMRTAnalysis_HOME
 ./smrtanalysis/admin/bin/smrtportald-initd start ./smrtanalysis/admin/bin/smrtportald-initd start
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${start_dir}/smrtanalysis/install/smrtanalysis_2.3.0.140936/redist/mysql-5.1.73/lib/mysql/ +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${SMRTAnalysis_HOME}/smrtanalysis/install/smrtanalysis_2.3.0.140936/redist/mysql-5.1.73/lib/mysql/ 
-${start_dir}/smrtanalysis/install/smrtanalysis_2.3.0.140936/redist/mysql/bin/mysqladmin -u root -S /tmp/mysql_53306.sock password 'asdf'+${SMRTAnalysis_HOME}/smrtanalysis/install/smrtanalysis_2.3.0.140936/redist/mysql/bin/mysqladmin -u root -S /tmp/mysql_53306.sock password 'asdf'
  
 </code> </code>
Line 30: Line 33:
  
   - allocate a node: <code>salloc -p mem_0128 --qos=normal_0128</code>   - allocate a node: <code>salloc -p mem_0128 --qos=normal_0128</code>
-  - after allocation the environment variable 'SLURM_NODELIST' contains the node to run SMRTAnalysis on:+  - start server on allocated: <code>srun $SMRTAnalysis_HOME/smrtanalysis/admin/bin/smrtportald-initd start</code> 
 +  - create SSH tunnel  
 +      * on the login node: <code>echo "ssh -L8090:$SLURM_JOB_NODELIST:8090 `whoami`@vsc3.vsc.ac.at"</code> 
 +      * on your local machine: paste the command from the previous step and create the SSH tunnel 
 +  - navigate to http://localhost:8090/ in your local browser 
 +  - when finished stop the server on the compute node<code>srun $SMRTAnalysis_HOME/smrtanalysis/admin/bin/smrtportald-initd stop</code> 
  
  
  • doku/smrtanalysis.txt
  • Last modified: 2017/01/31 12:14
  • by markus