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

Installation of multiple OF-versions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2014, 06:20
Default Installation of multiple OF-versions
  #1
New Member
 
Olivia Nalen
Join Date: Apr 2014
Location: Vancouver
Posts: 19
Rep Power: 12
entropie is on a distinguished road
Hello dear Foamers and Ubuntu-Users,

I was trying to install both of versions of OF (2.3.0 and 1.6-ext). I had to add this lines to bashrc to change the OF-environment:

alias of230='source /opt/openfoam230/etc/bashrc'
alias of16ext='source /opt/OpenFOAM-1.6-ext/etc/bashrc'

Now, if I type "of230", OF2.3.0 is loaded; but if I type "of16ext", I get error "command not found". Why is that so? The path source /opt/OpenFOAM-1.6-ext/etc/bashrc is correct

I would be very grateful if someone can help me,
Olivia
entropie is offline   Reply With Quote

Old   April 24, 2014, 10:23
Default
  #2
New Member
 
Olivia Nalen
Join Date: Apr 2014
Location: Vancouver
Posts: 19
Rep Power: 12
entropie is on a distinguished road
Problem is already solved; it was impossible to load version 1.6-ext because of some errors during the installation in the directory /opt/.

I've installed the software again; this time in the /home/ directory and now it works
entropie is offline   Reply With Quote

Old   April 24, 2014, 15:29
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Olivia,

The problem was likely that you didn't modify the variable "foamInstall" in the file "/opt/OpenFOAM-1.6-ext/etc/bashrc".

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Multiple OpenFOAM versions on one machine eric.m.tridas OpenFOAM Installation 19 February 15, 2014 11:09
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
OF installation for multiple users mirko OpenFOAM Installation 0 June 24, 2010 10:52


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