|
[Sponsors] |
[OpenFOAM.org] Building OpenFOAM 3.0.1 on Ubuntu 16.04 - failed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 17, 2016, 12:56 |
|
#21 |
New Member
Rishabh Golchha
Join Date: Sep 2016
Posts: 12
Rep Power: 10 |
I see. I did miss the dot. Thanks for pointing it out.
Now when I include it I get the error which i mentioned earlier Code:
cp: cannot stat '/home/rishabh/OpenFOAM/OpenFOAM-3.0.1/tutorials/incompressible/icoFoam/cavity/cavity': No such file or directory |
|
September 17, 2016, 20:00 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: The latest OpenFOAM User Guide is targeting OpenFOAM version 4. For OpenFOAM 3.0, you need to use this command instead:
Code:
cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity ./ |
|
November 25, 2016, 08:58 |
problem in installing openfoam 3.0.1 in ubuntu16.04
|
#23 |
Member
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10 |
I couldn't understand the log.make file. It's showing error detected. Can anyone help me out here?
thanks and regards Subhankar |
|
November 29, 2016, 17:06 |
|
#24 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
If it was due to the lack of RAM, then please run the following commands: Code:
free -h lscpu Code:
CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 It needs around 1 to 2 GB of RAM per core. If your machine only has 4GB of RAM, then you can only use 2 or 3 cores to build OpenFOAM.
__________________
|
|||
December 1, 2016, 04:11 |
|
#25 |
Member
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10 |
Hi wyldckat,
Thanks for replying... My machine has 8GB RAM. So how can I solve the issue? regards |
|
December 1, 2016, 20:21 |
|
#26 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
You didn't answer my other questions...
Anyway, there are two possible solutions I can think of:
|
|
December 2, 2016, 05:11 |
|
#27 |
Member
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10 |
Hi bruno,
my system has Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 CPU family: 6 I followed the wiki page completely and as per the instructions only i followed the commands. regards subhankar |
|
December 2, 2016, 07:14 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: OK, your machine have 2 real cores and 2 threads per core... if you are following the instructions given here: http://openfoamwiki.net/index.php/In...u#Ubuntu_16.04 - then please try running with only 3 threads, like this:
Code:
./Allwmake -j 3 > log.make 2>&1 |
|
December 6, 2016, 01:43 |
|
#29 |
Member
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10 |
Hi Bruno,
I tried to do everything fresh again from the start including the changes you said.The log.makePV file is showing segmentation fault. regards |
|
December 22, 2016, 14:31 |
|
#30 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry for the late reply. Something really strange is going on in your machine. I strongly suggest you do some system check ups, for example as instructed here: https://openfoamwiki.net/index.php/H...and_CPU_are_OK
|
|
February 2, 2017, 10:24 |
|
#31 |
Member
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 10 |
Hi everyone,
I followed https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 , for installation of OpenFoam on Ubuntu 16.04 I failed at step 10 For building ParaView with Python and MPI, it depends on whether you have installed the i686 or x86_64 architecture of Ubuntu. To check this, run: uname -m #note, im running on x86_64 For x86_64: #this will take a while... somewhere between 30 minutes to 2 hours or more ./makeParaView4 -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1 I failed here, when i entered the command ' ./makeParaView4 -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1 ' my entire screen froze and log me out of ubuntu Anyone has any idea , any input much appreciated EDIT: I adjusted the amount of allocated memory, and it seems to solve the problem Last edited by chia87; February 2, 2017 at 10:44. Reason: gained enlightenment |
|
Tags |
3.0.1, xenial xerus |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFOAM 3.0.1 in Ubuntu 18.04 | jlr | OpenFOAM Installation | 4 | January 3, 2019 13:57 |
[OpenFOAM.org] OpenFOAM 5 source pack installation on Ubuntu 16.04 | CjjJoy | OpenFOAM Installation | 23 | June 6, 2018 11:55 |
[OpenFOAM.com] Installation of OpenFOAM 1.7.1 on Ubuntu 16.04 | MM_Khan | OpenFOAM Installation | 11 | September 3, 2017 10:22 |
[OpenFOAM.com] Problems building OF-1.7.x version, Ubuntu 16.04, Gcc-5.4.0 | wadekar | OpenFOAM Installation | 2 | February 22, 2017 12:11 |
Initial conditions for uniform flow | andreas | OpenFOAM | 5 | November 16, 2012 16:00 |