|
26 | 26 | If an argument is provided for --eb-override-version, installations of EasyBuild itself are performed before |
27 | 27 | anything else, with the EasyBuild version provided as argument. |
28 | 28 |
|
29 | | - Example: |
30 | | -
|
31 | | - python3 eessi_software_reproduce_stack.py --reference-software-subdir=x86_64/amd/zen2 --eessi-version 2025.06 |
32 | | - will create easystacks that allow you to replicate the software installed in |
33 | | - /cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>, as |
34 | | - provided the logs of these installations where backed up to |
35 | | - /cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>/reprod |
36 | | - (which was standard practice starting with EESSI version 2025.06). |
| 29 | +Example: |
| 30 | +
|
| 31 | +python3 eessi_software_reproduce_stack.py --reference-software-subdir=x86_64/amd/zen2 --eessi-version 2025.06 |
| 32 | +
|
| 33 | +will create easystacks that allow you to replicate the software installed in |
| 34 | +/cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>, |
| 35 | +provided the logs of these installations where backed up to |
| 36 | +/cvmfs/software.eessi.io/versions/2025.06/<eessi-version>/software/linux/<reference-software-subdir>/reprod |
| 37 | +(which was standard practice starting with EESSI version 2025.06). |
| 38 | +
|
| 39 | +Known limitations: if additional dependencies were added in rebuilds, building them at the original (first) |
| 40 | +build time will case a failure. See e.g. https://github.com/EESSI/software-layer/issues/1430 |
37 | 41 | """ |
38 | | -parser = argparse.ArgumentParser(description='Reproduce EESSI software stack') |
| 42 | +# Use of formatter_class RawDescriptionHelpFormatter preserves newlines in the description, making it more readable |
| 43 | +parser = argparse.ArgumentParser(description=description, formatter_class=argparse.RawDescriptionHelpFormatter) |
39 | 44 | parser.add_argument('-m', '--max-build-time', type=int, default=240, help='Maximum build time in minutes for each easystack file') |
40 | 45 | parser.add_argument('-o', '--eb-override-version', type=str, default=None, help='EasyBuild version used to install other EasyBuild versions. The default (None) means it will attempt to use the EasyBuild that was used in the reference-software-subdir, but if this was a bootstrapped build (e.g. EB-5.1.1 building EB-5.1.1) in practice the latest EB will be used by the EESSI build scripts - creating a false suggestion about which version was used to install EasyBuild.') |
41 | 46 | parser.add_argument('-r', '--reference-software-subdir', type=str, required=True, help='Reference software subdirectory, e.g. x86_64/amd/zen4') |
|
0 commit comments