Results 1 to 3 of 3

Thread: How to install OpenFOAM on SUSE 11.4

  1. #1
    Join Date
    Apr 2008

    How to install OpenFOAM on SUSE 11.4

    Hey friends I am starting this thread for sharing installation of OpenFOAM on SUSE 11.4. The installation is quite easy if you follow the below steps properly. The below steps are for openSUSE 11.4 – 64 bit:
    • First you will have to install cmake, libqt4-devel, libQtWebKit-devel, libQtAssistantClient4, flex, git using C/C++ development pattern in YaST. So when you are ready with the same then you can proceed further.
    • Create OpenFOAM naming directory in your home directory using the below command:
      mkdir ~/OpenFOAM
    • Now enter the OpenFOAM directory using the below command:
      cd ~/OpenFOAM
    • After that download the source code using the below command:
      git clone
    • Now you can download OpenFOAM along with the ThirdParty packages from here after downloading the same you have to save it to your ~/OpenFOAM directory.
    • You can extract ThirdParty-1.7.1.gtgz package using below command:
      tar xzf ThirdParty-1.7.1.gtgz
    • Now change the name of the ThirdParty-1.7.1 directory to ThirdParty-1.7.x using below command:
      mv ThirdParty-1.7.1 ThirdParty-1.7.x
    • Once you are done with the same you will have to Enter ThirdParty-1.7.x directory and Remove paraview-3.8.0 directory but before that you need to download ParaView 3.10.0 and save it in ThirdParty-1.7.x directory.
    • Now after saving it just Extract paraview .zip file in same directory and change its name to paraview-3.10.0. You might wonder what has been changes in that case I will like to inform you only the case of the letter has been changed, I mean ParaView 3.10.0 directory has been changed to paraview-3.10.0.
    • When you are done till here then Open ~/OpenFOAM/OpenFOAM-1.7.x/etc/apps/paraview3/bashrc in text editor and check out for “ParaView_VERSION. When you spot it then just change it to ParaView_VERSION=3.10.0, make sure that you are saving the changes before exiting the editor.
    • After that Open ~/.bashrc in text editor and add the below line and also source your ~/.bashrc file using “source ~/.bashrc” command.
      . $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc
    • You can now enter OpenFOAM-1.7.0 directory using the below command:
      cd $FOAM_INST_DIR/OpenFOAM-1.7.x
    • And compile it using the below command:
    • Now you just have to Build Paraview using the below commands:
    • If at all you get an error message saying “The build will fail at the Install stage because ParaViewLibraryDepends.cmake is not found” then use the below commands:
      cd ~/OpenFOAM/ThirdParty-1.7.x/platforms/build-linux64Gcc/paraview-3.10.0/
      Edit cmake_install.cmake
      ( you should Comment ParaViewLibraryDepends.cmake inserting #)
    • After making the above changes just Save it and enter the below commands:
      Execute: cd $WM_THIRD_PARTY_DIR
      Execute: ./makeParaView -no-config -no-make –install

      Now the paraview will get installed for OpenFOAM.

    You can Rebuild PV3FoamReader using the below command:
    cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader

    So after all this OpenFOAM will get installed successfully along with paraview as well as paraFoam. If anyone faces any further issues with the above solution then they can feel free to ask.

  2. #2
    Join Date
    May 2012

    Re: How to install OpenFOAM on SUSE 11.4

    That was quite good and I have followed the same and have installed openSUSE 11.4 along with KDE but now If I am not commenting “set foamInstall = $HOME/$WM_PROJECT” of .cshrc file then I am not able to log in. I am not having any issues when I am not commenting the same, I don’t think I have missed out anything from the above steps. Are you aware of this issue?? Further help regarding the same will be appreciative.

  3. #3
    Join Date
    Nov 2011

    Re: How to install OpenFOAM on SUSE 11.4

    I have tried out the same and I have not faced any issue like that, since you have mentioned that you have installed openSUSE 11.4 along with KDE, I thinks that’s what might be causing the issue. I will suggest you to try and install openSUSE 11.4. Along with OpenFOAM-1.7.x and ThirdParty-1.7.x and let me know if that is working out good for you.

Similar Threads

  1. How to Install SuSE Linux 9.0 Professional
    By RedZot in forum Guides & Tutorials
    Replies: 6
    Last Post: 04-08-2010, 05:05 AM
  2. Is there any need to install LAN driver of MFSYS25 for SUSE 11?
    By Amuda in forum Networking & Security
    Replies: 6
    Last Post: 26-06-2010, 11:42 PM
  3. Install SuSE from USB drive
    By SusE-SoNi in forum Operating Systems
    Replies: 1
    Last Post: 07-11-2009, 08:43 AM
  4. How to install yahoo messenger on SUSE
    By juugal in forum Windows Software
    Replies: 2
    Last Post: 22-04-2009, 08:09 PM
  5. Unable to install Firefox 2 on SUSE Linux 10
    By Santanio in forum Operating Systems
    Replies: 1
    Last Post: 09-01-2009, 09:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts