Created
March 22, 2021 03:29
-
-
Save shahrzad/9c404b02a9e6b8df58853d80cf4b01c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 2 ] | |
then | |
build_type=$1 | |
compiler=$2 | |
node_name=$(echo $(hostname)|cut -d'.' -f 1) | |
node_name=${node_name:0:-2} | |
echo $node_name | |
./hpx_script.sh ${build_type} ${compiler} ${node_name} | |
else | |
echo "Error: Two arguments should be provided: build_type and compiler" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment