Skip to main content

paramsurvey-tooling

Install

pip install paramsurvey-tooling

paramsurvey usage on clusters with batch queues

Make 3 batch scripts: head, driver, and child. They all have a similar header:

#FOO batch header lines

. ~/setup-my-software-environment.sh

The script to set up your environment should activate your Conda environment, or load modules or whatever.

Then each of these scripts gets one of the following commands:

  • pstool start head
  • pstool start driver ./my-script.py foo bar baz
  • pstool start child

Finally, submit the head job, then the driver, and finally a bunch of children.

Instead of using a driver batch script, you can also run the driver on a head node:

pstool submit ./my-script.py foo bar baz  # NOT YET WORKING

Containers and paramsurvey

Many compute clusters do not support Docker containers, for security reasons. These clusters often do support Singularity containers, and it's not hard to turn an arbitrary Docker container into a Singularity container. Build the Docker container on a machine that does have docker installed, and then export it to a file:

docker save IMAGE_ID | gzip > my_docker_image.tar.gz

Transfer that file to a host with paramsurvey-tooling and singularity installed, and do:

pstool build my_docker_image.tar.gz

If you find a bug

This tool attempts to support many systems that the author can not directly test. If you find a bug in your environment, run this:

pstool debug > DEBUG

and attach this file DEBUG to your bug report.

Documentation

Installing code in an environment:

  • Conda
  • OS packages
  • modules

Containerized environments:

  • Docker
  • Singularity

Execution environment:

Metadata

Release files for paramsurvey-tooling 0.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paramsurvey-tooling 0.3.8
File Size Uploaded
paramsurvey_tooling-0.3.8.tar.gz 13.3 kB Details

Release files / paramsurvey_tooling-0.3.8.tar.gz

Download URL paramsurvey_tooling-0.3.8.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
75175a7f56221ca5967b155fb56e5bbefc92b04f088b6eee88bb58901d0dcb09
BLAKE2b-256 checksum
How to use checksums
be299323f4ac23b4fd5bbd14c084cfc08f6b3d32846806868ee16a915863d603
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.3.8 This release

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page