Skip to content

Commit

Permalink
Updated error code message for incorrect configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonJLazard committed Jun 20, 2024
1 parent 33d01c2 commit ac8aaa2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -477,16 +477,18 @@ done

if [ "$USE_MKL" == "TRUE" ]
then
echo "Correct Configuration"
echo ""
elif [[ ! -z $FFTWROOT && ! -z $BLASROOT && ! -z $LPROOT ]];
then
echo "Correct Configuration"
echo ""
elif [[ ! -z $FFTWROOT && ! -z $BLASROOT && "$USEOPENBLAS" == "TRUE" ]]
then
echo "Correct Configuration"
echo ""
else
echo "Error Code 1"
echo "Incorrect configuration"
echo "Configuration Error: One of the three combinations must be satisfied"
echo " 1)The location of MKL is specified."
echo " 2)The location of fftw, blas, and lapack is specified."
echo " 3)The location of fftw, blas, and openblas is specified."
exit 1
fi

Expand Down

0 comments on commit ac8aaa2

Please sign in to comment.