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

[OpenFOAM.com] Trying to install OF-v1706 to Fedora 26

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By dfeid

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2017, 09:00
Default Trying to install OF-v1706 to Fedora 26
  #1
New Member
 
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17
dfeid is on a distinguished road
Hi to everyone

I trying with no success to install the OpenFOAM 1706 to Fedora 26 although I have managed to install the 3rd party software normally (Paraview 5.4 is working), I stuck with the main code compilation. In case you want to help you may find attached the log file .

I will appreciate any help in this issue.

Thanks in advance
Attached Files
File Type: gz log.make.gz (1.5 KB, 16 views)
dfeid is offline   Reply With Quote

Old   August 18, 2017, 08:19
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

In general this error happens, when you build OpenFOAM with 64-bit ints and Scotch was built with 32-bit ints. So label type in long int, while SCOTCH_Num is int.

I guess, you have system-wide installed Scotch, which uses 32-bit ints and has higher priority in include paths. And since the only -I flag before third-party scotch is -I/usr/include/openmpi-x86_64, this 32-bit-int Scotch is in /usr/include/openmpi-x86_64.
alexeym is offline   Reply With Quote

Old   August 21, 2017, 07:16
Default
  #3
New Member
 
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17
dfeid is on a distinguished road
Dear Alexey

Thank you for your answer but I really need your help to overcome this situation e.g to compile the 64-bit version of Scotch. I am not so familiar with Linux.
Indeed the first time I tried to compile with total success the code according to OpenWikki web pages I forgot to put the WM_LABEL_SIZE=64 flag at the .bashrc file in order to set up the compilation environment. At the continue when I realized this I deleted all the folders and recompiled all with the above flag. The Paraview is working well but OpenFOAM has not being compiled.

Thanks once again




Quote:
Originally Posted by alexeym View Post
Hi,

In general this error happens, when you build OpenFOAM with 64-bit ints and Scotch was built with 32-bit ints. So label type in long int, while SCOTCH_Num is int.

I guess, you have system-wide installed Scotch, which uses 32-bit ints and has higher priority in include paths. And since the only -I flag before third-party scotch is -I/usr/include/openmpi-x86_64, this 32-bit-int Scotch is in /usr/include/openmpi-x86_64.

Last edited by dfeid; August 21, 2017 at 09:32.
dfeid is offline   Reply With Quote

Old   August 21, 2017, 09:05
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Let me try to better understand your answer, right now it is rather strange.

- You are not so familiar with Linux.
- OF-v1704 does not support Fedora (or to be more precise ESI does not provide binaries for anything except Ubuntu). BUT you DO want to use OF-v1704 on Fedora (if you are not so familiar with Linux, why not chose Ubuntu?).
- You would like to compile OF with label = int64_t, cause your meshes are ENORMOUSLY HUGE and 2147483647 as maximum value of index is not enough for you.
- You do not know what is installed on you system (i.e. you just want to copy-past guide).

If all statements above are correct, then, unfortunately, I won't be able to help.
alexeym is offline   Reply With Quote

Old   August 21, 2017, 09:54
Default
  #5
New Member
 
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17
dfeid is on a distinguished road
OK Alexey

I don't understand why you are so aggressive but I am not going to comment yours answer anymore.
I am not so familiar with Linux, but I intent to be!!! Where is the strange?
Reading, searching on web and posting here, somehow and sometime I will find a way to reach my target!!!
If you didn't want to help, you could just drop it and to carry on

So, It is not a big deal

Have a nice day!!





Quote:
Originally Posted by alexeym View Post
Hi,

Let me try to better understand your answer, right now it is rather strange.

- You are not so familiar with Linux.
- OF-v1704 does not support Fedora (or to be more precise ESI does not provide binaries for anything except Ubuntu). BUT you DO want to use OF-v1704 on Fedora (if you are not so familiar with Linux, why not chose Ubuntu?).
- You would like to compile OF with label = int64_t, cause your meshes are ENORMOUSLY HUGE and 2147483647 as maximum value of index is not enough for you.
- You do not know what is installed on you system (i.e. you just want to copy-past guide).

If all statements above are correct, then, unfortunately, I won't be able to help.

Last edited by dfeid; September 12, 2017 at 14:33.
dfeid is offline   Reply With Quote

Old   September 9, 2017, 18:54
Default
  #6
New Member
 
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17
dfeid is on a distinguished road
Finally the problem solved and the compilation was accomplished
I have just turned to system's installed libraries

Code:
cd $WM_PROJECT_DIR
bin/tools/foamConfigurePaths -boost boost-system -cgal cgal-system -scotch scotch-system
wmRefresh
To be helped follow the very informative post
wyldckat and agustinvo like this.
dfeid is offline   Reply With Quote

Reply


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.com] Installing v1612+ on Fedora 25 JonW OpenFOAM Installation 4 January 27, 2017 15:38
openfoam-2.2.2 on fedora 20 source install fedvasu OpenFOAM Installation 7 December 31, 2013 07:11
install Ansys 13.0 on Fedora 15 8703303 ANSYS 0 November 7, 2011 10:36
Fedora 15 install help jenkins OpenFOAM Installation 10 October 27, 2011 17:51
install openfoam in fedora Ahmed Khattab OpenFOAM Installation 32 September 23, 2011 11:11


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