diff --git a/README.md b/README.md index c0d83f120dac1a78e810c1af0d093c0c0d238837..11570e54bc5c3e5adb65e12e1cc7976ae8791bbe 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ To build LAMEC, run: python3 lamec.py build ``` -This command creates `form_schema.json` that is used for input control +This command creates `form-schema.json` that is used for input control for the front-end. You can test LAMEC locally using the built-in PHP web server: diff --git a/data/form-schema.json_ b/data/form-schema.json_ deleted file mode 100644 index 1cb083290b6440cc3bfc8864319069f00badd255..0000000000000000000000000000000000000000 --- a/data/form-schema.json_ +++ /dev/null @@ -1,747 +0,0 @@ -{ - "fields": [ - { - "name": "system", - "desc": "Select the computing system on which you want to submit your job.", - "type": "string", - "restriction": { - "type": "option", - "value": [ - "Cyclone", - "DEEP", - "JURECA", - "JUWELS", - "LUMI", - "MockHPCSystem", - "VEGA" - ] - } - }, - { - "name": "software", - "desc": "Select the software your job depends on.", - "type": "string", - "restriction": { - "type": "option", - "value": { - "depends_on": { - "fields": [ - "system" - ], - "resolution": [ - { - "key": [ - "VEGA" - ], - "value": [ - "Basilisk" - ] - }, - { - "key": [ - "MockHPCSystem" - ], - "value": [ - "MockSoftware" - ] - }, - { - "key": [ - "Cyclone" - ], - "value": [ - "Basilisk", - "Horovod" - ] - }, - { - "key": [ - "JUWELS" - ], - "value": [ - "HeAT", - "Horovod", - "Pytorch-DDP", - "DeepSpeed" - ] - }, - { - "key": [ - "LUMI" - ], - "value": [ - "HeAT", - "Pytorch-DDP" - ] - }, - { - "key": [ - "JURECA" - ], - "value": [ - "HeAT", - "Horovod", - "Pytorch-DDP", - "DeepSpeed" - ] - }, - { - "key": [ - "DEEP" - ], - "value": [ - "HeAT", - "Horovod", - "Pytorch-DDP", - "DeepSpeed" - ] - } - ] - } - } - } - }, - { - "name": "partition", - "desc": "Select the partition for your job.", - "type": "string", - "restriction": { - "type": "option", - "value": { - "depends_on": { - "fields": [ - "system" - ], - "resolution": [ - { - "key": [ - "VEGA" - ], - "value": [ - "dev", - "cpu", - "longcpu", - "gpu", - "largemem" - ] - }, - { - "key": [ - "MockHPCSystem" - ], - "value": [ - "base" - ] - }, - { - "key": [ - "Cyclone" - ], - "value": [ - "milan", - "skylake", - "nehalem", - "cpu", - "p100", - "a100", - "gpu" - ] - }, - { - "key": [ - "JUWELS" - ], - "value": [ - "batch", - "mem192", - "devel", - "gpus", - "develgpus", - "booster", - "develbooster" - ] - }, - { - "key": [ - "LUMI" - ], - "value": [ - "standard-g", - "standard", - "dev-g", - "debug", - "small-g", - "small", - "largemem" - ] - }, - { - "key": [ - "JURECA" - ], - "value": [ - "dc-cpu", - "dc-cpu-bigmem", - "dc-cpu-devel", - "dc-gpu", - "dc-gpu-devel" - ] - }, - { - "key": [ - "DEEP" - ], - "value": [ - "dp-esb", - "dp-dam" - ] - } - ] - } - } - } - }, - { - "name": "nodes", - "desc": "Select the number of nodes.", - "type": "number", - "restriction": { - "type": "range", - "value": { - "depends_on": { - "fields": [ - "system", - "partition" - ], - "resolution": [ - { - "key": [ - "VEGA", - "dev" - ], - "value": [ - 1, - 8 - ] - }, - { - "key": [ - "VEGA", - "cpu" - ], - "value": [ - 1, - 960 - ] - }, - { - "key": [ - "VEGA", - "longcpu" - ], - "value": [ - 1, - 6 - ] - }, - { - "key": [ - "VEGA", - "gpu" - ], - "value": [ - 1, - 60 - ] - }, - { - "key": [ - "VEGA", - "largemem" - ], - "value": [ - 1, - 192 - ] - }, - { - "key": [ - "MockHPCSystem", - "base" - ], - "value": [ - 1, - 10 - ] - }, - { - "key": [ - "Cyclone", - "milan" - ], - "value": [ - 1, - 34 - ] - }, - { - "key": [ - "Cyclone", - "skylake" - ], - "value": [ - 1, - 3 - ] - }, - { - "key": [ - "Cyclone", - "nehalem" - ], - "value": [ - 1, - 3 - ] - }, - { - "key": [ - "Cyclone", - "cpu" - ], - "value": [ - 1, - 13 - ] - }, - { - "key": [ - "Cyclone", - "p100" - ], - "value": [ - 1, - 8 - ] - }, - { - "key": [ - "Cyclone", - "a100" - ], - "value": [ - 1, - 6 - ] - }, - { - "key": [ - "Cyclone", - "gpu" - ], - "value": [ - 1, - 16 - ] - }, - { - "key": [ - "JUWELS", - "batch" - ], - "value": [ - 1, - 1024 - ] - }, - { - "key": [ - "JUWELS", - "mem192" - ], - "value": [ - 1, - 64 - ] - }, - { - "key": [ - "JUWELS", - "devel" - ], - "value": [ - 1, - 8 - ] - }, - { - "key": [ - "JUWELS", - "gpus" - ], - "value": [ - 1, - 46 - ] - }, - { - "key": [ - "JUWELS", - "develgpus" - ], - "value": [ - 1, - 2 - ] - }, - { - "key": [ - "JUWELS", - "booster" - ], - "value": [ - 1, - 384 - ] - }, - { - "key": [ - "JUWELS", - "develbooster" - ], - "value": [ - 1, - 4 - ] - }, - { - "key": [ - "LUMI", - "standard-g" - ], - "value": [ - 1, - 1024 - ] - }, - { - "key": [ - "LUMI", - "standard" - ], - "value": [ - 1, - 512 - ] - }, - { - "key": [ - "LUMI", - "dev-g" - ], - "value": [ - 1, - 32 - ] - }, - { - "key": [ - "LUMI", - "debug" - ], - "value": [ - 1, - 4 - ] - }, - { - "key": [ - "LUMI", - "small-g" - ], - "value": [ - 1, - 4 - ] - }, - { - "key": [ - "LUMI", - "small" - ], - "value": [ - 1, - 4 - ] - }, - { - "key": [ - "LUMI", - "largemem" - ], - "value": [ - 1, - 1 - ] - }, - { - "key": [ - "JURECA", - "dc-cpu" - ], - "value": [ - 1, - 128 - ] - }, - { - "key": [ - "JURECA", - "dc-cpu-bigmem" - ], - "value": [ - 1, - 48 - ] - }, - { - "key": [ - "JURECA", - "dc-cpu-devel" - ], - "value": [ - 1, - 4 - ] - }, - { - "key": [ - "JURECA", - "dc-gpu" - ], - "value": [ - 1, - 24 - ] - }, - { - "key": [ - "JURECA", - "dc-gpu-devel" - ], - "value": [ - 1, - 4 - ] - }, - { - "key": [ - "DEEP", - "dp-esb" - ], - "value": [ - 1, - 75 - ] - }, - { - "key": [ - "DEEP", - "dp-dam" - ], - "value": [ - 1, - 16 - ] - } - ] - } - } - } - }, - { - "name": "account", - "desc": "Specify the account for your job.", - "type": "string", - "default": "Account", - "scope": [ - { - "fields": [ - "system", - "software" - ], - "values": [ - [ - "VEGA", - "Basilisk" - ], - [ - "MockHPCSystem", - "MockSoftware" - ], - [ - "Cyclone", - "Basilisk" - ], - [ - "Cyclone", - "Horovod" - ], - [ - "JUWELS", - "HeAT" - ], - [ - "JUWELS", - "Horovod" - ], - [ - "JUWELS", - "Pytorch-DDP" - ], - [ - "JUWELS", - "DeepSpeed" - ], - [ - "LUMI", - "HeAT" - ], - [ - "JURECA", - "HeAT" - ], - [ - "JURECA", - "Horovod" - ], - [ - "JURECA", - "Pytorch-DDP" - ], - [ - "JURECA", - "DeepSpeed" - ], - [ - "DEEP", - "HeAT" - ], - [ - "DEEP", - "Horovod" - ], - [ - "DEEP", - "Pytorch-DDP" - ], - [ - "DEEP", - "DeepSpeed" - ] - ] - } - ] - }, - { - "name": "executable", - "desc": "Specify an executable for your job.", - "type": "string", - "default": "app", - "scope": [ - { - "fields": [ - "system", - "software" - ], - "values": [ - [ - "VEGA", - "Basilisk" - ], - [ - "MockHPCSystem", - "MockSoftware" - ], - [ - "Cyclone", - "Basilisk" - ], - [ - "Cyclone", - "Horovod" - ], - [ - "JUWELS", - "HeAT" - ], - [ - "JUWELS", - "Horovod" - ], - [ - "JUWELS", - "Pytorch-DDP" - ], - [ - "JUWELS", - "DeepSpeed" - ], - [ - "LUMI", - "HeAT" - ], - [ - "JURECA", - "HeAT" - ], - [ - "JURECA", - "Horovod" - ], - [ - "JURECA", - "Pytorch-DDP" - ], - [ - "JURECA", - "DeepSpeed" - ], - [ - "DEEP", - "HeAT" - ], - [ - "DEEP", - "Horovod" - ], - [ - "DEEP", - "Pytorch-DDP" - ], - [ - "DEEP", - "DeepSpeed" - ] - ] - } - ] - } - ], - "documentation": { - "system": { - "JURECA": "https://apps.fz-juelich.de/jsc/hps/jureca/index.html", - "DEEP": "https://deeptrac.zam.kfa-juelich.de:8443/trac/wiki/Public/User_Guide", - "JUWELS": "https://apps.fz-juelich.de/jsc/hps/juwels/index.html", - "LUMI": "https://docs.lumi-supercomputer.eu/software/", - "VEGA": "https://doc.vega.izum.si", - "Cyclone": "https://hpcf.cyi.ac.cy/documentation/" - }, - "software": { - "Pytorch-DDP": "https://pytorch.org/tutorials/intermediate/ddp_tutorial.html", - "Horovod": "https://horovod.readthedocs.io/en/stable/", - "DeepSpeed": "https://deepspeed.readthedocs.io/en/latest/", - "HeAT": "https://heat.readthedocs.io/en/stable/" - } - } -} \ No newline at end of file