[aspect-devel] aspect-1.5 post-install tests

John Naliboff jbnaliboff at ucdavis.edu
Fri Apr 20 09:35:31 PDT 2018


Hi EM,

After building ASPECT using "make", the steps to setup and run the test 
suite are
     1. make setup_tests (enables tests)
     2a. make test (runs quick_mpi; running this command a second time 
runs the full test suite)
     2b. ctest -R "test_name" (Runs tests containing the string "test_name")

 From your output below, it looks like "make setup_tests" may not have 
been run? If that does not work, can you resend the new output?

Cheers,
John

On 04/20/2018 07:07 AM, E.M. Dragowsky wrote:
> Hi, everyone --
>
> I need help with the make and run of the aspect tests. I seem to be 
> overlooking configuration details, but it's not intentional -- I'm 
> having trouble getting a handle on how to engage with either make or 
> cmake/ctest, and have probably convolved steps for the use of the two 
> approaches.
>
> I can build the debug version of aspect-1.5, and that is rather 
> straightforward. This is being done on a local computing cluster, and 
> working with gcc/6.3.0 and openmpi/2.0.1, MKL/17 and Lapack/3.7.0  
> from the system, with the p4est, Trilinos and dealii built in my user 
> directory. I'm following the in-source build, using 'ccmake .' to 
> configure and generate the structures supporting compiling and linking 
> the code through 'make'.
>
> When trying to use 'ctest -V -R quick_mpi', the test source 
> directories are not found.
> Here is the detailed output:
>  [mrd20 at comp234t build-debug]$ ctest -V -R quick_mpi
> UpdateCTestConfiguration  from 
> :/home/mrd20/src/rider/aspect-1.5.0/build-debug/DartConfiguration.tcl
>  Add coverage exclude regular expressions.
> SetCTestConfiguration:CMakeCommand:/usr/local/base/8.0/bin/cmake
> UpdateCTestConfiguration  from 
> :/home/mrd20/src/rider/aspect-1.5.0/build-debug/DartConfiguration.tcl
> Test project /home/mrd20/src/rider/aspect-1.5.0/build-debug
> Constructing a list of tests
> Done constructing a list of tests
> Updating test list for fixtures
> Added 0 tests to meet fixture requirements
> Checking test dependency graph...
> Checking test dependency graph end
> test 311
>     Start 311: quick_mpi
>
> 311: Test command: /usr/local/base/8.0/bin/cmake 
> "-DBINARY_DIR=/home/mrd20/src/rider/aspect-1.5.0/build-debug" 
> "-DTESTNAME=tests.quick_mpi" "-DERROR="Test quick_mpi failed"" "-P" 
> "/home/mrd20/src/rider/aspect-1.5.0/build-debug/tests/run_test.cmake"
> 311: Test timeout computed to be: 600
> *311: CMake Error: The source directory 
> "/home/mrd20/src/rider/aspect-1.5.0/build-debug/tests.quick_mpi" does 
> not exist.*
> 311: Specify --help for usage, or press the help button on the CMake GUI.
> 311: *** "Test quick_mpi failed": ***
> 311: CMake Error at run_test.cmake:13 (MESSAGE):
> 311:   message called with incorrect number of arguments
> 311:
> 311:
> 1/1 Test #311: quick_mpi ........................***Failed    0.02 sec
>
>
> ​I have tried editing tests/CMakeList.txt, to provide a path to these 
> test files, e.g.:
> ../build-debug/tests/CMakeFiles/tests.quick_mpi​
>
>
> ​After rerunning 'make setup_tests', this results in an error for each 
> test, 'Error: could not load cache'
>
> ​I suspect there are environment variables to set, and yet I can't 
> seem to puzzle out how to properly move forward.
> Best wishes,
> ~ Em​
>
>
>
>
> -- 
> E.M. Dragowsky, Ph.D.
> Research Computing -- UTech
> Case Western Reserve University
> (216) 368-0082
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20180420/34d966b9/attachment.html>


More information about the Aspect-devel mailing list