[Swift-user] locally running parallel code

Nikhil Raj nkrjnishu01 at gmail.com
Thu Jul 4 03:50:06 CDT 2013


hi,
   this is nikhil and i am using swift for running a program. The problem i
want to calculate the solution parallely using local multiple processor,but
when i give the
   command it is just taking each problem at a time and not parallely.I
have a multi core processor and i want each cpu solving diffrent problem at
the same time
   but it is just using one of them and calculating one by one.pls help me
out asap.


 my program

type messagefile;

app (messagefile t) solve_instance(string fname) {
      bnb fname stdout=@filename(t);
}
string name ="b.txt c.txt";
messagefile fi[]<fixed_array_mapper;files=name>;
string
prob[]=["/home/nikhil/BatchS121208M.nl","/home/nikhil/BatchS151208M.nl"];
foreach f in prob{
messagefile c<regexp_mapper;
source=@f,
match="(.*)nl",
transform="\\1txt">;
c=solve_instance(f);
}

bnb is a slover i am using to solve the problem."BatchS121208M.nl" is the
problem file name.
I am attaching various log files and also the files which i think may be
problem because of which my code is not running properly.
look inti sites.xml may be there is some prob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130704/86e42928/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minotaur-single.kml
Type: application/vnd.google-earth.kml+xml
Size: 6091 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130704/86e42928/attachment.kml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minotaur-single.swiftx
Type: application/octet-stream
Size: 2340 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130704/86e42928/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minotaur-single-20130704-1409-hvnhyhb3.log
Type: application/octet-stream
Size: 19315 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130704/86e42928/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sites.xml
Type: text/xml
Size: 4550 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130704/86e42928/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swift.log
Type: application/octet-stream
Size: 223 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130704/86e42928/attachment-0002.obj>


More information about the Swift-user mailing list