2013-01-29 20:59:43 +05:30
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2013-02-01 17:51:56 +05:30
|
|
|
${DAMASK_ROOT}/code/setup/modify_Files.py
|
2013-02-26 00:16:36 +05:30
|
|
|
#remove -c or --compile from args an in case call compile spectral solver
|
|
|
|
compile=0
|
|
|
|
myArgs=''
|
|
|
|
for args
|
|
|
|
do
|
|
|
|
if [ "$args" = "-c" -o "$args" = "--compile" ]
|
|
|
|
then compile=1
|
|
|
|
else
|
|
|
|
myArgs="$myArgs $args"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
echo $myArgs
|
|
|
|
if [ "$compile" = 1 ]
|
|
|
|
then echo 'Compiling spectral solver'
|
|
|
|
${DAMASK_ROOT}/code/setup/compile_SpectralSolver.py $myArgs
|
|
|
|
fi
|
2013-02-01 17:51:56 +05:30
|
|
|
${DAMASK_ROOT}/code/setup/symlink_Code.py
|