[ET Trac] [Einstein Toolkit] #113: Simfactory should be able to run the Cactus testsuites

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Jul 4 09:26:05 CDT 2011


#113: Simfactory should be able to run the Cactus testsuites
--------------------------+-------------------------------------------------
  Reporter:  knarf        |       Owner:  mthomas   
      Type:  enhancement  |      Status:  review    
  Priority:  minor        |   Milestone:  ET_2011_11
 Component:  SimFactory   |     Version:            
Resolution:               |    Keywords:            
--------------------------+-------------------------------------------------
Changes (by hinder):

  * status:  new => review


Comment:

 The two attached patches add testsuite support to SimFactory.  A new
 option to the create command, "--testsuite" enables this feature.
 Examples:

   sim create-submit --testsuite mytests --procs 2 --walltime 1:00:00
   sim create-run --testsuite mytests

   sim create --testsuite mytests
   sim run mytests

 By default, the entire test suite is run.  If you want to run only
 specific tests, you can additionally use the --select-tests option.  You
 can give this option a test name (ending in .par), an arrangement name or
 a thorn specification in the form <arrangement>/<thorn>.

 Implementation details:

 * Since it is necessary to have the test data and Cactus flesh scripts
 available when the job starts, the required data is copied into the
 simulation restart directory on job submission (or interactive running).
 This ensures that the test data and scripts are available when the home
 directory is not mounted on the compute nodes, and that the test data is
 not modified between job submission and job running.

 * The test selection mechanism works by choosing which tests to copy
 (ensuring that all test.ccl files are copied, as this is necessary to get
 all the output files compared), so there is always a summary.log file
 produced in the "standard" format.

 * The run scripts have been modified to pass the required options, but as
 I'm typing this I realise this might not be necessary since the required
 information should be stored in the simulation properties upon job
 submission

 * When you use the --testsuite option, it is not necessary to specify a
 parameter file.  The positional arguments syntax (parfile, cores,
 walltime) is not supported for running the test suite.

 This has been tested on my laptop, on Datura and on Kraken, and works in
 those places. I have also tested that running normal jobs works, though
 there might be corner cases where something has broken that was not seen
 in my tests.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/113#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list