Skip to main content

Create a SIF file from a Singularity definition file for COMPS

Project description

comps-sif-constructor

Create SIF images for COMPS

To use (with uv):

uvx comps_sif_constructor -d lolcow.def

This will launch the image creation on COMPS and leave behind a sif.id for the jobs that need the image.

Usage

comps_sif_constructor -h
usage: comps_sif_constructor [-h] [--definition_file DEFINITION_FILE] [--output_id OUTPUT_ID] [--image_name IMAGE_NAME] [--work_item_name WORK_ITEM_NAME] [--requirements REQUIREMENTS]

options:
  -h, --help            show this help message and exit
  --definition_file DEFINITION_FILE, -d DEFINITION_FILE
                        Path to the Singularity definition file
  --output_id OUTPUT_ID, -o OUTPUT_ID
                        (optional) Name out Asset id file
  --image_name IMAGE_NAME, -i IMAGE_NAME
                        (optional) Name of the Singularity image file
  --work_item_name WORK_ITEM_NAME, -w WORK_ITEM_NAME
                        (optional) Name of the work item
  --requirements REQUIREMENTS, -r REQUIREMENTS
                        (optional) Path to the requirements file

To create a Apptainer/Singularity image on COMPS from a definition file:

python -m comps_sif_constructor.create_sif \
  -d <path_to_definition_file> \
  -o <output_id> \
  -i <image_name> \
  -w <work_item_name> \
  [-r <requirements_file>]

Or using the console script:

comps_sif_constructor \
  -d <path_to_definition_file> \
  -o <output_id> \
  -i <image_name> \
  -w <work_item_name> \
  [-r <requirements_file>]

Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comps_sif_constructor-0.0.10.tar.gz (249.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comps_sif_constructor-0.0.10-py3-none-any.whl (365.2 kB view details)

Uploaded Python 3

File details

Details for the file comps_sif_constructor-0.0.10.tar.gz.

File metadata

  • Download URL: comps_sif_constructor-0.0.10.tar.gz
  • Upload date:
  • Size: 249.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for comps_sif_constructor-0.0.10.tar.gz
Algorithm Hash digest
SHA256 28dad60f3705afa91c78da2d2b4b55429814fa90369ccc23d46357bb3ec3b481
MD5 2c24d530be9f3aa61d09fb132cf616f7
BLAKE2b-256 f42ca8eb1fed6bda56a62c0849a7032416ee579d1ad82e7ce73b3ff98029b8b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for comps_sif_constructor-0.0.10.tar.gz:

Publisher: publish-pypi.yml on krosenfeld-IDM/comps-sif-constructor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file comps_sif_constructor-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for comps_sif_constructor-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b13770c9daf9d569d08e2fcf4db6b4f7c04b735c0f460d9190bd8bb1ce67150b
MD5 a6ecad784db7e6fb7dd4119585afe029
BLAKE2b-256 3682e1ea88d45e7c3a0efa00e1e5918d6a8b8d249d10d18a2141ed136eca0fcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for comps_sif_constructor-0.0.10-py3-none-any.whl:

Publisher: publish-pypi.yml on krosenfeld-IDM/comps-sif-constructor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page