High performance ptychography reconstruction python package running on GPU

Quickstart

Need to install python3 to run the GUI and ptychopy, other needed library is
in requirement.txt.(Tested OS RHEL 6.0, 7.0). This library could also be
compiled as a CUDA-C library. Inside src folder, change build.sh with your
HDF library path.

Recommend conda virtual environment, for example

conda create -n py36 python=3.6 hdf5-external-filter-plugins-lz4
  1. Activate the virtual environment
source activate py36

  1. To install and build the python package, set environment variables HDF5_BASE
    and CUDAHOME, which point to the installed path of the HDF5 and CUDA
    libraries. Also, set the cuda computing based on your GPU. For example the
    2080 Ti has compute capability 7.5. The GPU computing capability number can
    be found on the NVidia website
export CUDACOMPUTE=7.5
export CUDAHOME=/user/local/cuda-8.0
export HDF5_BASE=$CONDA_PREFIX

  1. Then just call the following
./install.sh

  1. For testing, you can use epie.py or mls.py
python epie.py

Description

This software package

 

 

 

To finish reading, please visit source site