Indentation
This commit is contained in:
parent
f319c0c474
commit
6fc26df120
1 changed files with 4 additions and 7 deletions
5
sit
5
sit
|
@ -50,14 +50,12 @@ if [[ -e $SIT_CONFIG_FILE ]] ; then
|
|||
fi
|
||||
source "$SIT_PATH/functions.sh"
|
||||
|
||||
|
||||
# identify platform manually if no environment variable was set
|
||||
PLATFORM=${PLATFORM:=$SITE_PLATFORM_NAME}
|
||||
if [ -z $PLATFORM ]; then
|
||||
sit_info "Unknown platform using default platform '${DEFAULT_PLATFORM}' configuration"
|
||||
PLATFORM="${DEFAULT_PLATFORM}"
|
||||
fi
|
||||
|
||||
sit_info "Platform: $PLATFORM"
|
||||
|
||||
# compiler to use
|
||||
|
@ -90,8 +88,7 @@ else
|
|||
module swap $COMPILER $COMPILER/$COMPILER_VERSION
|
||||
fi
|
||||
# adjust MPICH and libsci versions to match compiler
|
||||
module load cray-mpich-compat/v7 \
|
||||
|| module load cray-mpich-compat/v6
|
||||
module load cray-mpich-compat/v7 || module load cray-mpich-compat/v6
|
||||
fi
|
||||
MPI_DIR=$MPICH_DIR
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue