From 3eaebe8827db8ddf029fdb94ccda2b0af1385bec Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 17 Oct 2017 21:07:28 +0200 Subject: Add basic post-install python tests --- README.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.txt') diff --git a/README.txt b/README.txt index 94da3d4..63c9cf5 100644 --- a/README.txt +++ b/README.txt @@ -151,6 +151,22 @@ For matlab: Run build_matlab.bat. The .dll and .mexw64 files will be in bin\x64\ 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: ------------ -- cgit v1.2.3 From 84e163009c10f6ac5631cf5f29a4923852542eaf Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 17 Oct 2017 22:29:52 +0200 Subject: Add basic post-install matlab tests --- README.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index 63c9cf5..69b3b3b 100644 --- a/README.txt +++ b/README.txt @@ -155,16 +155,18 @@ 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. +run the following Python commands. You can choose 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 +To test your ASTRA installation in Matlab, the equivalent commands are: - +astra_test_noCUDA % To skip GPU tests +astra_test_CUDA % To also perform GPU tests References: -- cgit v1.2.3