CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] icoFoam: Command not found in OpenFOAM 3.0.1 installation on Ubuntu 16.10

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2017, 03:45
Default icoFoam: Command not found in OpenFOAM 3.0.1 installation on Ubuntu 16.10
  #1
New Member
 
Febriyan Prayoga
Join Date: Apr 2016
Location: Seoul
Posts: 4
Rep Power: 5
febriyan91 is on a distinguished road
Greetings.
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 https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04. 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 : https://github.com/xournalpp/xournalpp/issues/167
The link suggest to :
replace
#include <math.h>
with
#include <cmath>

replace all instances of
isnan
with
std:isnan



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
Attached Files
File Type: gz log.make.gz (2.4 KB, 1 views)

Last edited by febriyan91; June 7, 2017 at 06:21. Reason: i found additional information
febriyan91 is offline   Reply With Quote

Old   June 25, 2017, 14:34
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: https://bugs.openfoam.org/view.php?id=2041

The fixes that you need to do are given in the following pages in detail:
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FLUENT installation on UBUNTU 12.04 (LTS) teymourj FLUENT 2 March 1, 2017 23:24
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 18:38
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 05:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26


All times are GMT -4. The time now is 08:35.