# TomoPy Benchmarking with PyCTest
## Overview
- Using PyCTest, the process of building and testing TomoPy is captured and submitted to [CDash @ NERSC](https://cdash.nersc.gov)
- Results can be found at the [TomoPy Testing Dashboard](https://cdash.nersc.gov/index.php?project=TomoPy)
- All build warnings and errors are parsed and reported by CDash
- In addition to running `nosetests`, several other tests are generated and executed
- CDash captures the command executed and all of the output
- Detailed timing and memory reports on TomoPy are integrated into these tests and submitted to CDash in both plotted and ASCII forms
- Timing and memory plots analysis is done through [TiMemory](https://github.com/jrmadsen/TiMemory)
- Additionally, the results of the TomoPy tests (i.e. image reconstructions) are also uploaded tp CDash
## Installation
- Anaconda
```shell
$ conda install -c jrmadsen -n <env> pyctest timemory
```
- PyPi
```shell
$ pip install -v pyctest timemory
```
## Execution
- Submission is invoke by running `./pyctest_tomopy.py` from the main directory
- Run `./pyctest_tomopy.py --help` to view the list of available configuration options
- Supplementary files
- `./benchmarking/pyctest_tomopy_rec.py` is a TomoPy reconstruction script for TomoBank data
- When the option `--globus-path` is specified, PyCTest will reconstruct `tomo_00001/tomo_00001.h5` with all the specified algorithms
- `./benchmarking/pyctest_tomopy_phantom.py` is a TomoPy reconstruction script for built-in phantoms
- The default assumption is that the current Python environment has all of the required packages for TomoPy
### Example
```shell
$ export PYTHON_VERSION=3.6
$ export CONDA_ENV="tomopy-pyctest"
$ conda install -n ${CONDA_ENV} -c conda-forge -c jrmadsen python=${PYTHON_VERSION} nose numpy h5py scipy scikit-image pywavelets mkl-devel mkl_fft python-coveralls dxchange numexpr coverage timemory pyctest
$ source activate ${CONDA_ENV}
$ ./pyctest_tomopy.py --globus-path=${HOME}/devel/globus --num-iter=10 --pyctest-site="Cori-Haswell" --pyctest-token-file="${HOME}/.tokens/nersc-cdash"
```
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
三维重建项目-使用Pyhton实现的断层扫描三维重建算法-优质项目实战.zip (380个子文件)
make.bat 804B
zref.bib 9KB
zcite.bib 2KB
vector.c 34KB
inpainter.c 31KB
stripes_detect3d.c 23KB
remove_ring.c 23KB
gridrec.c 21KB
ospml_hybrid.c 17KB
ospml_quad.c 16KB
project.c 13KB
median_filt3d.c 13KB
utils.c 13KB
tv.c 12KB
tikh.c 11KB
grad.c 11KB
osem.c 9KB
bart.c 9KB
art.c 7KB
morph.c 7KB
fbp.c 6KB
stripe.c 4KB
prep.c 3KB
license.c 2KB
.license.c 1KB
ThreadPool.cc 26KB
sum.cc 19KB
gpu_tasking.cc 16KB
UserTaskQueue.cc 14KB
recursive_tasking.cc 14KB
minimal.cc 13KB
tasking.cc 13KB
sirt.cc 9KB
mlem.cc 9KB
sirt.cc 8KB
mlem.cc 8KB
Threading.cc 5KB
Timer.cc 4KB
TaskRunManager.cc 4KB
common.cc 4KB
rotation.cc 4KB
common.cc 2KB
TaskGroup.cc 2KB
VUserTaskQueue.cc 2KB
ThreadData.cc 2KB
setup.cfg 2KB
.clang-format 2KB
.clang-format 2KB
.clang-tidy 2KB
.clang-tidy 1KB
FindTBB.cmake 16KB
MacroUtilities.cmake 12KB
FindMKL.cmake 10KB
Packages.cmake 8KB
Documentation.cmake 8KB
BuildSettings.cmake 7KB
Compilers.cmake 6KB
PTLBuildSettings.cmake 5KB
FindGPerfTools.cmake 5KB
Options.cmake 5KB
PTLCMakeUtilities.cmake 4KB
ProjectSettings.cmake 3KB
PTLPackageConfigHelpers.cmake 3KB
PTLFormatting.cmake 2KB
CheckAtomic.cmake 2KB
ClangFormat.cmake 1KB
PTLInstallDirs.cmake 1KB
PTLLinting.cmake 1KB
PTLCoverage.cmake 1KB
PTLSanitize.cmake 1001B
PTLBuildTargets.cmake 317B
.coveragerc 520B
common.cu 18KB
utils.cu 15KB
mlem.cu 10KB
sirt.cu 10KB
sum.cu 8KB
.git 38B
.gitignore 422B
.gitignore 174B
sum.h 6KB
recon.h 5KB
filters.h 5KB
utils.h 4KB
pal.h 4KB
accel.h 4KB
macros.h 4KB
cuda.h 3KB
stripe.h 3KB
project.h 3KB
median_filt3d.h 3KB
inpainter.h 3KB
morph.h 3KB
gridrec.h 3KB
remove_ring.h 3KB
profiler.h 3KB
prep.h 2KB
tooth.h5 1019KB
lena.h5 264KB
read_stack.h5 36KB
共 380 条
- 1
- 2
- 3
- 4
资源评论
__AtYou__
- 粉丝: 3512
- 资源: 2175
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功