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

E.M. Dragowsky dragowsky at case.edu
Fri Apr 20 07:07:54 PDT 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20180420/e0a437b0/attachment.html>


More information about the Aspect-devel mailing list