CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   intallation problems OpenFoam 2.1.x (http://www.cfd-online.com/Forums/openfoam-installation/112472-intallation-problems-openfoam-2-1-x.html)

danny123 January 29, 2013 12:30

intallation problems OpenFoam 2.1.x
 
1 Attachment(s)
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

aljazari January 29, 2013 15:17

It seems you are trying to compile it from source, if so, why are you not using the ubuntu deb pack?

wyldckat January 29, 2013 18:54

Greetings to all!

@Daniel:
Quote:

Originally Posted by danny123 (Post 404842)
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

danny123 January 30, 2013 04:11

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

wyldckat January 30, 2013 07:24

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


All times are GMT -4. The time now is 20:46.