Skip to content

Conversation

sriram-LANL
Copy link

Adding/modifying a system (docs: Adding a System)

  • Add/modify systems/lanl-rocinante/system.py file
  • Add/modify systems/all_hardware_descriptions/hardware_name/hardware_description.yaml which will appear in the docs catalogue

@github-actions github-actions bot added the system New or modified system config label Sep 2, 2025
@sriram-LANL
Copy link
Author

Running following commands results in recursion:

#!/bin/sh -f
export BASE=/usr/projects/csep/benchrun/roci
export PATH=/usr/projects/csep/benchpark/bin:${PATH}
export SYSDEFDIR=${BASE}/my-lanl-rocinante-oneapi
export EXPTDEFDIR=${BASE}/expt
rm -rf ${BASE}
benchpark system init --dest=${SYSDEFDIR} lanl-rocinante compiler=oneapi
benchpark experiment init --dest=${EXPTDEFDIR} amg2023 +openmp --system=${SYSDEFDIR}
benchpark setup ${EXPTDEFDIR} ${BASE}/run

when the "setup" command is run and fails with following error:

(venv) nid001027 ()[benchrun]: /usr/projects/csep/benchpark/runner.sh 
Clearing existing workspace /usr/projects/csep/benchrun/roci/my-lanl-rocinante-oneapi
Setting up configs for Ramble workspace /usr/projects/csep/benchrun/roci/my-lanl-rocinante-oneapi/workspace/configs
Traceback (most recent call last):
  File "/cpe/23.12/python/3.11.5/lib/python3.11/pathlib.py", line 1116, in mkdir
    os.mkdir(self, mode)
OSError: [Errno 36] File name too long: '/usr/projects/csep/benchrun/roci/my-lanl-rocinante-oneapi/workspace/configs/workspace/configs/workspace/configs/workspace/configs/... ad nauseum

@michaelmckinsey1
Copy link
Collaborator

Running following commands results in recursion:

#!/bin/sh -f
export BASE=/usr/projects/csep/benchrun/roci
export PATH=/usr/projects/csep/benchpark/bin:${PATH}
export SYSDEFDIR=${BASE}/my-lanl-rocinante-oneapi
export EXPTDEFDIR=${BASE}/expt
rm -rf ${BASE}
benchpark system init --dest=${SYSDEFDIR} lanl-rocinante compiler=oneapi
benchpark experiment init --dest=${EXPTDEFDIR} amg2023 +openmp --system=${SYSDEFDIR}
benchpark setup ${EXPTDEFDIR} ${BASE}/run

when the "setup" command is run and fails with following error:

(venv) nid001027 ()[benchrun]: /usr/projects/csep/benchpark/runner.sh 
Clearing existing workspace /usr/projects/csep/benchrun/roci/my-lanl-rocinante-oneapi
Setting up configs for Ramble workspace /usr/projects/csep/benchrun/roci/my-lanl-rocinante-oneapi/workspace/configs
Traceback (most recent call last):
  File "/cpe/23.12/python/3.11.5/lib/python3.11/pathlib.py", line 1116, in mkdir
    os.mkdir(self, mode)
OSError: [Errno 36] File name too long: '/usr/projects/csep/benchrun/roci/my-lanl-rocinante-oneapi/workspace/configs/workspace/configs/workspace/configs/workspace/configs/... ad nauseum

Should be fixed by #1007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system New or modified system config
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants