CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [Other] Looking for instructions/suggestions on installing Ubuntu as 2nd OS for OpenFOAM (https://www.cfd-online.com/Forums/openfoam-installation/159146-looking-instructions-suggestions-installing-ubuntu-2nd-os-openfoam.html)

Alan Thomason September 9, 2015 14:39

Looking for instructions/suggestions on installing Ubuntu as 2nd OS for OpenFOAM
 
Hi All...

If you wish to install Ubuntu on a secondary hard drive in preparation for OpenFOAM, are there specific suggestions regarding that installation.

For instance, I found a helpful page that shows how to set up four partitions on the new drive, but for one of these partitions (/home) the suggestion is to be very generous, but does that mean use all the remaining space?

http://linuxbsdos.com/2012/07/23/dua...2-hard-drives/

Any other advice on installing Ubuntu for OpenFOAM would be greatly appreciated.

Please have mercy on me if I'm asking a redundant question. I have been looking through the previous postings and cannot find anything regarding this question.

alexeym September 9, 2015 15:14

Hi,

Since Ubuntu and OpenFOAM are rather independent things (or it is better to say that Ubuntu is more independent), you can use "https://www.google.com/search?q=ubuntu+as+a+second+operating+system". Guess, you have already did that.

Another option is virtualization. You can use VirtualBox (here is example of successful usage - http://www.cfd-online.com/Forums/ope...tml#post556723) or any other supervisor you have license for. Again it is much easier to find information on how to install Ubuntu in container elsewhere.

Alan Thomason September 9, 2015 15:44

Hi Alexey...I am looking for any specific advice on Ubuntu installation on a second hard drive specifically for creating an environment for OpenFOAM. If you think a standard Ubuntu installation would work that would be helpful advice as well.

Thanks

alexeym September 9, 2015 16:00

Hi,

Still did not get your question. If you are looking for suggestion about Ubuntu installation on the second hard drive, well, it is much easier to do it on Ubuntu-specific forum. Guess it would be "Install Ubuntu on second hard drive, install loader on primary hard drive. Enjoy.".

After you have installed Ubuntu, you have two ways of installing OpenFOAM:

1. "Official" binary release
2. Compile it from sources

Both ways are described on openfoam.org. Unfortunately there is nothing specific for this kind of installation.

Alan Thomason September 9, 2015 16:07

Hi Alexey...I am looking for specific Ubuntu installation changes that someone who has installed Ubuntu and then OpenFOAM would have made if they had to repeat the process. So, for example, it is recommended on the Ubuntu forums to not use automatic partitioning. Does OpenFOAM require more space on one of the partitions than another?

alexeym September 9, 2015 16:52

Well, from my experience automatic partitioner tends to make root partition too small, so even after installation of all OpenFOAM requirements there is not much space left on /. I think you will find "do not use automatic partitioner" attitude on any Linux forum, cause it is automatic and Linux forum users are in general control-freaks (or would like to be them). Much like "never use automatic login".

If you need to know space required by OpenFOAM installation itself:

Code:

alexey at daphne in OpenFOAM$ du -hs OpenFOAM-2.4.0
1,1G        OpenFOAM-2.4.0

This is sources + binaries on OS X (third party software is installed separately).

Code:

alexey at fiona in openfoam$ du -hs 2.3.0
2,9G        2.3.0

This is sources + binaries on Linux (value is higher due to ThirdParty sources and binaries)

On my personal Scientific Linux installation I live quite happily for 40 G root partition. Thought OpenFOAM installations reside on /home partition, since I build it myself.

You will need lots of space for simulation results.


All times are GMT -4. The time now is 20:42.