Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a0b598a5
Commit
a0b598a5
authored
Jun 29, 2016
by
Andrew Heather
Browse files
COMP: Created conditional Allwmake scripts for FFTW dependent applications
parent
7972d0b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/DNS/dnsFoam/Allwmake
0 → 100755
View file @
a0b598a5
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
if
[
-f
"
$FFTW_ARCH_PATH
/include/fftw3.h"
]
||
\
[
"
${
FFTW_ARCH_PATH
##*-
}
"
=
system
-a
-f
"/usr/include/fftw3.h"
]
then
wmake
else
echo
echo
"Skipping dnsFoam solver (no FFTW)"
echo
fi
#------------------------------------------------------------------------------
applications/utilities/preProcessing/boxTurb/Allwmake
0 → 100755
View file @
a0b598a5
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
if
[
-f
"
$FFTW_ARCH_PATH
/include/fftw3.h"
]
||
\
[
"
${
FFTW_ARCH_PATH
##*-
}
"
=
system
-a
-f
"/usr/include/fftw3.h"
]
then
wmake
else
echo
echo
"Skipping boxTurb utility (no FFTW)"
echo
fi
#------------------------------------------------------------------------------
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment