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

How to Copy OF Installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 1, 2013, 04:31
Default How to Copy OF Installation
  #1
New Member
 
Join Date: Jan 2013
Posts: 7
Rep Power: 4
Za-ck is on a distinguished road
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,

Za-ck
Za-ck is offline   Reply With Quote

Old   August 18, 2013, 20:29
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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:
    Code:
    rsync -ave ssh --progress ~/OpenFOAM/ othermachinename:~/OpenFOAM/
  • If it's with an intermediate disk/USB drive, you can create a tarball:
    Code:
    cd
    tar -cjf OpenFOAM.tar.bz2 OpenFOAM
    Then to unpack on the other machine:
    Code:
    cd
    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:
      Code:
      echo $HOME
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 19, 2013, 05:04
Default
  #3
New Member
 
Join Date: Jan 2013
Posts: 7
Rep Power: 4
Za-ck is on a distinguished road
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".
Za-ck is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam 2.0.0 installation Jan_Peters OpenFOAM Installation 86 April 27, 2012 05:32
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Installation problems indy OpenFOAM Installation 7 April 3, 2009 09:40
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 13:29


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