mapFields command not found
When working through the Cavity tutorial, invoking the command mapFields yields the error message command not found.
~/OpenFOAM/OpenFOAM-v1606+$ mapFields -help mapFields: command not found
Activity
- Developer
Recheck the installation log. It should be available.
@Prashant: Keep in mind that official installation instructions don't explain how to create said installation log: http://www.openfoam.com/code/build-guide.php ;)
@Radon: Run
Allwmake
as follows:- When using bash:
./Allwmake > log.make 2>&1
- When using tcsh:
./Allwmake >& log.make
All of the textual output that comes from
Allwmake
will be sent into the filelog.make
, which is essentially the installation log that Prashant was referring to.- When using bash:
- Developer
Thanks Bruno
- Developer
Line 161 states you didn't setup FFTW, leading to failure of randomProcess library.
This leads to incomplete compilation.
Perhaps, try setting etc/config.sh/FFTW and rebuild.
Tagging in @mark
Thanks for your response. I am a novice at Linux. I followed the installation directions on http://openfoam.com/download/install-source.php. Please tell me how to set etc/config.sh/FFTW.
- Maintainer
Hi Eric, two options: either install fftw on your system, or edit the
etc/config.sh/FFTW
file to have this type of content:fftw_version=fftw-3.3.4 export FFTW_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$fftw_version
And make sure that you have the fftw-3.3.4 unpacked under $WM_THIRD_PARTY_DIR. The Third-Party Allwmake should now find the configuration and the rest of the OpenFOAM build should work.
- Prashant Sonakar Mentioned in issue #357 (closed)
Mentioned in issue #357 (closed)
- Eric Status changed to closed
Status changed to closed