Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the "site" keyword to JDL #27

Open
jgaida opened this issue Jul 10, 2015 · 4 comments
Open

Adding the "site" keyword to JDL #27

jgaida opened this issue Jul 10, 2015 · 4 comments

Comments

@jgaida
Copy link

jgaida commented Jul 10, 2015

To make it less confusing for G5K users, we might want to accept the keyword "site" in place of "clusters" in JDL:

    "clusters": {
         "nancy": {},
     "grenoble": {},
     "luxembourg": {},
     "lyon": {},
     "nantes": {},
     "rennes": {},
     "sophia": {}
     },
    "sites": {
         "nancy": {},
     "grenoble": {},
     "luxembourg": {},
     "lyon": {},
     "nantes": {},
     "rennes": {},
     "sophia": {}
     },

This does not have any impact for CIMENT.

@bzizou
Copy link
Contributor

bzizou commented Jul 15, 2015

I don't like the idea of "less confusing for g5k users". It is a pure g5k point of view...
But if we have a "site concept" (see #28 ), a cluster could be the name of a site to refer every clusters of a site. For example, we could mix clusters and sites:

"clusters": {
     "nancy": {},
     "genepi": {},
     "luxembourg": {},
 },

@jgaida
Copy link
Author

jgaida commented Jul 15, 2015

And if you have both a cluster and the cluster site on the JDL? ie:
"grenoble": {}
"genepi": {}

@bzizou
Copy link
Contributor

bzizou commented Jul 15, 2015

Well in that case, the smallest wins: apply the "grenoble" part to every clusters except for those listed, so "genepi" is an exception.

@jgaida
Copy link
Author

jgaida commented Jul 15, 2015

Alternative 1: Global JDL settings are overridden by Cluster Settings, so it can be the same between grenoble and genepi, ie: for the genepi cluster, apply "grenoble" options, unless there are overriden by genepi-specific settings.

Alternative 2 (too complex?) :

"sites": {
     "grenoble": {
        "exec_file": "$HOME/path/script"
        "clusters": { 
           "genepi" : {
               "exec_file": "$HOME/path/script"
            }
      },
     "luxembourg": {},
 },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants