Skip to content

Comments

Adding SGE#29

Closed
kuytje wants to merge 3 commits intoapache:masterfrom
kuytje:add_sge
Closed

Adding SGE#29
kuytje wants to merge 3 commits intoapache:masterfrom
kuytje:add_sge

Conversation

@kuytje
Copy link

@kuytje kuytje commented Mar 22, 2016

  1. Configure your SGE resource type in gfac yaml config file
    (airavata/modules/configuration/server/src/main/resources/gfac-config.yaml.config).
    As you can see you need to provide an output parser and email parser for
    your SGE, Unless you can't use existing implementations you need to come
    up with your own implementations of these interfaces.
  2. Don't modify thrift generated file, instead add your new
    ResourceJobManagerType to
    airavata/thrift-interface-descriptions/data-models/resource-catalog-models/compute_resource_model.thrift
    file and generate thrift classes.
  3. Come up with SGE JobConfiguration class, and modify
    org.apache.airavata.gfac.impl.Factory#getJobManagerConfiguration method
    to provide it. You should have xslt template for your SGE script file.
  4. add your XSLT file in
    airavata/distribution/src/main/assembly/bin-assembly.xml. Otherwise it
    will not be added to bin directory.

1. Configure your SGE resource type in gfac yaml config file
(airavata/modules/configuration/server/src/main/resources/gfac-config.yaml.config).
As you can see you need to provide an output parser and email parser for
your SGE, Unless you can't use existing implementations you need to come
up with your own implementations of these interfaces.

2. Don't modify thrift generated file, instead add your new
ResourceJobManagerType to
airavata/thrift-interface-descriptions/data-models/resource-catalog-models/compute_resource_model.thrift
file and generate thrift classes.

3. Come up with SGE JobConfiguration class, and modify
org.apache.airavata.gfac.impl.Factory#getJobManagerConfiguration method
to provide it. You should have xslt template for your SGE script file.

4. add your XSLT file in
airavata/distribution/src/main/assembly/bin-assembly.xml. Otherwise it
will not be added to bin directory.
@kuytje
Copy link
Author

kuytje commented Mar 22, 2016

Added sge,
I ignored the maximum number of nodes value because I couldn't find the option in SGE and used serial as parallel environment as used on ROCKS clusters. Other users should create a parallel environment named serial using <qconf -ap serial>.

@kuytje kuytje changed the title Commit all changes for the folowing files Adding SGE Mar 23, 2016
@smarru
Copy link
Member

smarru commented Oct 26, 2016

Eric, apologies for not following on this PR for long. Can we revisit this? Are you using this SGE interface?

@yasithdev
Copy link
Contributor

Closing this PR (inactive)

@yasithdev yasithdev closed this Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants