[aspect-devel] aspect testing
John Naliboff
jbnaliboff at ucdavis.edu
Fri Apr 27 13:09:09 PDT 2018
Hi EM,
I’ve never seen anything like this either. I may have missed in the messages below, but the issue only arises when running the test suite through “make” (e.g., make test)?
For example, does “./aspect tests/quick_mpi.prm” run the quick_mpi test without issue?
Cheers,
John
> On Apr 27, 2018, at 10:10 AM, E.M. Dragowsky <dragowsky at case.edu> wrote:
>
> The latest attempt involved downloading the source code as a tar archive from the aspect project page: https://geodynamics.org/cig/software/aspect/ <https://geodynamics.org/cig/software/aspect/>
>
> The same results are obtained after making aspect:
>
> make test (1st time) attempts to run quick_mpi, and cannot find source directory
> UpdateCTestConfiguration from :/home/mrd20/src/rider/aspect-1.5.0/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/DartConfiguration.tcl
> Test project /home/mrd20/src/rider/aspect-1.5.0
> 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" "-DTESTNAME=tests.quick_mpi" "-DERROR="Test quick_mpi failed"" "-P" "/home/mrd20/src/rider/aspect-1.5.0/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/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
>
> It is interesting to me that an ephemeral file, DartConfiguration.tcl, is referenced to obtain configuration information. I've yet to see this file written to disk, so this is apparently cmake magic goodness.
>
> The executable continues to succeed in running benchmark code -- I'm not sure if my previous 'reply-all' actually made it through moderation. The solcx benchmark output is below.
>
> [mrd20 at comp216t solcx]$ ./aspect solcx.prm
> -----------------------------------------------------------------------------
> -- This is ASPECT, the Advanced Solver for Problems in Earth's ConvecTion.
> -- . version 1.5.0
> -- . running in DEBUG mode
> -- . running with 1 MPI process
> -- . using Trilinos
> -----------------------------------------------------------------------------
> Loading shared library <./libsolcx.so>
>
> -----------------------------------------------------------------------------
> The output directory <output/> provided in the input file appears not to exist.
> ASPECT will create it for you.
> -----------------------------------------------------------------------------
>
> Number of active cells: 256 (on 5 levels)
> Number of degrees of freedom: 3,556 (2,178+289+1,089)
>
> *** Timestep 0: t=0 years
> Rebuilding Stokes preconditioner...
> Solving Stokes system... 30+4 iterations.
> Relative Stokes residual after nonlinear iteration 1: 1
> Solving Stokes system... 0+0 iterations.
> Relative Stokes residual after nonlinear iteration 2: 1.74731e-08
>
> Postprocessing:
> Errors u_L1, p_L1, u_L2, p_L2: 1.125998e-06, 2.994139e-03, 1.670011e-06, 9.778440e-03
> Writing graphical output: output/solution/solution-00000
>
> Termination requested by criterion: end time
>
>
> +---------------------------------------------+------------+------------+
> | Total wallclock time elapsed since start | 0.719s | |
> | | | |
> | Section | no. calls | wall time | % of total |
> +---------------------------------+-----------+------------+------------+
> | Assemble Stokes system | 2 | 0.0313s | 4.4% |
> | Build Stokes preconditioner | 1 | 0.0251s | 3.5% |
> | Solve Stokes system | 2 | 0.078s | 11% |
> | Initialization | 1 | 0.16s | 22% |
> | Postprocessing | 1 | 0.124s | 17% |
> | Setup dof systems | 1 | 0.0712s | 9.9% |
> | Setup initial conditions | 1 | 0.0978s | 14% |
> +---------------------------------+-----------+------------+------------+
>
> I've built and run another benchmark, have yet to in fact 'benchmark' the output of that code: shear_bands, execution of which was terminated by "end time"
>
> While it apparently should not be necessary to set env vars, or make other fiddles, I will now try and hack the Makefile. If someone would be clear as to the actual source directories for the tests, or verify my best guess below, I would appreciate it :)
>
> Should not the TESTNAME variable either include the CMakeFiles subdirectory, or there be a variable to build the full path to the test directories within CMakeFiles?
>
> ~/aspect-1.5.0/tests/CMakeFiles/tests.quick_mpi.dir
>
> Thanks for your patience
> ~ 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/20180427/6ddfc943/attachment.html>
More information about the Aspect-devel
mailing list