CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] v1712 installation with intel and mpt - Kahip (https://www.cfd-online.com/Forums/openfoam-installation/199668-v1712-installation-intel-mpt-kahip.html)

cecile March 12, 2018 10:43

v1712 installation with intel and mpt - Kahip
 
Hello,

I am currently trying to install OpenFoam v1712 on a cluster with intel compiler 16 and mpt 2.12.

I managed recently to install OpenFoam 4.1 with intel compiler 16 and mpt 2.12 but with OpenFoam v1712 I have issues with Kahip building. There are lots of error like this one :


/sw/compil/gcc/5.2.0/include/c++/5.2.0/bits/stl_iterator_base_types.h(154): error: name followed by "::" must be a class or namespace name
typedef typename _Iterator::iterator_category iterator_category;
^
detected during:
instantiation of class "std::__iterator_traits<_Iterator, void> [with _Iterator=PathID={unsigned int}]" at line 163
instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=PathID={unsigned int}]" at line 31 of "partition/coarsening/matching/gpa/path_set.cpp"

My Allwmake.log file is invalid (?) and I didn't manage to attach it.

I don't know why it is looking in gcc directory since i use intel compiler ....or i think I use Intel.

If anyone has a suggestion to help me .....

Thanks in advance ,

Cécile

cecile March 13, 2018 05:41

1 Attachment(s)
Hello !

Ok, I managed to solve this issue : my libstdc++ librairie wasn't the good one !

Now I have another issue compiling openFoam sources.
It stops at the very beginning with this error :

db/dictionary/dictionarySearch.C(327): error: invalid type conversion: "Foam::dictionary::const_searcher" to "const Foam::dictionary::searcher &"
return static_cast<const searcher&>(finder);
^
The full log file is attached.

Does anyone has ever encountered such an error ? What is it due to ?

Thanks in advance

Have a nice day

olesen March 22, 2018 09:55

Quote:

Originally Posted by cecile (Post 684987)
Hello !

Ok, I managed to solve this issue : my libstdc++ librairie wasn't the good one !

Now I have another issue compiling openFoam sources.
It stops at the very beginning with this error :

db/dictionary/dictionarySearch.C(327): error: invalid type conversion: "Foam::dictionary::const_searcher" to "const Foam::dictionary::searcher &"
return static_cast<const searcher&>(finder);
^
The full log file is attached.

Does anyone has ever encountered such an error ? What is it due to ?

This is an interesting one. This should normally work, but obviously doesn't in your case. The intent is to search within the dictionary (normally read-only), but allow explicit casting to the other (read/write) version.

It's rather unfortunate if you've waited a long time and received no answer, but it's only by chance that I read the forum.

I've opened an issue
https://develop.openfoam.com/Develop...lus/issues/780

but I think I would need your assistance to ensure that we get a fix that actually works for you.

/mark

olesen March 22, 2018 09:56

Sorry double posted, but please do follow up on this on the gitlab side.
Thanks
/mark

olesen March 22, 2018 09:58

Quote:

Originally Posted by cecile (Post 684866)
Hello,

I am currently trying to install OpenFoam v1712 on a cluster with intel compiler 16 and mpt 2.12.

I managed recently to install OpenFoam 4.1 with intel compiler 16 and mpt 2.12 but with OpenFoam v1712 I have issues with Kahip building. There are lots of error like this one :

For Gcc we've added -fpermissive when compiling kahip.
I think that your intel compiler might also be too old.

cecile March 23, 2018 05:44

Thank you Mark for your answer !

Concerning kahip i am currently trying to install intel 2018 but i have license pb so it may take a while ...

For the second issue I will follow up on this on the gitlab side and let you know .

Thanks again
Cécile


All times are GMT -4. The time now is 22:29.