View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002231 | OpenFOAM | Bug | public | 2016-09-03 19:15 | 2016-09-04 15:56 |
Reporter | satari_ir | Assigned To | chris | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
OS | Ubuntu | OS Version | 16.04 | ||
Summary | 0002231: when I compile, I see this fault | ||||
Description | InterFoam.C:44:29: fatal error: twoPhaseMixture.H: No such file or directory compilation terminated. /root/OpenFOAM/OpenFOAM-4.0/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/InterFoam.o' failed make: *** [Make/linux64GccDPInt32Opt/InterFoam.o] Error 1 | ||||
Tags | No tags attached. | ||||
|
At the last section of the instructions given here: http://openfoam.org/download/source/software-for-compilation/ - it states that you should exit from root/administrator mode. Given the error message you've provided, it means that you didn't do this step. If you wish to move the files you've downloaded already into the "/root" folder back to your own home folder, then you can use something like the following commands (while in root mode): mv /root/OpenFOAM /home/your_user_name/OpenFOAM chown -r your_user_name:your_user_name /home/your_user_name/OpenFOAM Please don't forget to replace "your_user_name" with your own user name, namely the one when you first start the terminal/console command line. Then log out from system administrator by running the following command: exit Then continue following the instructions given here: http://openfoam.org/download/4-0-source/#environment-variables |
|
My 2ยข, what is wrong with "sudo apt-get ..." and "su -c '...'"? Also there is [ "$(id -u)" -eq 0 ] check. |
|
Alexey, I have gone with your suggestion for using sudo apt-get... Thanks, it avoids confusion. |
|
Apart from improving documentation, there is no issue here. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-03 19:15 | satari_ir | New Issue | |
2016-09-03 20:50 | wyldckat | Note Added: 0006809 | |
2016-09-03 21:56 | alexeym | Note Added: 0006815 | |
2016-09-03 22:07 | alexeym | Note Edited: 0006815 | |
2016-09-04 15:54 | chris | Note Added: 0006816 | |
2016-09-04 15:55 | chris | Note Added: 0006817 | |
2016-09-04 15:55 | chris | Status | new => resolved |
2016-09-04 15:55 | chris | Resolution | open => fixed |
2016-09-04 15:55 | chris | Assigned To | => chris |