|
[Sponsors] |
[OpenFOAM.org] ThirdParty packet download script for OpenFOAM 3.0.x and dev |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 5, 2015, 14:51 |
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 |
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 |
|
January 26, 2016, 09:52 |
|
#2 |
New Member
Alexandru Saramet
Join Date: Oct 2012
Location: Germany
Posts: 1
Rep Power: 0 |
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 |
|
|
|