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

System wide installation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2006, 05:17
Default Hello, I succeeded in insta
  #1
Member
 
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 60
Rep Power: 8
anger is on a distinguished road
Hello,

I succeeded in installing OpenFOAM to a user's directory.
I would prefer to have the installation in an system wide accessible location so that all users on a machine get access to it, for example in /soft/OpenFOAM. Is this possible and what changes, besides changing the installation directory in the bashrc file, are necessary to accomplish this?

Thanks for your input,

best regards
-Thomas
anger is offline   Reply With Quote

Old   March 29, 2006, 05:37
Default Thats it. Just make sure all t
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Thats it. Just make sure all the users can source the new installation, i.e. the OF directory structure is readable by all or group.
eugene is offline   Reply With Quote

Old   March 29, 2006, 06:45
Default In my experience OpenFOAM tend
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
In my experience OpenFOAM tends to run smoothest (no change of scripts etc) when found at $HOME/OpenFOAM/. For a system wide installation I would recommend (at least that's what I did) emulating this behaviour with symbolic links:

* Set-up a site-wide available NFS-Drive /OpenFoam and mount that on all machines
* install the necessary OpenFOAM-versions into that directory (getting something like /OpenFOAM/OpenFOAM-1.2/)
* to set up a User for OpenFOAM
** create a symbolic link for him (ln -s /OpenFOAM $HOME/OpenFOAM)
** edit his bashrc as described in the README
(of course she can do theses things herself)

I have decided to take this opt-in-route (the User has to be set up if he wants to use OF) because we have other software here some of which for instance don't like the cutting-edge g++ that comes with OF.

(I remember one problem with my setup with FoamX where one dir/file has to be readwritable for everyone otherwise FoamX won't start, but I can't remember exactly how we fixed it, if you run into it I'll be glad to help)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
Installation Fluent 6.3 into Red Hat Linux System rashid FLUENT 1 March 1, 2008 09:57
World wide CFD conferences B. R. Guirguis Main CFD Forum 0 January 21, 2006 03:04
Installation on a cluster running a queueing system PBS sampaio OpenFOAM Installation 12 June 20, 2005 17:16
wide regime flows AE FLUENT 0 May 18, 2004 18:06
New Site-Wide Search Engine Jonas Larsson Main CFD Forum 3 June 12, 2000 12:55


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