fixed syntax bugs
This commit is contained in:
parent
e6d88e4458
commit
380f6e1ec5
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ spectral:
|
|||
|
||||
.PHONY : marc
|
||||
marc:
|
||||
@./installation/mods_Marc/apply_DAMASK_modifcations.sh ${MAKEFLAGS}
|
||||
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
||||
|
||||
.PHONY : processing
|
||||
processing:
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
DEFAULT_VERSION='2013.1'
|
||||
|
||||
WORKINGDIR=`dirname $0`
|
||||
WORKINGDIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
|
||||
source ../options
|
||||
source $WORKINGDIR/../options
|
||||
|
||||
while [ ! -d "$WORKINGDIR/$VERSION" ] || [ -z "$VERSION" ]
|
||||
do
|
||||
|
@ -16,8 +16,8 @@ do
|
|||
done
|
||||
echo "MSC version: $VERSION"
|
||||
|
||||
if [ "x$MSC_ROOT" != "x" ]
|
||||
then INSTALLDIR=$MSC_ROOT
|
||||
if [ "x$MSC_ROOT" != "x" ]; then
|
||||
INSTALLDIR=$MSC_ROOT
|
||||
fi
|
||||
|
||||
while [ ! -d "$INSTALLDIR" ] || [ -z "$INSTALLDIR" ]
|
||||
|
@ -31,15 +31,15 @@ echo "MSC installation path: $INSTALLDIR"
|
|||
|
||||
BLASDIR=''
|
||||
BLASTYPE=''
|
||||
if [ "x$LAPACK_ROOT" != "x" ]
|
||||
if [ "x$LAPACK_ROOT" != "x" ]; then
|
||||
BLASDIR=$LAPACK_ROOT
|
||||
BLASTYPE='LAPACK'
|
||||
fi
|
||||
if [ "x$ACML_ROOT" != "x" ]
|
||||
if [ "x$ACML_ROOT" != "x" ]; then
|
||||
BLASDIR=$ACML_ROOT
|
||||
BLASTYPE='ACML'
|
||||
fi
|
||||
if [ "x$IMKL_ROOT" != "x" ]
|
||||
if [ "x$IMKL_ROOT" != "x" ]; then
|
||||
BLASDIR=$IMKL_ROOT
|
||||
BLASTYPE='IMKL'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue