Skip to main content

A form.set generator.

Project description

formset

Test PyPI version

A form.set generator.

This is a small script to generate a configuration file form.set of FORM for your machine. The script suggests adequate static buffer sizes for tform from the number of CPUs and physical memory available on the computer.

Installation

pip install formtools-formset

You can also pick up the main script file formset.py manually.

Usage

formset     # prints a set of adequate setup parameters

formset -o  # writes a set of adequate setup parameters to "form.set"

Note that this script considers only static buffers, allocated at the start-up of FORM. If your FORM program uses much bigger dynamical buffers than usual (for example, you need to handle complicated rational functions or you want to optimize very huge polynomials) then you need to adjust the initial memory usage by the --percentage N (or -p N) option:

formset -p 50

If your program requires a non-default MaxTermSize (or other parameters), then you need to specify it:

formset MaxTermSize=200K

Other command-line options can be found in the help message:

formset --help

License

MIT

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

formtools-formset-1.0.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

formtools_formset-1.0.0-py2.py3-none-any.whl (11.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file formtools-formset-1.0.0.tar.gz.

File metadata

  • Download URL: formtools-formset-1.0.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.5 Linux/5.8.0-1036-azure

File hashes

Hashes for formtools-formset-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b44b7afa741bcabdd1980b5c69b41a273f35b2edea3b3502817791e4c8f58b10
MD5 a4a91b66425a8236bf28fe257fc89e98
BLAKE2b-256 256b3aba4046292a1350608dfa608e415abc86d6a2f5af6863c960f700c293ed

See more details on using hashes here.

File details

Details for the file formtools_formset-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for formtools_formset-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 390c210d9fbc13f4e898ccf3bc63ca7f1d58ed10c30ca0f2add1e1c975ca4221
MD5 55d15b03b58100b21a07cd412dfed6e1
BLAKE2b-256 10e7dce26b293bcdad94f0774025308aec2dc697c7bc3d0fc35899bbfbb95deb

See more details on using hashes here.

Supported by

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