Skip to content
Permalink
d5bcea5292
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (8 sloc) 298 Bytes
#!/bin/bash
# This script can take multiple parameters
# The first is the executable (required) any others would be passed as paremeter# to that executable
if [ "$1" == "" ]; then
echo "Positional parameter 1 is empty"
else
mpirun -hostfile /etc/pdsh/machines --map-by ppr:1 node $1 $2 $3
fi