[parsec-users] Running multiple copies of the same program

Muhammad abid Mughal mabidm_pieas at yahoo.com
Fri May 6 21:50:27 EDT 2011


Hi Juan Carlos,
    Hope you guys doing good.I am wondering are there programs in PARSEC which 
need to be run multiple times on hardware simulator?
Why running same program multiple times?


Muhammad abid



________________________________
From: Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com>
To: PARSEC Users <parsec-users at lists.cs.princeton.edu>
Sent: Saturday, May 7, 2011 2:16:50
Subject: Re: [parsec-users] Running multiple copies of the same program

Perfect. Thank you.


On Fri, May 6, 2011 at 1:53 PM, Yungang Bao <ybao at cs.princeton.edu> wrote:

Hi Juan,
>
>parsecmgmt already removes duplicate packages.
>
>You could modify the following codes on your demand.
>
>parsecmgmt:587
>----------------------
> # Rebuild list with packages, remove duplicate packages
> pkgs=""
> for pkg in $expanded_aliases; do
>   is_included=""
>   for dummy in $pkgs; do
>     if [ "$pkg" == "$dummy" ]; then
>       is_included="TRUE"
>       break
>     fi
>   done
>   if [ -z "$is_included" ]; then
>     pkgs="${pkgs} ${pkg}"
>   fi
> done
>----------------------
>
>
>Yungang
>
>
>----- Original Message -----
>From: "Juan Carlos Martinez Santos" <juanc.martinez.santos at gmail.com>
>To: "PARSEC Users" <parsec-users at lists.cs.princeton.edu>
>Sent: Friday, May 6, 2011 1:17:44 PM
>Subject: [parsec-users] Running multiple copies of the same program
>
>
>Hello,
>
>
>I tried to run several copies of the same program using the below commands, but 
>I only got results for one. There is any way to run several times the same 
>program in a single command line.
>
>
>>>> This works:
>./bin/parsecmgmt -a run -i simsmall -p blackscholes swaptions -n 4
>
>
>>>> But this does not work:
>./bin/parsecmgmt -a run -i simsmall -p blackscholes blackscholes -n 4
>
>
>Thanks in advance,
>
>
>-- Juan Carlos
>
>_______________________________________________
>parsec-users mailing list
>parsec-users at lists.cs.princeton.edu
>https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>_______________________________________________
>parsec-users mailing list
>parsec-users at lists.cs.princeton.edu
>https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>


-- 

--Juan Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110506/f81f2435/attachment.htm>


More information about the parsec-users mailing list