Skip to main content

Requirements / Installation

Retarded 3-layer Greens Tensors for pyGDM2 based on a fortran implementation by Gérard Colas des Francs.

pyGDM2 is available on pypi and gitlab.

Detailed documentation with many examples is can be found at the pyGDM2 documentation website. See also the documentation paper on arXiv (1802.04071) or a more theoretical review about the GDM method.

Requirements

Python

  • python (3.5+, python)

  • numpy (numpy)

  • numba (numba)

  • python headers (under linux install the package python-dev or python-devel)

Fortran

  • fortran compiler (tested with gfortran. gcc)

  • f2py (comes with numpy. link)

Optional Python packages

  • scipy >= v0.17.0, lower versions supported with restrictions (Strongly recommended. Used for standard solver LU decomposition and several tools. scipy)

Installation under linux

Via pip

Install from pypi repository via

$ pip install pygdm2_retard

Via setup script

The easiest possibility to compile pyGDM2_retard is via the setup-script, which uses the extended distutils from numpy.

To install the pyGDM2_retard module, run in the source directory:

$ pip3 install -U .

or

$ python3 setup.py install

To install as a user installation without administrator rights:

$ pip3 install -U . --user

To install to a entirely free, user-defined location, use the prefix option:

$ python3 setup.py install --prefix=/some/specific/location

To only compile without installation, use

$ python3 setup.py build

Installation under windows

For windows, we recommend Anaconda in which pyGDM can be installed easily via pip. On pip we provide python 3.5+ windows binaries of the pyGDM2_retard module

Via pip

We provide a 64bit windows binary on the pypi repository (tested on Win7 and Win10). Install via

$ pip install pygdm2_retard

Compile using the Anaconda distribution (tested with anaconda3)

  1. get the repo (e.g. download from gitlab)

  2. install gcc compiler:

    $ conda install m2w64-toolchain libpython
  3. compile fortran parts:

    $ python setupy.py build
  4. install:

    $ python setupy.py install

Installation under Mac OS X

Should work under anaconda python as described above for compilation on windows.

Authors

fortran implementation

  • G. Colas des Francs

python interface

  • P. R. Wiecha

Metadata

Release files for pyGDM2-retard 0.2

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

Source distribution (sdist)

Source distribution for pyGDM2-retard 0.2
File Size Uploaded Provenance Actions
pyGDM2_retard-0.2.tar.gz 94.3 kB Without provenance Details for pyGDM2_retard-0.2.tar.gz

Release files / pyGDM2_retard-0.2.tar.gz

Download URL pyGDM2_retard-0.2.tar.gz
Size 94.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6c606cfec20c42142442d2fc13aa831df6ebe34ce7c7600bf512abdc0082799f
BLAKE2b-256 checksum
How to use checksums
9f914f280a834684e788bbeb11fc1540a44a379fdeb0fd869a9f707dc06925c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Security for pyGDM2-retard 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

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