head	1.2;
access;
symbols
	charm6_1:1.2
	charm_6_0_1:1.2
	charm6_0_1:1.2
	charm6_0:1.2
	ChaNGa_1-0:1.2
	charm5_9:1.2
	charm_5-4-2:1.2
	charm_5-4-1:1.2;
locks; strict;
comment	@# @;


1.2
date	2001.02.08.02.08.34;	author olawlor;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.02.05.36.19;	author olawlor;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Removed erronious quotes from arg. list
@
text
@#!/bin/sh
#
# Conv-host for Cray T3E:
#  Translates +pN-style conv-host options into 
# mpp -n N options.

args=""
pes=1

while [ $# -gt 0 ]
do
	case $1 in
	+p)
		pes=$2
		shift
		;;
	+p*)
		pes=`echo $1 | awk '{print substr($1,3)}'`
		;;
	*) 
		args="$args $1"
		;;
	esac
	shift
done

echo "Running on $pes processors: $args"

mpprun -n $pes $args
@


1.1
log
@These scripts translate conv-host-style parameters into
the appropriate machine-specific format (yod and mpprun).
This lets people run Charm++ programs the same way everywhere.
@
text
@d21 1
a21 1
		args=$args" "'"'$1'"'
@

