|
[Sponsors] |
[OpenFOAM.com] Trying to install OF-v1706 to Fedora 26 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2017, 10:00 |
Trying to install OF-v1706 to Fedora 26
|
#1 |
New Member
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17 |
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 |
|
August 18, 2017, 09:19 |
|
#2 |
Senior Member
|
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. |
|
August 21, 2017, 08:16 |
|
#3 | |
New Member
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17 |
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:
Last edited by dfeid; August 21, 2017 at 10:32. |
||
August 21, 2017, 10:05 |
|
#4 |
Senior Member
|
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. |
|
August 21, 2017, 10:54 |
|
#5 | |
New Member
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17 |
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:
Last edited by dfeid; September 12, 2017 at 15:33. |
||
September 9, 2017, 19:54 |
|
#6 |
New Member
Join Date: Apr 2009
Location: Greece - Hellas
Posts: 21
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Installing v1612+ on Fedora 25 | JonW | OpenFOAM Installation | 4 | January 27, 2017 16:38 |
openfoam-2.2.2 on fedora 20 source install | fedvasu | OpenFOAM Installation | 7 | December 31, 2013 08:11 |
install Ansys 13.0 on Fedora 15 | 8703303 | ANSYS | 0 | November 7, 2011 11:36 |
Fedora 15 install help | jenkins | OpenFOAM Installation | 10 | October 27, 2011 18:51 |
install openfoam in fedora | Ahmed Khattab | OpenFOAM Installation | 32 | September 23, 2011 12:11 |