Skip to main content

A Python package for GemPy

Project description

gempy_engine

GPU Install in Linux

  • Check the instalation guide of tensorflow. It is very picky on the enviroment
  • Install nvidia drivers before trying to install cuda
    • the cuda installer has also the drivers but apparently is more difficult to set up
  • Download the .run file instead the deb file
  • cuDNN is always required an it is a pain
    • this has to be installed with dev because it is IMPORTANT to install:
      • Runtime library
      • developer library

pykeops

  • It needs cmake in the enviroment
  • Make sure this is in bashrc:

Adding environment variables:

export PATH="/usr/local/cuda-11.2/bin:$PATH"

export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64:$LD_LIBRARY_PATH"

for WSL:

export PATH=/usr/local/cuda/bin:$PATH

export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH

Important: Make sure that your Python-dev version matches your environment python version.

Adding the path to bash is not enough for Pycharm. It has to be added to the enviroment variables. In ubuntu is on the file /etc/environment. Edit it with the following command sudo -H gedit /etc/environment.

You can check that the variables are properly set in Pycharm looking in the Run Config

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

gempy_engine-2024.2.0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

gempy_engine-2024.2.0-py3-none-any.whl (206.0 kB view hashes)

Uploaded Python 3

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