-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathgenerator.html
55 lines (51 loc) · 1.88 KB
/
generator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Slurm Job Script Generator</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="JobScriptGenerator.css">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script type="text/javascript" src="JobScriptGenerator.js"></script>
</head>
<body>
<div class="container mt-5">
<!-- <h1 class="mb-4">Slurm Job Script Generator</h1> -->
<div id="alert-container"></div>
<div id="jobScriptGenerator">
<div id="jobScriptForm">
<h2>Parameters</h2>
</div>
<br>
<div id="jobScript">
<h2>Script</h2>
</div>
</div>
<!-- HPC Github -->
<div id="hpc">
<h4>HPC Team
<sup><a href="https://github.com/NAG-DevOps/speed-hpc" target="_blank">[GitHub]</a></sup>
</h4>
</div>
<script type="text/javascript">
var script_gen = new ScriptGen(document.getElementById("jobScriptGenerator"));
script_gen.settings.partitions = {
names: ["ps", "pg", "pt", "cl", "pn", "pc", "pa", "pm"],
};
script_gen.settings.gres = {
//gpu gres Future devel
names: ["RTX3090", "T6", "P6", "a40", "a100", "v100"],
};
//constraint: future devel
script_gen.settings.constraints = {
names: ["mig", "el9"],
}
script_gen.init();
</script>
</div>
<br><br><br>
</body>
</html>