[Swift-devel] CDM Tests

Jonathan Monette jonmon at mcs.anl.gov
Mon Nov 14 11:13:01 CST 2011


I couldn't tell from the excel(using my phone) but what was absolute? If I am not mistaken what CDM does is takes the path that is specified in the CDM file(which should be absolute) and appends the file path that is used in the swift script to it(which should be relative). So if they are both absolute I would expect it to fail. 



On Nov 14, 2011, at 10:56 AM, Michael Wilde <wilde at mcs.anl.gov> wrote:

> Thanks, Ketan - very nice tests and summary document.
> 
> I should point out for those that didn't open the doc: the 4 tests with absolute pathnames are failing.
> 
> Ketan, can you work with Justin to see if this is a bug, or if the CDM directive needs to be coded differently for absolute paths?  Then please test a fix, and as we discussed adapt the tests with annotations to enhance the User Guide section on CDM.
> 
> - Mike
> 
> 
> ----- Original Message -----
>> From: "Ketan Maheshwari" <ketancmaheshwari at gmail.com>
>> To: "Swift Devel" <swift-devel at ci.uchicago.edu>
>> Sent: Monday, November 14, 2011 8:13:48 AM
>> Subject: [Swift-devel] CDM Tests
>> Hello,
>> 
>> 
>> I had a discussion with Mike about testing the CDM behavior for the
>> following cases:
>> 1. full versus relative paths for input
>> 2. full versus relative paths for output
>> 3. relative versus absolute option in config property:
>> wrapper.invocation.mode
>> 
>> 
>> In this regard, I made 8 tests for all the above combinations. I used
>> simple local provider in this first set of tests.
>> 
>> 
>> From the tests it seems that when specifying the relative option on
>> the config for wrapper.invocation.mode property the script works
>> regardless of the paths of input/output.
>> 
>> 
>> A detailed result with stdout, and paths to logs can be found here:
>> https://docs.google.com/spreadsheet/ccc?key=0AmvYSwENKFY9dG44V2VjRXJlUmZLNG9saERFeWZDcUE
>> 
>> 
>> 
>> The tests are in my CI dir: /home/ketan/cdm_tests
>> 
>> 
>> 
>> 
>> Regards, --
>> Ketan
>> 
>> 
>> 
>> _______________________________________________
>> Swift-devel mailing list
>> Swift-devel at ci.uchicago.edu
>> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
> 
> -- 
> Michael Wilde
> Computation Institute, University of Chicago
> Mathematics and Computer Science Division
> Argonne National Laboratory
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel



More information about the Swift-devel mailing list