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

intallation problems OpenFoam 2.1.x

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2013, 12:30
Default intallation problems OpenFoam 2.1.x
  #1
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
Hello,

I have some trouble installing OF 2.1.x on my computer. Enclosed is the log file. Symtoms are that BlockMesh works, but I cannot run IcoFoam in the cavity tutorial case. It says "icoFoam: Befehl nicht gefunden" (command not found).

Seems that there is something missing, but I am not sure what. BlockMesh and Paraview work fine.

I did the build the sources in parallel, otherwise as instructed on the home page of OpenFoam. My computer is a I7-980, 6 Dualcore. Operation system is Ubuntu 12.04 LTS.

Can anybody help me?

Thanks,

Daniel
Attached Files
File Type: gz make.log.tar.gz (11.7 KB, 5 views)
danny123 is offline   Reply With Quote

Old   January 29, 2013, 15:17
Default
  #2
New Member
 
Abdulhaq
Join Date: Oct 2012
Posts: 27
Rep Power: 14
aljazari is on a distinguished road
It seems you are trying to compile it from source, if so, why are you not using the ubuntu deb pack?
aljazari is offline   Reply With Quote

Old   January 29, 2013, 18:54
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
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
Greetings to all!

@Daniel:
Quote:
Originally Posted by danny123 View Post
I have some trouble installing OF 2.1.x on my computer. Enclosed is the log file. Symtoms are that BlockMesh works, but I cannot run IcoFoam in the cavity tutorial case. It says "icoFoam: Befehl nicht gefunden" (command not found).

Seems that there is something missing, but I am not sure what. BlockMesh and Paraview work fine.
I've checked your log file and this is the symptom:
Code:
+ wmake libso liquidMixtureProperties
'libNULL.so' is up to date.
+ wmake libso solidProperties
'libNULL.so' is up to date.
+ wmake libso solidMixtureProperties
'libNULL.so' is up to date.
+ wmake libso basic
'libNULL.so' is up to date.
From that point onward it's all downhill, namely all applications and libraries that depend on these will not build.

It's possible that you're triggering a crazy error that occurs with GNU make. Restrict the value for "WM_NCOMPPROCS" to 8 instead of 12 or more. Then try running Allwmake once again.

If then you still see those "libNULL.so" references, run the following commands:
Code:
#these two clean up the build folders for the damaged libraries
wclean all src/thermophysicalModels/properties
wclean all src/thermophysicalModels/basic

#these two you probably already know
export WM_NCOMPPROCS=8
./Allwmake > make.log 2>&1
Other possible reasons:
  • Insufficient disk space, although you wouldn't managed to get all other applications and libraries to build.
  • RAM/CPU problems, but it would probably have triggered one of those errors that say something like "GNU compiler, non-reproducible error, possibly hardware failure".
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 30, 2013, 04:11
Default
  #4
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
Hello Bruno, hello all,

This installation is from grit, not source. There are some benefits doing so: always up to date, ability to manipulate the source code yourself to name a few.

I had frequent "hardware" failures on this machine, which turned out not to be hardware failures, but the bios had to be updated. Now the machine works fine, but I think due to the frequent forced re-starts, there is damage in some files, apparently the make compiler. This is what I deduct from what you tell me. So, I think we will reformat the hard disk and re-install Ubuntu from scratch, then install OpenFoam again. Hope this will work. Obviously there is still the possibility that there is a hardware failure, but we had checked the machine by the company which sold it. Windows, by the way, allways worked fine.

Thanks for the support,

Daniel
danny123 is offline   Reply With Quote

Old   January 30, 2013, 07:24
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
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
Hi Daniel,

Try "stressapptest", more specifically:
Code:
stressapptest -W --cc_test
It's Google's own testing system - code.google.com/p/stressapptest/ - which reveals crazy hardware problems that usually aren't detected with common tools

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
2.1.x, build, installation, problem, sources


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
[Salome] Salome -> OpenFoam ( Export as unv) Problems encountered tibo11 OpenFOAM Meshing & Mesh Conversion 13 May 1, 2019 08:21
Can openfoam solve problems in cylindrical and spherical coordinate systems? GGerber OpenFOAM Running, Solving & CFD 6 February 5, 2015 11:37
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 12:43
OpenFOAM 2.1.x linking error AlmostSurelyRob OpenFOAM Installation 8 May 10, 2012 16:07
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


All times are GMT -4. The time now is 15:00.