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

OpenFOAM 2.3 Installation Question with prerequistes of salome-meca on debian

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   February 28, 2014, 09:16
Question OpenFOAM 2.3 Installation Question with prerequistes of salome-meca on debian
  #1
New Member
 
Join Date: Aug 2013
Posts: 18
Rep Power: 5
p0kerus is on a distinguished road
I installed Salome_meca 2014.1 , i want to source the qt,cmake,scotch and boost provided in salome-meca prerequisites . Any help would be appreciated . I am currently using debian testing jessie
Thanking You,
Regards
p0kerus
p0kerus is offline   Reply With Quote

Old   March 1, 2014, 08:30
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings p0kerus,

Mind sharing how you installed Salome_meca 2014.1?
Otherwise the help given might not match the installation you're using.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 1, 2014, 13:05
Default
  #3
New Member
 
Join Date: Aug 2013
Posts: 18
Rep Power: 5
p0kerus is on a distinguished road
Greetings wyldckat,
i used this link to download script file Salome-Meca 2014.1
which is a huge file
after decompressing i got prerequisite folder in salome install directory mine was opt/salome/v7_3_0/Prerequisite ,
It has all qt , cmake,scotch and boost folder . It has all the necessary file according to me , but i couldn't find a way to source the directory patch during installation , i searched etc directory of openFOAM but i couldn't find the variable that i should use to source it i know its too complicated but i would like to try
Thanking You
Regards
p0kerus
p0kerus is offline   Reply With Quote

Old   March 1, 2014, 15:15
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi p0kerus,

I advise you to let OpenFOAM build its own Scotch 6.0.0, because SALOME only has Scotch 5.11.1.

Anyway, here's the overview on what you need to modify:
  1. Edit these files:
    Code:
    OpenFOAM-2.3.0/etc/config/CGAL.sh
    OpenFOAM-2.3.0/etc/config/paraview.sh
    ThirdParty-2.3.0/makeCGAL
    And adjust the folder paths and version numbers accordingly.
    Notes:
    • CGAL depends on Boost, so that's the only thing that needs modifying. Example regarding Boost, change this line:
      Code:
      export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version
      To this:
      Code:
      export BOOST_ARCH_PATH=/opt/salome/SALOME-MECA-2014.1-LGPL/prerequisites/Boost_1520
    • CMake version and path is defined in "paraview.sh"
  2. After you've properly modified those files, start a new terminal window and initialize the OpenFOAM shell environment. If you don't know what I mean, then read this wiki page: http://openfoamwiki.net/index.php/In...with_the_Shell
  3. Build OpenFOAM according to the compilation instructions.
  4. When building ParaView 4.1.0, use this command:
    Code:
    ./makeParaView4 -qmake /opt/salome/SALOME-MECA-2014.1-LGPL/prerequisites/Qt_484/bin/qmake PARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=ON
And that's all!

Best regards,
Bruno
p0kerus likes this.
__________________
wyldckat is offline   Reply With Quote

Reply

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
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
Problem? with Installation of OpenFOAM 2.1.0 on to Ubuntu 10.4.4 VirtualBox Stubby OpenFOAM Installation 8 March 5, 2012 16:12
OpenFOAM Installation rclprice OpenFOAM Installation 1 July 21, 2011 16:31
Installation of OpenFOAM 1.5-dev and its fitness for FSI? Martin_ OpenFOAM Installation 24 November 16, 2010 18:39
salome, openfoam and moving mesh prhlava OpenFOAM Running, Solving & CFD 8 November 9, 2009 09:59


All times are GMT -4. The time now is 22:02.