Installation of OpenFOAM 1.7.x on openSUSE 11.4
OpenSUSE 11.4 is being released in these hours, and some OpenFOAM user might be curious to try it (it looks like a very promising release to me).
The installation of OpenFOAM 1.7.x is straightforward, however, paraview 3.8.0 cannot be easily compiled. I put together a few steps to be able to install ParaView 3.10.0
You will notice the steps to install paraview are clearly a temporary hack, however they did the job on openSUSE 11.4 - 64 bit.
Yeah, 11.4 is out now!
Yes, and it is working well too at least here during a couple of days of testing (KDE installation).
I have installed opensuse 11.4, gnome, gnome3 and then 1.6-ext.
When installing the paraview 3.10.0, during it was still compiling the paraview, because this takes quite a long time, so I went to modify "cmake_install.cmake" file immediately.
Comment out the line witt ParaViewLibraryDepends.cmake as you have said, don't know why.
And it works now.
One smal note, the video card must be firstly installed, or paraview might not behave very correctly when trying to save the screenshot.
Wednesday we have installed openSUSE 11.4 (KDE installation).
I have experienced a strange thing.
If I don't comment the following 3 lines of my .cshrc file I am no more able to log in !
#setenv FOAM_INST_DIR /shared/OpenFOAM
#setenv foamDotFile $FOAM_INST_DIR/OpenFOAM-1.7.x/etc/cshrc
#if ( -f $foamDotFile ) source $foamDotFile
Has someone encountered such a problem or can give me advices to solve it ?
Until openSUSE 11.3 it was OK and openFOAM 1.7.x was running fine.!
Now I can log in without commenting the 3 lines of my .cshrc file.
But I have to comment the following line
set foamInstall = $HOME/$WM_PROJECT
which is located in the following file
Disclaimer: I'm not a korn shell user, so I haven't fully tested some of these commands. I'm basing myself on my experiences with bash shell.
It seems you've already done a lot of "isolate and conquer" on your shell, but have you checked if the OpenFOAM environment is activated automatically by the common profile?
In other words, I suggest doing the following steps:
Further than this, I would have to test my theories and do some more debugging in a korn shell... which I would very much rather not try, since my past experiences with it have been sort-of traumatic :rolleyes:
I have redone a complete installation of OpenFOAM (OpenFOAM-1.7.x and ThirdParty-1.7.x) with openSUSE 11.4.
I have followed the steps described by Alberto:
Now it works in parallel.
Thanks Bruno and Alberto.
|All times are GMT -4. The time now is 13:58.|