Hi Ted,
If I understand your situation correctly, you have a high level wrapper which does something like
Code:for (i = 0; i < Abs(fileList); i+=1)
{
filePath = fileList[i];
treeString = myTrees[i];
MPISend (nodeID, "mid_wrapper.bf", {"0":filePath, "1": treeString});
}
and you then mid_wrapper.bf makes other lists and passes them to other analyses.
Whatever you pass to MPISend as the third argument list is handled the same way as the call to
Code:ExecuteAFile ("mid_wrapper.bf", argument)
would be in a non-MPI setting -- namely the values from 'argument' will be passed on to the standard input for "mid_wrapper.bf".
Consequently, if you open "mid_wrapper.bf" with
Code:fscanf (stdin, "String", filePath);
fscanf (stdin, "String", treeString);
you should then be able to use filePath and treeString to pass them to 3-rd level files.
HTH,
Sergei