v1606+ compiling problem with 64-bit labels
Hello Foamers,
I m stuck with a wierd error while compiling Openfoam-v1606+ . I m compiling OF1606+ on CENTOS 7.2 in /opt folder. Everything went well untill the last Openfoam compilation. Now I get this error: Code:
error: No matching function to call for »Foam::turbulentDFSEMInletFvPatchVectorField::writeEntryIfDifferent(Foam::Ostream&, const char [13], int, const label&) const« I previously installed OF1606+ in Home/User directory with "Lable size 64" on another computer with the same centOS 7.2 and it worked fine. But other users could not access openFoam for that reason I wanted to install OF1606 this time in a system wide location (opt). I m lost at this point. Please through some light. Thank you in advance. Best Regards, Naresh |
Hey Naresh,
I have got exactly the same error while compiling OFv1606+ on Ubuntu, so maybe there is some change in a code? Hope someone can help us out. Best regards, Joost Here is my error: make: *** [/home/ubuntu/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt64Opt/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.o] Error 1 |
This was fixed quite sometime ago. You should try the master branch from develop.openfoam.com
|
Hi everyone
I followed the tip suggested in the main post by Bruno. It worked. which is : I changed the 64 label size to 32 in the /OpenFoam/OpenFOAM-v1606+/etc/bashrc file. Thank you Regards, Naresh |
Choose:
source $HOME/OpenFOAM/OpenFOAM-v1606+/etc/bashrc instead of: source $HOME/OpenFOAM/OpenFOAM-v1606+/etc/bashrc WM_LABEL_SIZE=64 |
All times are GMT -4. The time now is 05:33. |