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

[OpenFOAM.org] ThirdParty packet download script for OpenFOAM 3.0.x and dev

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By zordiack

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2015, 13:51
Default ThirdParty packet download script for OpenFOAM 3.0.x and dev
  #1
Member
 
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14
zordiack is on a distinguished road
I thought I'd share a little script I just made, since I think there could be some serious OpenFOAM installation going on at the moment

This is just a dummy script, which downloads and extracts the usual packets in ThirdParty dir. Modify it to suit to your own needs, should be suitable as is for current ThirdParty-dev and ThirdParty-3.0.x versions.

Oh, and it also patches the annoying bugs in ParaView source tree

Code:
#!/bin/bash

wget https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.7/CGAL-4.7.tar.xz
echo 'Extracting CGAL...'
tar xf CGAL-4.7.tar.xz
wget https://gforge.inria.fr/frs/download.php/file/34099/scotch_6.0.3.tar.gz
tar zxf  scotch_6.0.3.tar.gz
wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download
echo 'Extracting Boost...'
mv download boost_1_55_0.tar.bz2
bunzip2 boost_1_55_0.tar.bz2
tar xf boost_1_55_0.tar
wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz
echo 'Extracting Metis...'
tar zxf metis-5.1.0.tar.gz
wget http://www.paraview.org/files/v4.4/ParaView-v4.4.0-source.tar.gz
echo 'Extracting ParaView...'
tar zxf ParaView-v4.4.0-source.tar.gz
mv ParaView-v4.4.0-source ParaView-4.4.0
#patch for ParaView-4.4.0
wget https://raw.githubusercontent.com/Kitware/VTK/40937e934308e5009e80769dc0c451ee4f157749/IO/Geometry/vtkSTLReader.cxx -O ParaView-4.4.0/VTK/IO/Geometry/vtkSTLReader.cxx
sed -i '643,647 s/^/#/' ParaView-4.4.0/Qt/Components/CMakeLists.txt
Happy installing
Attached Files
File Type: txt getall.sh.txt (1.0 KB, 8 views)
zordiack is offline   Reply With Quote

Old   January 26, 2016, 08:52
Default
  #2
New Member
 
Alexandru Saramet
Join Date: Oct 2012
Location: Germany
Posts: 1
Rep Power: 0
alsaeng is on a distinguished road
Found also git repository for scotch. Just do in ThirdParty-x folder:

Code:
git clone git://github.com/poulson/scotch.git
mv scotch/ scotch_6.0.3
alsaeng is offline   Reply With Quote

Reply


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



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