CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Installation

intallation problems OpenFoam 2.1.x

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 29, 2013, 12:30
Default intallation problems OpenFoam 2.1.x
  #1
Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 52
Rep Power: 5
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, 4 views)
danny123 is offline   Reply With Quote

Old   January 29, 2013, 15:17
Default
  #2
New Member
 
Abdulhaq
Join Date: Oct 2012
Posts: 24
Rep Power: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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
Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 52
Rep Power: 5
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,514
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 13:43
Salome -> OpenFoam ( Export as unv) Problems encountered tibo11 OpenFOAM Native Meshers: blockMesh 8 January 9, 2013 07:39
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
Can openfoam solve problems in cylindrical and spherical coordinate systems? GGerber OpenFOAM Running, Solving & CFD 3 October 27, 2010 18:18


All times are GMT -4. The time now is 17:31.