Changes between Initial Version and Version 1 of xQTLAdministratorJobs


Ignore:
Timestamp:
2011-09-06T11:54:30+02:00 (13 years ago)
Author:
jvelde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • xQTLAdministratorJobs

    v1 v1  
     1[[TracNav(xQTL)]]
     2
     3= Setup job submission =
     4
     5= OLD STUFF =
     6
     7= Installation =
     8
     9== Overview ==
     10* Install the latest XGAP disto (1.4)
     11* Configure your local system to accept and run jobs
     12* Configure your computer cluster to accept and run jobs
     13
     14== Installation of XGAP ==
     15
     16Basic XGAP 1.4 development installation at [http://www.xgap.org/wiki/Installation installation]
     17
     18== Configuration for LINUX/UNIX==
     19
     20 * NOTE: The Tomcat user is the 'special' user under which Tomcat is running and accessing the system. (ie. tomcat6)
     21 * The Tomcat user must own the Tomcat home directory to install dependencies. (ie. /user/share/tomcat6)
     22 * NOTE: If libraries are installed owned by root, they cannot be overwritten by Tomcat, meaning you could be stuck with an old version. If problems occur, delete the libraries and reinstall using the Dependency Manager plugin.
     23 * The Tomcat user must own the Tomcat java working directory to be able to execute commands. (ie. /var/lib/tomcat6, use the '''tomcattmpdir''' helper servlet to find out)
     24 * If 'RCurl' won't install under UNIX, try using the commandline as root and install the following package: 'libcurl3-openssl-dev'
     25
     26== Configuration for Windows ==
     27 * Install RTools [http://www.murdoch-sutherland.com/Rtools/index.html RTools]
     28 * Install Curl for Windows, use a generic binary. Put the install dir on your PATH. [http://curl.haxx.se/download.html cURL]
     29 * ...
     30
     31== Configuration for cluster ==
     32
     33=== Basics ===
     34 * You have a LINUX/UNIX cluster, then:
     35 * Install OpenPBS (torque+maoi)
     36 * Install [http://www.r-project.org/ R]
     37 * Your scheduler (master/head..) node must a SSH keyboard interactive login mechanism
     38 * Try to log in to the cluster from your application server. This will accept the SSH key and ensure your firewall isn't blocking outgoing SSH.
     39
     40=== Continuation ===
     41
     42 * Optional: if your cluster uses a module system to load programs, load this set:
     43
     44{{{
     45module initadd torque
     46module initadd maui
     47module initadd R
     48}}}
     49
     50 * Then log out from the cluster, then log back in.
     51
     52 * Create a libs folder for the dependencies using {{{mkdir libs}}}
     53 * Start R and install a few things:
     54
     55{{{
     56install.packages("RCurl",lib="~/libs")
     57install.packages("qtl",lib="~/libs")
     58install.packages("snow",lib="~/libs")
     59}}}
     60
     61 * Install our custom 'ClusterJobs' library by performing a 'checkout' and R install. From your home folder, do:
     62
     63{{{
     64wget -r -l2 http://www.xgap.org/svn/xgap_1_4_distro/handwritten/java/plugins/cluster/R/ClusterJobs/
     65cd www.xgap.org/svn/xgap_1_4_distro/handwritten/java/plugins/cluster/R/
     66R CMD INSTALL ClusterJobs --library=~/libs
     67}}}
     68
     69 * Make sure the firewall of your receiver (server that is running XGAP+Cluster+R/qtl) is not blocking port 8080 so the cluster can report back progress and save your results.