[aspect-devel] aspect-1.5 post-install tests
Timo Heister
heister at clemson.edu
Fri Apr 20 10:23:37 PDT 2018
Hey,
can you try to do an out-of-source build? I just tried and I can run
the test by simply doing:
mkdir build
cd build
cmake ..
make -j 8
make test # or ctest
Best,
Timo
On Fri, Apr 20, 2018 at 10:07 AM, E.M. Dragowsky <dragowsky at case.edu> 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
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.geodynamics.org_cgi-2Dbin_mailman_listinfo_aspect-2Ddevel&d=DwIGaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=R5lvg9JC99XvuTgScgbY_QFS80R7PEA2q0EPwDy7VQw&m=2ipL6sbbhPdElHlnBvZ6Y9pl2zCwMw2_EmE8AjbDqcA&s=q0AAyGmISRkbqvMZ4i97QEr0hG8TZNFeq9pC_SF2Cjc&e=
--
Timo Heister
http://www.math.clemson.edu/~heister/
More information about the Aspect-devel
mailing list