CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   [] icoFoam: Command not found in OpenFOAM 3.0.1 installation on Ubuntu 16.10 (

febriyan91 June 7, 2017 02:45

icoFoam: Command not found in OpenFOAM 3.0.1 installation on Ubuntu 16.10
1 Attachment(s)
I really need help to solve this problem.
My OS is Ubuntu 16.10.
GCC version is 6.2.0.
mpi version is 1.10.3.
uname -m is x86_64

I installed OpenFOAM 3.0.1 by following this guide I did not find the guidance for installing Openfoam 3.0.1 on Ubuntu 16.10 so i used this guidance.
I followed step by step of the process, but while i checked the "icoFoam -help" step, i got this message : "icoFoam: command not found". Then i open the log file, it show several report like these:
1. " ‘isnan’ was not declared in this scope
2. "/home/feb/OpenFOAM/OpenFOAM-3.0.1/wmake/rules/General/transform:8: recipe for target '/home/feb/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt64Opt/src/conversion/ensight/part/ensightPartIO.o' failed"
3. "make: *** [/home/feb/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt64Opt/src/conversion/ensight/part/ensightPartIO.o] Error 1"

i attached the gz log file.

I have searched about "isnan" problem that occured in my OF 3.0.1 installation cases and i found this link :
The link suggest to :
#include <math.h>
#include <cmath>

replace all instances of

But i do not understand which file i should edit and i am new on Ubuntu and Openfoam. Or is there any more simple way to fix my OF installation problem.
Any help or clues will help me and i really appreciate it. I am sorry for gramatical errors, english is not my native language.
Thank you in advance :)

wyldckat June 25, 2017 13:34

Quick answer: This is already fixed in OpenFOAM 3.0.x, which is the bug fix version of the OpenFOAM 3.0 series. This issue was originally reported here:

The fixes that you need to do are given in the following pages in detail:

All times are GMT -4. The time now is 10:57.