Skip to main content

PyJAMAS is Just A More Awesome SIESTA

Project description

Logo GPLv3 License

PyJAMAS

PyJAMAS is Just A More Awesome Siesta.

Documentation

You can find the official PyJAMAS documentation, with detailed installation instructions, here.

Installing PyJAMAS

The easiest way to install PyJAMAS is using PyPi.

A note on the Python interpreter

PyJAMAS requires that you have Python installed.

PyJAMAS has been extensively tested with Python 3.7 and 3.8.

PyJAMAS does NOT work with Python 2.

MacOS and Linux

Open a terminal. If you had previously installed PyJAMAS, we recommend uninstalling the previous version:

To install PyJAMAS, type:

$ python3 -m pip install --no-cache-dir -U pyjamas-rfglab

To run PyJAMAS, type:

$ pyjamas

at the user prompt.

If the executable fails to run, you can also try to execute PyJAMAS by opening a terminal and typing:

$ python3 -m pyjamas.pjscore

Windows

Before installing PyJAMAS, you will need to install Shapely, a package used in PyJAMAS to represent geometric objects such as points or polygons. Under Windows, Shapely fails to install with the PyJAMAS PyPi package. It is recommended to start by manually installing Shapely. To that end, download the appropriate Shapely version from this link. For example, use Shapely‑1.6.4.post2‑cp37‑cp37m‑win_amd64.whl for a 64-bit machine running Python 3.7. Open a command prompt and navigate to the folder that contains the downloaded .whl file using the cd command. Complete the installation of Shapely by typing:

$ python -m pip install Shapely‑1.6.4.post2‑cp37‑cp37m‑win_amd64.whl

substituting the downloaded file name. Note that, depending on your Python installation, the executable for the Python interpreter might be py.

Once Shapely, has been set up, you can proceed with a regular PyPi installation of PyJAMAS. Open a command prompt and type:

$ python -m pip install --no-cache-dir -U pyjamas-rfglab

To run PyJAMAS type:

$ pyjamas

at the user prompt.

If the executable fails to run, you can also try to execute PyJAMAS by opening a command prompt and typing:

$ python -m pyjamas.pjscore

GPU support under Windows

PyJAMAS supports the use of CUDA -based GPUs in Windows. Please, check here for instructions on how to configure your system. Briefly:

  1. Download and install the NVIDIA GPU drivers.

  2. Download and install the CUDA Toolkit.

  3. Download and install the cuDNN SDK (https://developer.nvidia.com/cudnn and https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html).

Known problems: CUDA and cuDNN are picky with the version of each other that they talk to. If PyJAMAS displays an error that cusolver64_10.dll is not found:

  1. Go to the folder C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\V11.2\bin (replacing V11.2 by whichever version you installed).

  2. Create a copy of the file cusolver64_11.dll.

  3. Rename the copy as cusolver64_10.dll.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyjamas_rfglab-2021.8.0-py3-none-any.whl (510.5 kB view details)

Uploaded Python 3

File details

Details for the file pyjamas_rfglab-2021.8.0-py3-none-any.whl.

File metadata

  • Download URL: pyjamas_rfglab-2021.8.0-py3-none-any.whl
  • Upload date:
  • Size: 510.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for pyjamas_rfglab-2021.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3af71f59e9360667513ef7c11f96a72a2d0814dc3fbc53cc13b51635922d6d0
MD5 d732388fa32da4eb571cf7b5740d6279
BLAKE2b-256 545688c15ff54bcdb4ea30d504e1ea28ccb96a039e243aba91a425f7f3a3fc24

See more details on using hashes here.

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