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

Yungang Bao ybao at CS.Princeton.EDU
Fri May 6 13:53:01 EDT 2011


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


More information about the parsec-users mailing list