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

Juan Carlos Martinez Santos juanc.martinez.santos at gmail.com
Fri May 6 23:31:39 EDT 2011


Hi Muhammad,

The execution time no always is the same. There are other process
running at the same time (I call that noise). Then, taking the average
should reduce the noise. So you can get a medium value and a range.

Regards,

--
Juan Carlos

On Friday, May 6, 2011, Muhammad abid Mughal <mabidm_pieas at yahoo.com> wrote:
> 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
>
>
>
>

-- 
--
Juan Carlos


More information about the parsec-users mailing list