[Swift-user] locally running parallel code

Justin M Wozniak wozniak at mcs.anl.gov
Thu Jul 4 09:25:37 CDT 2013


Hi Nikhil
     Did you try modifying jobThrottle?
     Justin

On 7/4/2013 3:50 AM, Nikhil Raj wrote:
>
> 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
>
>
>
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user


-- 
Justin M Wozniak




More information about the Swift-user mailing list