prominence-eosc / imc

PROMINENCE infrastructure provisioner
Apache License 2.0
0 stars 0 forks source link

Should be able rank clouds based on networking bandwidth for MPI jobs #12

Closed alahiff closed 5 years ago

alahiff commented 5 years ago

Includes:

alahiff commented 5 years ago

Can now have entries like the following in clouds.json:

         "network":{
            "bandwidth":10
         },

In cloud_hook_translate_job.py can then have either:

        if want_mpi:
            data['requirements']['resources']['network'] = {}
            data['requirements']['resources']['network']['bandwidth'] = 10

or

        if want_mpi:
            data['preferences']['resources'] = {}
            data['preferences']['resources']['network'] = {}
            data['preferences']['resources']['network']['bandwidth'] = 50

The second one is what's being used now.