Problem of openFOAM 2.3.1 installation in Ubuntu 14.04LTS
Dear FOAMers!
Recently I have installed OpenFOAM 2.3.1, earlier I have used version 2.1.1 After installation of openfoam 2.3.1, when I run e terminal following error message displayed in terminal: PHP Code:
when I ran the command: PHP Code:
PHP Code:
PHP Code:
PHP Code:
BR mukut |
Greetings mukut,
A few questions:
Bruno |
Thanks Mr. Bruno!
Ans for 1st Q: I am using these steps to install openFOAM 2.3.1: https://www.youtube.com/watch?v=LkLgwm64jGI ans for 2nd Q: I just deleted openFOAM 2.1.1 folder..... I have informed the youtuber who has given the tutorial regarding my issue: he replied as follows: PHP Code:
PHP Code:
Regards mukut |
Dear Mr. Bruno!
Shall I have to install the OF and then a fresh installation? I am waiting for your reply. I have ran a case, it works fine. After comparing results, I will inform you. Actually what is the effect due to show link cc error??? BR mukut |
Hi
Hi Mukut;
You need to see if these files are installed Code:
sudo apt-get install libopenmpi-dev openmpi-bin Code:
ln -s /usr/bin/mpicc.openmpi OpenFOAM-2.3.0/bin/mpicc Or you can use prebuild openfoam installtion script that i have posted on forum. Regards; p0kerus |
Dear Mr. p0kerus!
Thanks a lot! After running your 1st command in terminal, the installation completed by download file. Then I run 2nd two commands in the terminal: mukut@mukut-Endeavor-MR3300:~$ ln -s /usr/bin/mpicc.openmpi OpenFOAM-2.3.1/bin/mpicc ln: failed to create symbolic link ‘OpenFOAM-2.3.1/bin/mpicc’: No such file or directory mukut@mukut-Endeavor-MR3300:~$ ln -s /usr/bin/mpicc.openmpi OpenFOAM-2.3.1/bin/mpicc ln: failed to create symbolic link ‘OpenFOAM-2.3.1/bin/mpicc’: No such file or directory mukut@mukut-Endeavor-MR3300:~$ Anyway, after that I have closed the terminal and open again but there is no error as I posted here. Does it really solve? Regards mukut |
Greetings to all!
FYI: Instructions for compiling OpenFOAM 2.3.1 on Ubuntu 14.04 have been available on the wiki since at least the 31st of December of 2014: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 - therefore, there is no need to go around trying to manually replace occurrences of "2.3.0" by "2.3.1". @mukut: It seems that you jumped from some other step directly to step #5. Please follow the steps in the correct order (from 1 to 12), in order for them to work as expected. Best regards, Bruno |
Quote:
After p0kerus reply, the show link error didn't show in terminal and I am using openFoam. In this situation, I need your suggestion. Shall I continue to use openFOAM or uninstall it and then use the steps to install that the link you have given in last reply? Regards mukut |
Hi mukut,
If your OpenFOAM installation is now working, then no need to rebuild it again. Feel free to use it as it is. Either way, if you see one or more situations where you think that something might be broken in your installation, then perhaps it's best to remove the current installation and start over. Best regards, Bruno |
Quote:
Dear Mr. Bruno Thank you so much. OF works fine, thanks again |
All times are GMT -4. The time now is 21:02. |