⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@ocaisa
Copy link
Member

@ocaisa ocaisa commented Jan 21, 2026

Also reverse the order on toolchain_family (so that it is like 2023a_foss rather than foss_2023a) to help ordering.

Also include minimal extension information directly alongside software.

Fix some bugs as well.

for version in all_software_information[software]["versions"]:
if toolchain_family in version["toolchain_families_compatibility"]:
reference_version = version
break
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should break here once we have a hit since we want the most recent version.

"name": file_metadata["name"],
"version": file_metadata["version"],
"version": file_metadata["versionsuffix"],
"versionsuffix": file_metadata["versionsuffix"],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nasty little bug

@ocaisa
Copy link
Member Author

ocaisa commented Jan 22, 2026

The new structure now looks like

{
    "GROMACS": {
      "versions": [
        {
          "homepage": "https://www.gromacs.org",
          "license": [],
          "image": "",
          "categories": [],
          "identifier": "",
          "toolchain": {
            "name": "foss",
            "version": "2023b"
          },
          "toolchain_families_compatibility": [
            "2023b_foss"
          ],
          "module": {
            "full_module_name": "GROMACS/2024.4-foss-2023b",
            "module_name": "GROMACS",
            "module_version": "2024.4-foss-2023b"
          },
          "required_modules": [
            {
              "full_module_name": "EESSI/2023.06",
              "module_name": "EESSI",
              "module_version": "2023.06"
            },
            {
              "full_module_name": "GCCcore/13.2.0",
              "module_name": "GCCcore",
              "module_version": "13.2.0"
            },
            {
              "full_module_name": "GROMACS/2024.4-foss-2023b",
              "module_name": "GROMACS",
              "module_version": "2024.4-foss-2023b"
            }
          ],
          "cpu_arch": [
            "aarch64/generic",
            "aarch64/a64fx",
            "x86_64/intel/cascadelake"
          ],
          "gpu_arch": {

          },
          "description": "\nGROMACS is a versatile package to perform molecular dynamics, i.e. simulate the\nNewtonian equations of motion for systems with hundreds to millions of\nparticles.\n\nThis is a CPU only build, containing both MPI and threadMPI binaries\nfor both single and double precision.\n\nIt also contains the gmxapi extension for the single precision MPI build.\n",
          "version": "2024.4",
          "versionsuffix": "",
          "extensions": [
            {
              "type": "python",
              "name": "gmxapi",
              "version": "0.4.2"
            }
          ]
        }
      ],
      "homepage": "https://www.gromacs.org",
      "license": [],
      "image": "",
      "categories": [],
      "identifier": "",
      "description": "\nGROMACS is a versatile package to perform molecular dynamics, i.e. simulate the\nNewtonian equations of motion for systems with hundreds to millions of\nparticles.\n\nThis is a CPU only build, containing both MPI and threadMPI binaries\nfor both single and double precision.\n\nIt also contains the gmxapi extension for the single precision MPI build.\n"
    }
}

@boegel boegel merged commit 6732e5c into main Jan 22, 2026
1 check passed
@ocaisa ocaisa deleted the module_dict branch January 22, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants