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

Juan Carlos Martinez Santos juanc.martinez.santos at gmail.com
Fri May 6 14:16:50 EDT 2011


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/48ab6316/attachment.html>


More information about the parsec-users mailing list