Skip to content

Commit

Permalink
updated run-ptycho to support Numba in Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed May 27, 2019
1 parent 9e62e62 commit d207237
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run-ptycho
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${CUDA_HOME}/extras/CUPTI/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${CUDA_HOME}/nvvm/lib64:$LD_LIBRARY_PATH

# Numba
export NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice/
export NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so

# use the production conda environment
source /opt/conda/bin/activate ptycho_production

Expand Down

0 comments on commit d207237

Please sign in to comment.