|
|
|
```table-of-contents
|
|
|
|
title:
|
|
|
|
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
|
|
|
|
minLevel: 0 # Include headings from the specified level
|
|
|
|
maxLevel: 0 # Include headings up to the specified level
|
|
|
|
includeLinks: true # Make headings clickable
|
|
|
|
debugInConsole: false # Print debug info in Obsidian console
|
|
|
|
```
|
|
|
|
# Docker Container
|
|
|
|
|
|
|
|
`docker build . -t vv:latest`
|
|
|
|
|
|
|
|
`docker run -it -v $PWD:/collection -v $HOME/Projects/HELYXcore-dev/:/core vv:latest /bin/bash`
|
|
|
|
- Collections: `/collections`
|
|
|
|
- Core: `/core`
|
|
|
|
|
|
|
|
`vv init --collection_path=/collection/`
|
|
|
|
# Pipeline
|
|
|
|
Looks like AndrewC is also working on something like this.
|
|
|
|
# Error 1
|
|
|
|
`CommandSequence.__init__() got an unexpected keyword argument 'mode'`
|
|
|
|
Found out that CommandSequence doesn't have a "mode" parameter, but all the configurations in vv-collection have it in their commands.
|
|
|
|
Fix was to add the property, although it's clear things are now broken
|
|
|
|
# Error 2
|
|
|
|
```
|
|
|
|
Traceback (most recent call last):
|
|
|
|
File "/usr/local/bin/vv", line 8, in <module>
|
|
|
|
sys.exit(main())
|
|
|
|
^^^^^^
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv.py", line 261, in main
|
|
|
|
function(args.path, args)
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_run.py", line 110, in main
|
|
|
|
for_all_cases(cwd, run_case,
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 639, in for_all_cases
|
|
|
|
case_settings_dict = create_cases_dict(cwd, cmdline_args)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 614, in create_cases_dict
|
|
|
|
case_settings_dict[case] = initialize_case(general_settings,
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 579, in initialize_case
|
|
|
|
get_general_settings_parameters(
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 189, in get_general_settings_parameters
|
|
|
|
get_general_settings_parameters(item, general_settings)
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 189, in get_general_settings_parameters
|
|
|
|
get_general_settings_parameters(item, general_settings)
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 193, in get_general_settings_parameters
|
|
|
|
yaml_dict[key] = _replace_general_settings_parameter(
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 163, in _replace_general_settings_parameter
|
|
|
|
if not parameter in general_settings.parameters.parameters:
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
AttributeError: 'dict' object has no attribute 'parameters'
|
|
|
|
```
|
|
|
|
|
|
|
|
# Ruan
|
|
|
|
[2:24 PM] Ruan Engelbrecht
|
|
|
|
|
|
|
|
Ah yes so at the bottom there's the list of cases specified under the run_cases key
|
|
|
|
|
|
|
|
[2:25 PM] Ruan Engelbrecht
|
|
|
|
|
|
|
|
Uncomment the last two lines of my file, and source the mid-sized-ci collection, then vv init -> vv prepare -> vv run
|
|
|
|
|
|
|
|
[2:26 PM] Ruan Engelbrecht
|
|
|
|
|
|
|
|
And source your core
|
|
|
|
# MPI in docker
|
|
|
|
mpirun has detected an attempt to run as root.
|
|
|
|
|
|
|
|
Running as root is *strongly* discouraged as any mistake (e.g., in
|
|
|
|
defining TMPDIR) or bug can result in catastrophic damage to the OS
|
|
|
|
file system, leaving your system in an unusable state.
|
|
|
|
|
|
|
|
We strongly suggest that you run mpirun as a non-root user.
|
|
|
|
|
|
|
|
You can override this protection by adding the --allow-run-as-root option
|
|
|
|
to the cmd line or by setting two environment variables in the following way:
|
|
|
|
the variable OMPI_ALLOW_RUN_AS_ROOT=1 to indicate the desire to override this
|
|
|
|
protection, and OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 to confirm the choice and
|
|
|
|
add one more layer of certainty that you want to do so.
|
|
|
|
We reiterate our advice against doing so - please proceed at your own risk.
|
|
|
|
# HPC03 machine
|
|
|
|
$ cat /etc/centos-release
|
|
|
|
CentOS Linux release 7.9.2009 (Core)
|
|
|
|
# Important collections
|
|
|
|
- customers_report
|
|
|
|
- engys/automotive
|
|
|
|
- mid-sized-ci
|