HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> MPISend and MPIReceive and options http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1296006259 Message started by Ted Toal on Jan 25th, 2011 at 5:44pm |
Title: MPISend and MPIReceive and options Post by Ted Toal on Jan 25th, 2011 at 5:44pm
We want to pass some options (a file path and a tree topology string) via MPISend() to a batch file, which will insert these into two different option arrays for two different method batch files that it will invoke. We see how to create an options associative array in our top-level batch wrapper and pass it to MPISend(). What we do not understand is how to retrieve those two option values in our mid-level wrapper that calls the method batch files. Help!!
|
Title: Re: MPISend and MPIReceive and options Post by Sergei on Jan 28th, 2011 at 5:11pm
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):
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) [/code):
you should then be able to use filePath and treeString to pass them to 3-rd level files. HTH, Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |