CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   How to Copy OF Installation (

Za-ck August 1, 2013 04:31

How to Copy OF Installation
Hi Foamers!

I've got a working installation of OpenFOAM in my home directory. Now I would like to copy this installation on another Computer. Is this possible? And how? Doing this results in some errors, when I'm trying to run OpenFOAM in parallel.

Best regards,


wyldckat August 18, 2013 20:29

Greetings Za-ck,

It depends on how you make the copy from one machine to the other one.
  • If it's direct over network, you can use rsync:

    rsync -ave ssh --progress ~/OpenFOAM/ othermachinename:~/OpenFOAM/
  • If it's with an intermediate disk/USB drive, you can create a tarball:

    tar -cjf OpenFOAM.tar.bz2 OpenFOAM

    Then to unpack on the other machine:

    tar -xf OpenFOAM.tar.bz2

    • The "cd" command is only to make sure that you are in your home folder, namely the one indicated by this command:

      echo $HOME
Best regards,

Za-ck August 19, 2013 05:04

Hi Bruno,

I tried the second way and it works perfectly, also in parallel. Thank You!
I think my fault was, that I did not copy the "user-rights".

All times are GMT -4. The time now is 23:32.