[aspect-devel] Aspect-devel Digest, Vol 77, Issue 20

E.M. Dragowsky dragowsky at case.edu
Wed Apr 25 08:39:11 PDT 2018


Hi, John, Timo --

Thanks for your comments. I'm back in the office and able to resume work on
this.

I did perform the two steps as suggested:
[mrd20 at comp163t build]$ make setup_tests
Enabling all tests ...
Added 414 tests.
Built target setup_tests
[mrd20 at comp163t build]$ make test -j4
Running tests...
Test project /home/mrd20/src/rider/aspect/build
        Start   1: additional_outputs
  1/414 Test   #1: additional_outputs
.............................................***Timeout 600.04 sec
        Start   2: additional_outputs_02


The time-out problem persists. Output from ctest -R additional_tests -VV
follows:
[mrd20 at comp163t build]$ ctest -R additional_outputs -VV
UpdateCTestConfiguration  from
:/home/mrd20/src/rider/aspect/build/DartConfiguration.tcl
 Add coverage exclude regular expressions.
SetCTestConfiguration:CMakeCommand:/usr/local/base/8.0/bin/cmake
UpdateCTestConfiguration  from
:/home/mrd20/src/rider/aspect/build/DartConfiguration.tcl
Test project /home/mrd20/src/rider/aspect/build
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 1
    Start 1: additional_outputs

1: Test command: /usr/local/base/8.0/bin/cmake
"-DBINARY_DIR=/home/mrd20/src/rider/aspect/build"
"-DTESTNAME=tests.additional_outputs" "-DERROR="Test additional_outputs
failed"" "-P" "/home/mrd20/src/rider/aspect/tests/run_test.cmake"
1: Test timeout computed to be: 600



Cheers,
~ Em



On Sat, Apr 21, 2018 at 1:19 PM, <aspect-devel-request at geodynamics.org>
wrote:

> Send Aspect-devel mailing list submissions to
>         aspect-devel at geodynamics.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
> or, via email, send a message with subject or body 'help' to
>         aspect-devel-request at geodynamics.org
>
> You can reach the person managing the list at
>         aspect-devel-owner at geodynamics.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Aspect-devel digest..."
>
>
> Today's Topics:
>
>    1. Re: aspect-1.5 post-install tests (E.M. Dragowsky)
>    2. Re: aspect-1.5 post-install tests (John Naliboff)
>    3. Re: aspect-1.5 post-install tests (Timo Heister)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 20 Apr 2018 16:41:14 -0400
> From: "E.M. Dragowsky" <dragowsky at case.edu>
> To: aspect-devel at geodynamics.org
> Subject: Re: [aspect-devel] aspect-1.5 post-install tests
> Message-ID:
>         <CAPbGgMzxSG=rYUUBD+XtZh+D66c4sXi_t+m4MSgqVnSWz=Etxg@
> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi, Timo --
>
> Thanks for the suggestion. Literally following the instructions:
>
> 1. git clone -b branch https:....
> 2. mkdir build
> 3. cd build
> 4. ccmake ..
> 5. make -j 6
>
> resulted in an aspect binary. Then
>
> 6. 'make test' resulted in the test timing out. Processes for aspect,
> run_test.sh and ctest were all started, and persisted for 10 minutes. The
> output to the Testing/Temporary/LastLog.tmp was as follows:
>
> Start testing: Apr 20 16:17 EDT
> ----------------------------------------------------------
> 1/414 Testing: additional_outputs
> 1/414 Test: additional_outputs
> Command: "/usr/local/base/8.0/bin/cmake"
> "-DBINARY_DIR=/home/mrd20/src/rider/aspect/build"
> "-DTESTNAME=tests.additional_outputs" "-DERROR="Test additional_outputs
> failed"" "-P" "/home/mrd20/src/rider/aspect/tests/run_test.cmake"
> Directory: /home/mrd20/src/rider/aspect/build/tests
> "additional_outputs" start time: Apr 20 16:17 EDT
> Output:
> ----------------------------------------------------------
> <end of output>
> Test time = 600.03 sec
> ----------------------------------------------------------
> Test Failed.
>
> At least it's a new failure mode for me ;)
> Perhaps I should revert to a cmake configuration that does not prepare all
> tests.
>
> I work in the HPC group at CWRU, and am not an aspect practitioner.  I'll
> be away from work until next Wednesday, and look forward to any further
> guidance. Ideally, there could be a reference that allows to check the
> details of the cmake/ctest configuration settings....
>
> I'll also look for an alternative (manual) test to perform from the manual
> just to ensure that aspect binary will run given inputs.
>
> ​Best regards,​
> ​~ Emily​
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.geodynamics.org/pipermail/aspect-devel/
> attachments/20180420/d5941483/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 20 Apr 2018 09:35:31 -0700
> From: John Naliboff <jbnaliboff at ucdavis.edu>
> To: aspect-devel at geodynamics.org
> Subject: Re: [aspect-devel] aspect-1.5 post-install tests
> Message-ID: <b96decd5-d445-78ba-fa5c-cf2a46697c2d at ucdavis.edu>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> 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-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 21 Apr 2018 13:25:57 -0400
> From: Timo Heister <heister at clemson.edu>
> To: aspect-devel <aspect-devel at geodynamics.org>
> Subject: Re: [aspect-devel] aspect-1.5 post-install tests
> Message-ID:
>         <CAMRj59H2heZP7dctLmMit4b0O-3p0CE9TmC0yvaJRTgcghOa2Q at mail.
> gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> > 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?
>
> setup_tests is only enabling  the ENABLE_ALL_TESTS thing, so it is not
> necessary here.
>
>
>
> --
> Timo Heister
> http://www.math.clemson.edu/~heister/
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>
> ------------------------------
>
> End of Aspect-devel Digest, Vol 77, Issue 20
> ********************************************
>



-- 
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/20180425/1cccc270/attachment-0001.html>


More information about the Aspect-devel mailing list