Issue195

Title new_scripts need to be adapted for new IPC code layout
Priority bug Status resolved
Superseder Nosy List erez, gabi, jendrik, malte
Assigned To jendrik Keywords
Optional summary

Created on 2011-01-06.21:57:16 by malte, last changed by jendrik.

Messages
msg1119 (view) Author: jendrik Date: 2011-01-07.23:23:18
This should be fixed now.
msg1113 (view) Author: malte Date: 2011-01-07.18:25:34
> "downward" should always be the run

=> "downward" should always be run
msg1112 (view) Author: malte Date: 2011-01-07.18:24:55
"downward" should always be the run, but it can itself run all of dispatch,
downward-1, downward-2 and downward-4, so these four must be available, too, in
the same directory as "downward". "downward" may be renamed freely, but the
other ones may not, or downward won't find them. So I think it makes sense to
introduce a subdirectory where everything can live under its usual name.
msg1111 (view) Author: jendrik Date: 2011-01-07.18:05:03
At the moment the scripts take the first suitable planner found in the 
search dir. How do you want to specify which planner is supposed to be 
used (downward-1 vs. downward-2 ...)? What is the dispatch executable?
msg1083 (view) Author: malte Date: 2011-01-06.21:57:15
(Classifying this as "bug" since the scripts currently don't work, although it's
not their fault.)

The new_scripts don't work in the IPC repo since it will only copy the
"downward" script, but not the "dispatch" script and "downward-1", "downward-2",
"downward-4" executables, which are also needed. Also, the mechanism of
appending -REVISION to everything won't work since then downward wouldn't find
the dispatch script and downward-{1,2,4} executables anymore.

Suggested fix:
Instead of this layout:

exp-dir/search-REV1
       /search-REV2
       /runs-00001-00100/00001/...
                        /00002/...

use this:

exp-dir/code-REV1/downward
                 /dispatch
                 /downward-1
                 /downward-2
                 /downward-4
       /code-REV2/downward
                 /dispatch
                 /downward-1
                 /downward-2
                 /downward-4
       /runs-00001-00100/00001/...
                        /00002/...

etc.

In the case of --preprocess or --complete experiments, the preprocessor and
translator should also live under code-REV.
History
Date User Action Args
2011-01-07 23:23:18jendriksetstatus: chatting -> resolved
messages: + msg1119
2011-01-07 18:25:34maltesetmessages: + msg1113
2011-01-07 18:24:55maltesetmessages: + msg1112
2011-01-07 18:05:03jendriksetstatus: unread -> chatting
messages: + msg1111
2011-01-06 21:57:16maltecreate