18 lines
519 B
Bash
Executable file
18 lines
519 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" -o -z "$5" -o -z "$6" ]; then
|
|
echo "error: need options <tarname parmetis> <parmetis version> <compiler> <compiler version> <mpi> <mpi version>"
|
|
echo "e.g.: ./install_parmetis.sh parmetis-4.0.3 4.0.3 gnu 5.2.0 openmpi 1.10.1"
|
|
exit 1
|
|
fi
|
|
|
|
TARFILE="$1.tar.gz"
|
|
|
|
rsync -vtp "$TARFILE" install_parmetis_imager.sh hpcoftet@cl3fr4.hww.de: || exit 1
|
|
ssh hpcoftet@cl3fr4.hww.de ./install_parmetis_imager.sh > install_parmetis.log $@
|