diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2017-10-17 21:07:28 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-11-01 15:53:26 +0100 |
commit | 3eaebe8827db8ddf029fdb94ccda2b0af1385bec (patch) | |
tree | be0feddf198ad5e96689c01a2002a7cfca5c8688 /README.md | |
parent | 355ee14464f76f7a506143ef44a9b5a5319c4951 (diff) | |
download | astra-3eaebe8827db8ddf029fdb94ccda2b0af1385bec.tar.gz astra-3eaebe8827db8ddf029fdb94ccda2b0af1385bec.tar.bz2 astra-3eaebe8827db8ddf029fdb94ccda2b0af1385bec.tar.xz astra-3eaebe8827db8ddf029fdb94ccda2b0af1385bec.zip |
Add basic post-install python tests
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -123,6 +123,17 @@ Run build_setup.bat to automatically copy the boost headers and libraries. For matlab: Run build_matlab.bat. The .dll and .mexw64 files will be in bin\x64\Release_Cuda. For python 2.7/3.5: Run build_python27.bat or build_python35.bat. Astra will be directly installed into site-packages. +## Testing your installation + +To perform a (very) basic test of your ASTRA installation in Python, you can +run the following Python commands. You can choose if you want to skip the test +of the GPU functionality for systems without a NVIDIA GPU. + +``` +import astra +astra.test_noCUDA() # To skip GPU tests +astra.test_CUDA() # To also perform GPU tests +``` ## References |