|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 3.0.x compilation error on OpenSUSE 13.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 2, 2015, 05:51 |
OpenFOAM 3.0.x compilation error on OpenSUSE 13.1
|
#1 |
New Member
Xiaopeng Wang
Join Date: Sep 2014
Posts: 7
Rep Power: 11 |
Hello everyone,
As the titled says, I met an error when I was compiling OpenFOAM 3.0.x into OpenSUSE 13.1. I followed all the steps from http://www.openfoam.org/download/git.php , and nothing went wrong until the " Buiding the Sources" step. Since I installed OpenFOAM in the opt directory, so I ran "sudo ./Allwmake" in it. However, it gave me an error message: "./Allwmake: line 7: /wmake/scripts/AllwmakeParseArguments: No such file or directory" I don't know what is going wrong, so I search it. I found nothing but these two 0001484: Missing file related to the recent wall distance feature + typo in wmake/scripts/AllwmakeParseArguments 0001485: Miscellaneous details missing regarding issue #256 and details uncovered in the process of fixing them I don't know much about compliation so I cannot figure out what they mean. So is there anyone could show me how to do next, it would be very kind of you. Thank you very much. Wang |
|
December 2, 2015, 08:59 |
|
#2 |
Senior Member
|
Hi,
sudo starts new session, so thing you have done during "Setting Environment Variables" are canceled. Look at line 7 of Allwmake script: Code:
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments You can start shell with sudo, set variables and run compilation there. You can create open foam user, transfer ownership of OpenFOAM installation folder to this user, and compile software under this user. In fact there are lots of possibilities. Last edited by alexeym; December 3, 2015 at 05:06. Reason: wording |
|
December 3, 2015, 04:58 |
|
#3 | |
New Member
Xiaopeng Wang
Join Date: Sep 2014
Posts: 7
Rep Power: 11 |
Quote:
Thank you for your reply. As you said, I made a mistake. Now everything is going well. Thank you again. Best regards, Wang |
||
January 22, 2016, 10:02 |
|
#4 |
New Member
Join Date: Sep 2015
Posts: 15
Rep Power: 10 |
Hello everybody.
I'm experimenting the same problem while installing OpenFOAM-3.0.1 on a cluster. I ve never installed anything in Linux so maybe I'm forgetting some passages. My folders tree is the following: /home/alessandro/OpenFOAM/OpenFOAM-3.0.1/ As written in the installation guide (Source Pack Installation), first I decompressed the folders then I checked if Gcc was updated. Everything should be fine (version 5.3.1 installed). Then I tried to set the environment variables: I added the line source $HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc in the bashrc file, just before the 'end of file' line. Then I ran the command source $HOME/.bashrc in the 'OpenFOAM' folder (not sure it s the right place). Running the script ./Allwmake in 'OpenFOAM-3.0.1' folder, I got the error Code:
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments Where did I mess up? Thank you Alessandro |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
Using Open-MPI with OpenFOAM 2.2.2 on openSUSE 13.1 | aylalisa | OpenFOAM Installation | 19 | January 29, 2014 17:16 |
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio | alberto | OpenFOAM | 40 | May 23, 2010 17:15 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |