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

Installation of multiple OF-versions

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

Reply
 
LinkBack Thread Tools 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: 2
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: 2
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,200
Blog Entries: 32
Rep Power: 71
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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
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
Multiple OpenFOAM versions on one machine eric.m.tridas OpenFOAM Installation 19 February 15, 2014 11:09
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 04:11
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 22:20.