Changes between Version 1 and Version 2 of xQTLAdministratorJobs


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

--

Legend:

Unmodified
Added
Removed
Modified
  • xQTLAdministratorJobs

    v1 v2  
    22
    33= Setup job submission =
     4
     5content here
    46
    57= OLD STUFF =
     
    6870
    6971 * 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.
     72
     73= other old stuff =
     74
     75=== Adding new !ComputationResources ===
     76It is possible to add new types of ComputationResource, places where jobs can be executed.
     77
     78The Java interface ComputationResource is located at /xgap_1_4_distro/handwritten/java/plugins/cluster/interfaces/ComputationResource.java in your checked-out project and can be implemented.
     79
     80In the folder /xgap_1_4_distro/handwritten/java/plugins/cluster/implementations/ you can find two implementations that we currently provide: [http://www.xgap.org/svn/xgap_1_4_distro/handwritten/java/plugins/cluster/implementations/LocalComputationResource.java LocalComputationResource.java] and [http://www.xgap.org/svn/xgap_1_4_distro/handwritten/java/plugins/cluster/implementations/ClusterComputationResource.java ClusterComputationResource.java].
     81
     82They implement the following functions:
     83
     84{{{
     85public boolean installDependencies()
     86}}}
     87
     88Install the needed R-packages on this ComputationResource.
     89
     90{{{
     91public boolean cleanupJob(int jobIs)
     92}}}
     93
     94Remove job files and generated data from this ComputationResource.
     95
     96{{{
     97public String executeCommand(Command command)
     98}}}
     99
     100Execute a system command on this ComputationResource.
     101
     102{{{
     103public List<String> executeCommands(List<Command> commands)
     104}}}
     105
     106Execute multiple system commands. Not a wrapper for executeCommand, because it can behave differently.
     107
     108At the moment, extending the system is not trivial because there are many ComputationResource specific parts in the core workings of '''ClusterPlugin.java'''. In further development, we will gradually make this more generic and easily extendable.