|
[Sponsors] |
[OpenFOAM.org] Problems installing OpenFOAM 2.3.1 in Ubuntu 12.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 8, 2015, 06:03 |
Problems installing OpenFOAM 2.3.1 in Ubuntu 12.04
|
#1 |
New Member
Masoud
Join Date: Mar 2015
Posts: 1
Rep Power: 0 |
Dear Bruno,
I am using Ubuntu 12.04 LTS 64bit and I am trying to install openfoam 2.3.1. While testing the installation I got: Code:
Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.35 /usr/bin/flex gcc 4.6.3 /usr/bin/gcc gzip 1.4 /bin/gzip tar 1.26 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/masoud/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/icoFoam current path : CRITICAL ERROR make.log.tar.gz |
|
March 8, 2015, 08:39 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Masoud and welcome to the forum!
I moved your post from the other thread, since the other one was for OpenFOAM 2.0.0. I need to know something: how and when exactly did you install the MPI toolbox "LAM"? I ask this because I'm not able to reproduce this problem with Ubuntu 12.04: Code:
In file included from /usr/lib/lam/include/mpicxx.h:42:0, from /usr/lib/lam/include/mpi.h:1128, from ptscotchDecomp.C:125: ---------- edit: Try running the following command: Code:
sudo update-alternatives --set mpi /usr/lib/openmpi/include ---------- Best regards, Bruno
__________________
Last edited by wyldckat; March 8, 2015 at 09:21. Reason: see "edit:" |
|
April 23, 2015, 07:28 |
|
#3 |
Senior Member
|
Dear Bruno,
I am trying to install OpenFoam-2.3.1. on ubuntu 12.04, I am already using OF-2.1.1. I want to install OF-2.3.1 in parallel with 2.1.1. I want to install 2.3.1 in Home/OpenFoam$. I followed your instructions as you mentioned in your instruction on: https://openfoamwiki.net/index.php/I...M-2.3.1/Ubuntu When I run the command source $HOME/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPII get following message bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/etc/config/settings.sh: No such file or directory bash: /opt/OpenFOAM-2.3.1/etc/config/aliases.sh: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory Can you please tell me where I am making mistake and how can I install both version at the same time. Regards |
|
April 23, 2015, 17:01 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer - Please study this page: http://openfoamwiki.net/index.php/In...with_the_Shell - there you'll find details on how to have more than one OpenFOAM version installed.
|
|
August 8, 2018, 03:32 |
|
#5 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
I have this problem too. Did you solve it? Could you plz tell me how? Thanks |
||
August 8, 2018, 05:58 |
|
#6 | |
Senior Member
|
Hello Alimea,
It will be easier for me to reply if you could post your exact problem and what do you want to do. As far as my problem was concerned, I wanted to have two different version of OF at the same time. To have more than one version, one has to source the environment for each version by adding the following line in .baschr file Quote:
You could alias as many version as you want. I hope it is not confusing PS: To open .baschr file you can use following command in your home directory "gedit .baschr" Regards |
||
August 8, 2018, 06:41 |
|
#7 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Yes I have two versions of OF on my PC. but I had separated them with alias in bashrc before. |
||
August 8, 2018, 09:54 |
|
#8 |
Senior Member
|
Dear Alimea,
You can have two version as I mentioned above. If you have two versions and separated them with alias in baschr. What problem are you facing now? |
|
August 8, 2018, 10:44 |
|
#9 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
As I mentioned in my last post, I need to install another version. Now It gave the error that is mentioned in your first message.
|
|
August 9, 2018, 05:24 |
|
#10 |
Senior Member
|
Hello alimea,
Ok, I am supposing you already have one version of OF in your machine (I guess it will be in home directory) and you want to install another one. Do a fresh start with these steps. 1) Download 2nd version in you home directory which you want to install. 2) Source the environment by editing .baschr file. There should be alias command two times (for each version separately) 3) Type “source $HOME/.bashrc" in your terminal in home directory 4) Compile OF as you did for last installation. About one thing I am not sure, I forgot. But you can try that if you face same error. When you open your terminal to source your environment. Before and/or after step 3 you can type alias command which you have used in .baschr file like "of5x" in post #6 example. These were the steps, I used for my installation. Regards |
|
August 9, 2018, 07:13 |
|
#11 | ||
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Dear Muhammad I solved the problem with deleting this line in my .bashrc file (in HOME directory): Quote:
Thank you my friend |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
[OpenFOAM.org] Installing OpenFOAM 2.3 on Ubuntu 18.04 | Joe1best | OpenFOAM Installation | 15 | August 5, 2021 23:21 |
[foam-extend.org] Problems installing foam-extend-3.2 on Ubuntu 12.04 | roenby | OpenFOAM Installation | 4 | September 13, 2016 04:01 |
[waves2Foam] Problems in Operating waveDyMFoam in openfoam 2.3.1 | zhxter | OpenFOAM Community Contributions | 2 | May 18, 2015 21:57 |
Problems installing SVN in Ubuntu (for later installing PyFoam for OpenFOAM) | immortality | Lounge | 2 | May 24, 2014 04:05 |