CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] v1606+ compiling problem with 64-bit labels

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 19, 2016, 13:15
Default v1606+ compiling problem with 64-bit labels
  #1
Member
 
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11
Naresh yathuru is on a distinguished road
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«
     writeEntryIfDifferent(os, "nCellPerEddy", 5, nCellPerEddy_);
                                                               ^
fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C:1110:63: note: candidate is:
In file included from lnInclude/fixedValueFvPatchField.H:58:0,
                 from lnInclude/fixedValueFvPatchFields.H:29,
                 from fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.H:83,
                 from fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C:26:
lnInclude/fvPatchField.H:533:18: Anmerkung: template<class EntryType> void Foam::fvPatchField<Type>::writeEntryIfDifferent(Foam::Ostream&, const Foam::word&, const EntryType&, const EntryType&) const [with EntryType = EntryType; Type = Foam::Vector<double>]
             void writeEntryIfDifferent
                  ^
lnInclude/fvPatchField.H:533:18: note:   template argument deduction/substitution failed:
fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C:1110:63: note:  deduced conflicting types for parameter ‘const EntryType’ (‘int’ and ‘Foam::label {aka long int}’)
     writeEntryIfDifferent(os, "nCellPerEddy", 5, nCellPerEddy_);
                                                               ^
make: *** [/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt64Opt/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.o] error 1
FYI: I read the post http://www.cfd-online.com/Forums/ope...-problems.html #17

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
Naresh yathuru is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Creepy ugly problem in compiling ParaView 4.4.0 for OF 3.0.x Democritus OpenFOAM Installation 1 June 23, 2016 23:11
problem with compiling udf through visual studio chem engineer Fluent UDF and Scheme Programming 2 August 17, 2015 10:46
problem with compiling boundary condition udf in parallel mode chem engineer Fluent UDF and Scheme Programming 11 June 29, 2015 06:23
problem compiling spalart allmaras model bababanamzdaalma OpenFOAM 0 April 4, 2012 20:13
Problem in running fluent 6.3 (64 bit) on ubuntu 8.1 (64 bit) Mir5 FLUENT 3 April 29, 2009 10:32


All times are GMT -4. The time now is 10:23.