|
[Sponsors] |
[OpenFOAM.org] Delete ThirdParty and still use OpenFOAM? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 8, 2017, 03:11 |
Delete ThirdParty and still use OpenFOAM?
|
#1 |
Member
Robert
Join Date: Sep 2016
Posts: 32
Rep Power: 10 |
Hi everyone,
I have managed to install OpenFOAM-4.x on my home directory on my University's cluster (because it am sick of asking IT to do it and have them do nothing for months at a time). There are other things that I am installing myself however I am also running out of space on my home directory. Now that I have OF4.x installed, am I able to delete the ThirdParty folder? I am not going to be using paraview on the cluster, but I am also unsure if OFoam calls on anything from the ThirdParty folder during a run. If someone could please let me know if this is safe to do so, so I don't destroy my installation first. Kind regards, Rob |
|
August 8, 2017, 05:23 |
|
#2 |
Senior Member
|
Hi,
It depends. What third party components did you compile? gcc? scotch? METIS? For sure, you can remove ParaView if you do not plan to use it. Other things a less obvious and depend on your needs. |
|
August 8, 2017, 22:22 |
|
#3 |
Member
Robert
Join Date: Sep 2016
Posts: 32
Rep Power: 10 |
I followed the instructions here for installing on CentOS:
https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL so i have compiled pretty much everything in the third party folder, and I have the following in the build folder: ThirdParty-4.x/build/linux64/binutils-2.23 ThirdParty-4.x/build/linux64/gcc-4.8.5 ThirdParty-4.x/build/linux64/gmp-5.1.2 ThirdParty-4.x/build/linux64/mpc-1.0.1 ThirdParty-4.x/build/linux64/mpfr-3.1.2 ThirdParty-4.x/build/linux64Gcc/CGAL-4.8 ThirdParty-4.x/build/linux64Gcc/ParaView-5.0.1 ThirdParty-4.x/build/linux64Gcc/cmake-3.2.1 ThirdParty-4.x/build/linux64Gcc/wt-everywhere-opensource-src-4.8.6 Even if I am not able to delete any of these, would I be able to delete the corresponding folders in the /ThirdParty-4.x directory (ie /CGAL-4.8 /binutils-2.23 etc), leaving everything in the /build directory alone? Yea I thought for sure I could get rid of ParaView, as I am always going to do post processing on a workstation. Thank you, Rob |
|
August 9, 2017, 05:18 |
|
#4 |
Senior Member
|
Hi,
If you do not plan to rebuild third party software packages you can: - delete source folders (i.e. ThirdParty-4.x/gcc-4.8.5, etc). - delete intermediate build files in ThirdParty-4.x/build folder (or just build folder). If you do not plan to use ParaView on cluster, you can also delete ThirdParty-4.x/platforms/ParaView-* folder. If you do not use METIS/Scotch decomposition, you can get rid of METIS/Scotch. If you do not use components, which use CGAL (IIRC it is only foamyMesh), delete CGAL. cmake was necessary for building ParaView and CGAL. If you do not use cmake for other projects, you can delete it also. Though, I think, you can stop after removing sources and intermediate build files. |
|
August 14, 2017, 21:23 |
|
#5 |
Member
Robert
Join Date: Sep 2016
Posts: 32
Rep Power: 10 |
Thank you Alexey, thats freed up a lot of storage for me.
|
|
|
|