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

[OpenFOAM.org] Delete ThirdParty and still use OpenFOAM?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2017, 02:11
Default Delete ThirdParty and still use OpenFOAM?
  #1
Member
 
Robert
Join Date: Sep 2016
Posts: 32
Rep Power: 9
dussa is on a distinguished road
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
dussa is offline   Reply With Quote

Old   August 8, 2017, 04:23
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Old   August 8, 2017, 21:22
Default
  #3
Member
 
Robert
Join Date: Sep 2016
Posts: 32
Rep Power: 9
dussa is on a distinguished road
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
dussa is offline   Reply With Quote

Old   August 9, 2017, 04:18
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Old   August 14, 2017, 20:23
Default
  #5
Member
 
Robert
Join Date: Sep 2016
Posts: 32
Rep Power: 9
dussa is on a distinguished road
Thank you Alexey, thats freed up a lot of storage for me.
dussa 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 22:50.