|
[Sponsors] |
[Other] installation of OpenFOAM V.5, OpenFOAM+ v1706, and foam-extend 4.0 all together |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 19, 2018, 14:03 |
installation of OpenFOAM V.5, OpenFOAM+ v1706, and foam-extend 4.0 all together
|
#1 |
Member
|
I want to install OpenFOAM V.5 (from CFD direct), OpenFOAM+ v1706 (from ESI), and foam-extend 4.0 (from project foam-extend) all together on Ubuntu.
How should I do that? I know the installation of all three versions, if I'm installing them individual, but what is the procedure if I want to install all three of them on single system, without conflicts with each other? |
|
January 22, 2018, 06:00 |
|
#2 |
Senior Member
|
Hi,
You should make aliases to load the particular bashrc file for each version. For example I have this in my ~/.bashrc: Code:
alias of30x='source $HOME/OpenFOAM/OpenFOAM-3.0.x/etc/bashrc' alias of4x='source $HOME/OpenFOAM/OpenFOAM-4.x/etc/bashrc' alias of5x='source $HOME/OpenFOAM/OpenFOAM-5.x/etc/bashrc' alias ofplus='source ~/OpenFOAM/OpenFOAM-plus/etc/bashrc' alias ofdev='source ~/OpenFOAM/OpenFOAM-dev/etc/bashrc' alias foam32='source ~/foam/foam-extend-3.2/etc/bashrc' alias foam40='source ~/foam/foam-extend-4.0/etc/bashrc' Regards, Tom |
|
May 31, 2018, 20:03 |
|
#3 |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
just to add on, you may also source /etc/bash.bashrc if you dont want to open a new terminal
Hope it helps. |
|
Tags |
foam extend 4.0, instalation, openfoam 17.06(v2), openfoam 5.0 |
|
|