Hi Robm,
Thanks for your quick reply. I checked my typeinfo file and I have the exact same lines as you. Which lines shall I try to delete? Kind regards |
Quote:
cd $FOAM_SOLVERS/multiphase/multiphaseEulerFoam and there compile with wmake Then copy the start of the output here (the whole if it is not too much) |
Hi Bernhard,
Please find below the output error from wmake in multiphaseEulerFoam: Quote:
|
Quote:
BTW: please use the CODE-tag for output not the QUOTE. CODE has several advantages. One being that it is not automatically removed when replying |
Hi Bernhard,
I started the installation again from scratch to make sure that I had not altered the system. MacPorts seems to be working fine as I tested it using 'sudo port selfupdate' (Step 1.4 wiki page). I still have the same error message as I originally posted. However, I had forgotten to run the patch for the ThirdParty. I just did so and I got the following error: Code:
new-host:ThirdParty-2.1.1 marionjames$ patch -p1 <ThirdParty-2.1.0-Mac.patch Kind regards. |
Quote:
"I still have the same error message as I originally posted": you mean: you reinstalled gcc-mp-46 (because according to your last post it is missing) and now you have the orignal error message. Could you NOW please post the problem you have when compiling that solver? |
Hi Bernhard,
Please find below the start of the output from wmake in multiphaseEulerFoam: Code:
new-host:multiphaseEulerFoam marionjames$ wmake |
Quote:
/Users/marionjames/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/wchar.h The file should be named wchar.H ... the compiler used it instead of the system wchar.h and got confused Either you're not working on a case-sensitive file-system or the OF-sources were extracted (or copied over) such a file-system |
Hi Bernhard,
Thanks! I changed the file system to be case sensitive. However I now have the following errors: 1 - When applying first patch (half way through the output): Code:
patching file applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/Make/options 2 - When compiling OpenFOAM Code:
from multiphaseEulerFoam.C:33: 3 - When compiling multiphaseEulerFoam Code:
new-host:multiphaseEulerFoam marionjames$ wmake Kind regards. |
Quote:
|
Hi Bernhard,
I downloaded the tar source pack for OpenFOAM-2.1.1 from http://openfoam.org/download/source.php. Then, I just extracted it and checked in src/OpenFOAM/lnlnclude and there is only Scalar.H is the folder. There isn't much I can do about that... Is there somewhere else I can download the source pack from? Kind regards. |
Quote:
tar tzf OpenFOAM_blabla.tgz | grep -i scalar.H you will see that both files are there |
Hi Bernhard,
Indeed I was extracting the Download folder. The compilation of OpenFOAM seemed to have worked just fine now, many thanks! However, I still can't use it... I added the following line in the ~/.bashrc Code:
alias of211='hdiutil attach "/Users/marionjames/OpenFOAM-2.1.dmg" -mountpoint "$HOME/OpenFOAM" > /dev/null ; . $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc' Code:
hdiutil: attach failed - No such file or directory |
Quote:
ls /Users/marionjames/OpenFOAM-2.1.dmg $HOME/OpenFOAM which of the two relevant objects is missing (I don't use that alias as the first thing I do with a new Mac is repartition to have case-sensitve partition for OF. So that is all the help I can give you there) |
Hi Bernhard,
Although I had made an error with the name of the disk image (OpenFOAM-v2.1), the first subject is still missing. Maybe the following lines will help... Otherwise thank you very much with all your help, it is very much appreciated. Code:
new-host:~ marionjames$ ls -lah |
Quote:
|
Thanks! I can now run a case, except I still can't post-process in Paraview.
In the openfoam wiki page, it says to add the two following lines in the ~/. alias file but I don't have this file. Quote:
Kind regards. |
Quote:
BTW: when entering code-snipplets use the CODE-tag not QUOTE |
Sure, I changed the path to:
Code:
alias paraview='open -a /Applications/paraview.app' Kind regards. |
32-bit Mac Support?
Has anyone tried to follow the instructions/recommends in this post and the Wiki install guide for compiling 2.1.1 on a 32-bit Mac? I'm running 10.6.8 but on old-ish hardware. I followed all the instructions, but also changed the line 'export WM_ARCH_OPTION=64' to 32 in the bashrc file. In the end, the compilation failed. That seemed to be the only obvious place where 32-bit architecture is referenced, although when installing the patches there seemed to be many "intel64gcc" messages flash across my screen.
I'm new to OpenFOAM and this is my first attempt at installing OpenFOAM on my Mac, so I apologize if this is basic knowledge that has been covered elsewhere. Thanks! |
All times are GMT -4. The time now is 06:32. |