Skip to main content

A python wrapper for the Poisson-Boltzmann Equation solver DelPhi

Project description

DelPhi4Py

A python wrapper for the Poisson-Boltzmann Equation solver DelPhi

Dependencies

  • python3.5>=
  • NumPy>=1.15.0

DelPhi compilation dependencies

  • gfortran #7.4.0
  • gcc #7.4.0
  • g++ #7.4.0
  • libgfortran4

Recipe to install GCC and GFortran 7.4

yum install glibc-static libgfortran-static

yum install wget wget http://ftp.gnu.org/gnu/gcc/gcc-7.4.0/gcc-7.4.0.tar.gz tar -xzf gcc-7.4.0.tar.gz cd gcc-7.4.0 ./contrib/download_prerequisites mkdir build cd build ../configure --prefix=/usr/local/gcc-7.4 --enable-languages=fortran --disable-multilib make -j$(nproc) sudo make install export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/gcc-7.4/lib64/

Python specific

for i in 6 7 do python3.$i -m pip install numpy done

for i in 8 9 10 11 do python3.$i -m pip install "setuptools<65" python3.$i -m pip install "numpy<1.26" done

for i in 12 13 do python3.$i -m pip install numpy meson ninja done

Compilation

Before running the compile.sh script please check that the compiler paths exist and correspond to version 7

bash compile.sh

To check for a correct compilation please run the script test.py on delphi4py/example/ and see a "successful exit" message

cd example/; python3 test.py

License

DelPhi4Py itself is distributed under a LGPL-3.0, however, DelPhi is proprietary software. To use DelPhi the user is required to download the DelPhi license here

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

delphi4py-1.4.0.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

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

delphi4py-1.4.0-py3-none-any.whl (4.5 MB view details)

Uploaded Python 3

File details

Details for the file delphi4py-1.4.0.tar.gz.

File metadata

  • Download URL: delphi4py-1.4.0.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for delphi4py-1.4.0.tar.gz
Algorithm Hash digest
SHA256 0dd4dd841d53a79846b4b240df9340da34bf489c8ca2e5d71619d85c04dad47b
MD5 566da2b23c46866b50b64ede03f7e1f1
BLAKE2b-256 42acf267eaee90ed8f22143f3ec6bbce7229f9aeaae5fe90f954201fe0cf7e87

See more details on using hashes here.

File details

Details for the file delphi4py-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: delphi4py-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for delphi4py-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5521314c61284d7a6985c4ba85cfd763ccc7d83566dd7cfd369e4127d645ca6
MD5 61d04beade80fd2674f0d75902007aad
BLAKE2b-256 61138c0a8e18d1abad509235d8a95bfc8909fe4eaec221e8d8a8f5242c847d35

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