Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hwdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Apps
BrainScaleS
hwdb
Commits
03d85ace
Commit
03d85ace
authored
2 years ago
by
Christian Mauch
Browse files
Options
Downloads
Patches
Plain Diff
Add aggregator board license to generation file
Change-Id: Id8b5b34d8acd9624ed095f177560f087fb299f9e
parent
e84e6bdf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyhwdb/tools/bss1/pyhwdb_generate_slurm_license_file.py
+4
-0
4 additions, 0 deletions
pyhwdb/tools/bss1/pyhwdb_generate_slurm_license_file.py
with
4 additions
and
0 deletions
pyhwdb/tools/bss1/pyhwdb_generate_slurm_license_file.py
+
4
−
0
View file @
03d85ace
...
@@ -40,6 +40,10 @@ def generate_license_strings(db):
...
@@ -40,6 +40,10 @@ def generate_license_strings(db):
"
:
"
+
str
(
C
.
AnanasSliceOnAnanas
.
size
))
"
:
"
+
str
(
C
.
AnanasSliceOnAnanas
.
size
))
for
adc
in
wafer
.
adcs
:
for
adc
in
wafer
.
adcs
:
slurm_licenses
.
append
(
str
(
adc
.
value
.
coord
))
slurm_licenses
.
append
(
str
(
adc
.
value
.
coord
))
# append aggregator licenses for HX multi chip setups which start
# at Wafer Id 80
if
wafer_coord
.
value
()
>=
80
:
slurm_licenses
.
append
(
"
W{}M0
"
.
format
(
wafer_coord
.
value
()))
# remove non unique trigger and ADC entries while retaining order
# remove non unique trigger and ADC entries while retaining order
slurm_licenses
=
dict
.
fromkeys
(
slurm_licenses
)
slurm_licenses
=
dict
.
fromkeys
(
slurm_licenses
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment