Skip to main content

STROOPWAFEL

Based on https://arxiv.org/abs/1905.00910

A short documentation of stroopwafel implementation can be found here -> https://docs.google.com/document/d/15To_ragEkT13gYitBoCdhq38Z97byrjGtS49Mq8cxG8

Installation

Make sure you have python3 installed in the system, if not it can be downloaded from https://www.python.org/downloads/.

To install this package simply run pip3 install stroopwafel. [ If you are installing on our slurm cluster helios, then python3 -m pip install --user stroopwafel should work if you dont have pip3 ]

This package has the following dependencies. They should be automatically installed for you when you install this package.

  • numpy
  • scipy

To test if its installed, go to python3. On the terminal: python3. Inside the python prompt, import stroopwafel should not throw any errors.

Running

Create a script similar to interface_genais.py in the test directory. Make sure you have the external application executable (such as COMPAS) defined in this script. Provide the other details and functions and run it using python filename.py.

Note that stroopwafel is independent of the external application and does not have to reside in the same directory.

Additionally you can pass in optional arguments in the command line:
optional arguments:
-h, --help show this help message and exit
--num_systems NUM_SYSTEMS Total number of systems
--num_cores NUM_CORES Number of cores to run in parallel
--num_per_core NUM_PER_CORE Number of systems to generate in one core
--debug DEBUG If debug of COMPAS is to be printed
--mc_only MC_ONLY If run in MC simulation mode only
--run_on_helios RUN_ON_HELIOS If we are running on helios (or other slurm) nodes
--output_filename OUTPUT_FILENAME Output filename

Metadata

Release files for stroopwafel 1.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for stroopwafel 1.1.0
File Interpreter ABI Platform
stroopwafel-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / stroopwafel-1.1.0-py2.py3-none-any.whl

Download URL stroopwafel-1.1.0-py2.py3-none-any.whl
Size 39.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ca31d7f4d8b607d9e513cc2e01e5d1eca24a74842308af853a5678f0098f2c0b
BLAKE2b-256 checksum
How to use checksums
b49cec928d23d5df63cd68ab55118da00485fb69adcb5ab9d20cc3ea68513192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.0

2 release files

0.0.2

3 release files

0.0.1

2 release files

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