|
[Sponsors] |
[OpenFOAM.org] Install OpenFOAM-2.3.0 on CentOS 7 ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 28, 2014, 02:44 |
Install OpenFOAM-2.3.0 on CentOS 7 ?
|
#1 |
New Member
Qi Guan
Join Date: Aug 2011
Posts: 27
Rep Power: 15 |
CentOS 7 just comes out. Is there anyone would like to update the installation process? I mean a really clean installation like:
http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL |
|
October 29, 2014, 02:35 |
Installation failed.
|
#2 |
New Member
Qi Guan
Join Date: Aug 2011
Posts: 27
Rep Power: 15 |
I tried to follow the instructions on:
http://openfoamwiki.net/index.php/In...HEL#CentOS_6.5 And I failed. I had a problem of using the command of: Code:
module load openmpi-x86_64 So I use: Code:
export MPI_INCLUDE=/usr/include/openmpi-x86_64 I met a problem in step #17. My log.MakePV file is attached here: |
|
October 29, 2014, 03:22 |
|
#3 |
Senior Member
|
Hi,
1. IIRC in RHEL 7, they've changed the name of the module for OpenMPI. You can list all available modules with 'module avail' command, and select the one corresponding to OpenMPI. 2. As to your log-file with error, it's quite obvious: Code:
etc/tools/ParaView4Functions: line 427: cmake: command not found |
|
October 29, 2014, 16:13 |
|
#4 |
New Member
Qi Guan
Join Date: Aug 2011
Posts: 27
Rep Power: 15 |
Hi Alexey,
I installed cmake, and seems it's progressing but now I met another problem in step #17. The error is shown in the following: -------------------------------------------------------------------------- [ 82%] Built target mpi4py.MPE Linking C shared module ../../../lib/site-packages/mpi4py/MPI.so CMakeFiles/mpi4py.MPI.dir/src/MPI.c.o: In function `OPENMPI_dlopen_libmpi': MPI.c.text+0x6eb1): undefined reference to `dlopen' MPI.c.text+0x6ecd): undefined reference to `dlopen' MPI.c.text+0x6ee3): undefined reference to `dlopen' MPI.c.text+0x6ef9): undefined reference to `dlopen' CMakeFiles/mpi4py.MPI.dir/src/MPI.c.o: In function `__pyx_pf_6mpi4py_3MPI_16Init': MPI.c.text+0x1345b): undefined reference to `dlopen' CMakeFiles/mpi4py.MPI.dir/src/MPI.c.o:MPI.c.text+0x1357d): more undefined references to `dlopen' follow collect2: error: ld returned 1 exit status make[2]: *** [lib/site-packages/mpi4py/MPI.so] Error 1 make[1]: *** [ThirdParty/mpi4py/vtkmpi4py/CMakeFiles/mpi4py.MPI.dir/all] Error 2 make: *** [all] Error 2 --- Installation complete for paraview-4.1.0 Set environment variables: export ParaView_DIR=/home/Black/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc48/ParaView-4.1.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1 --- Done -------------------------------------- Thank you for helping me out. Qi |
|
October 29, 2014, 16:53 |
|
#5 |
Senior Member
|
Hi,
I guess, this should be relevant: http://www.cfd-online.com/Forums/par...n-support.html (the workaround in the first message of the thread is mentioned in http://www.paraview.org/pipermail/pa...ry/030485.html, so I guess, it's in fact working despite doubts of the author). Also I'm not quite sure 4.1.0 with PV4Reader worth building Maybe it's just me, but when I have paraview binary installation with built-in OpenFOAM reader (extension=foam, requirePV=0), when I execute paraFoam all volume fields are selected by default while opening the case; if I build paraview 4.1.0 and PV4Reader, usually when I open a case, only U or p volume fields are selected. After certain time it becomes rather irritating. |
|
October 29, 2014, 17:19 |
|
#6 |
New Member
Qi Guan
Join Date: Aug 2011
Posts: 27
Rep Power: 15 |
How do you setup the OpenFOAM reader (extension=foam, requirePV=0)?
|
|
October 29, 2014, 17:29 |
|
#7 |
New Member
Qi Guan
Join Date: Aug 2011
Posts: 27
Rep Power: 15 |
I tried the instructions on the webpage you gave me. It still has an error of:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: MPI_EXTRA_LIBRARY (ADVANCED) |
|
October 30, 2014, 02:31 |
|
#8 | |
Senior Member
|
Quote:
Code:
extension=foam requirePV=0 |
||
November 9, 2014, 16:42 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Instructions for installing OpenFOAM 2.3.0 on CentOS 7.0 are written and tested: http://openfoamwiki.net/index.php/In...HEL#CentOS_7.0 Best regards, Bruno
__________________
|
|
December 28, 2014, 08:17 |
compling
|
#10 |
New Member
Join Date: Dec 2014
Posts: 7
Rep Power: 12 |
hi..I am new to work with openFoam and linux . I have a quastion and I would be grateful if you can help me. I tried to develop a new solver and change icoFoam to solve heat transfer. I change icoFoam.c and all required field and now I want to compile it. however, after typing "wmake" in linux terminal, a message shows me, this command is invalid..what should i have done?
|
|
December 30, 2014, 08:39 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings roshanak878 and welcome to the forum!
Please keep in mind that vague questions will likely lead to vague answers This is why this thread exists: http://www.cfd-online.com/Forums/ope...-get-help.html This to say that you should provide at least the following information:
Bruno
__________________
|
|
March 12, 2015, 08:35 |
|
#12 |
New Member
Alessio
Join Date: Mar 2015
Posts: 5
Rep Power: 11 |
Hi, I am new to work with OpenFoam, I try to install it on Scientific linux 7, but in the logfile (step 12) i find some errors and i don't understand what is missing. i Try also to skip these errors and go on to the other step but then the errors come out when i try to install paraview, and it failed... to install it i follow the step written in the link of post #9 of this topic ( openfoam v2.3 ). Here enclosed the logfile so that you can help me solve these problems.
|
|
March 12, 2015, 09:36 |
|
#13 |
Senior Member
|
Hi,
Code:
[myself@agatha ~]$ cat /etc/redhat-release Scientific Linux release 7.0 (Nitrogen) Code:
[myself@agatha ~]$ yum provides /usr/lib64/libGL.so Modules complémentaires chargés*: auto-update-debuginfo, langpacks mesa-libGL-devel-9.2.5-5.20131218.el7.x86_64 : Mesa libGL development package Dépôt * : sl Correspondance depuis*: Nom de fichier*: /usr/lib64/libGL.so mesa-libGL-devel-9.2.5-6.20131218.el7_0.x86_64 : Mesa libGL development package Dépôt * : @sl-fastbugs/7.0 Correspondance depuis*: Nom de fichier*: /usr/lib64/libGL.so |
|
March 12, 2015, 13:18 |
|
#14 | |
New Member
Alessio
Join Date: Mar 2015
Posts: 5
Rep Power: 11 |
Quote:
|
||
March 12, 2015, 13:42 |
|
#15 |
Senior Member
|
And do you have /usr/lib64/libGL.so file?
|
|
March 12, 2015, 14:33 |
|
#16 |
New Member
Alessio
Join Date: Mar 2015
Posts: 5
Rep Power: 11 |
|
|
March 12, 2015, 15:15 |
|
#17 |
Senior Member
|
According to your pictures (though I would prefer if you continue with plain text) libGL.so is symlink and it is broken symlink (see that cross on the screenshot).
Looking at the other files on your pictures it seems that you have installed Nvidia drivers, do not know why these drivers decided to break libGL. You can try to delete broken symlink and recreate it. This time point it to existing file (like libGL.so.1). |
|
March 13, 2015, 05:16 |
|
#18 | |
New Member
Alessio
Join Date: Mar 2015
Posts: 5
Rep Power: 11 |
Quote:
I'm uploading on dropbox the log.makePV since it's to big: https://www.dropbox.com/s/qjqwzvcczd...PV.tar.gz?dl=0 Thanks in advance for your help, highly appreciated |
||
March 13, 2015, 05:25 |
|
#19 |
Senior Member
|
Hi,
Can you please point me to the failed steps? I have searched make.log and log.makePV for errors and warnings and was not able to find any. There is no need to tar and gzip single file, you can just gzip it. If you create archives with Nautilus' Compress functionality, just select .gz extension instead of .tar.gz (though it is not the case for multiple files and folders). |
|
March 13, 2015, 06:31 |
|
#20 | |
New Member
Alessio
Join Date: Mar 2015
Posts: 5
Rep Power: 11 |
Quote:
line #11 : sed: impossibile leggere /home/Ale/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Utilities/kwsys/kwsysDateStamp.cmake: File o directory non esistente #74 -->#79 : -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found #103 --> #106 : -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found #132, #133 : -- Check size of __int64 -- Check size of __int64 - failed #150,#151: -- Looking for getsockname in socket -- Looking for getsockname in socket - not found #1011 --> #1016: -- Looking for include file windows.h -- Looking for include file windows.h - not found -- Looking for include file ieeefp.h -- Looking for include file ieeefp.h - not found -- Looking for floor -- Looking for floor - not found #1027 -->#1030 : -- Looking for pow -- Looking for pow - not found -- Looking for sqrt -- Looking for sqrt - not found #1075-->#1076: -- Performing Test GLX_DEFINES_TYPE_GLXextFuncPtr_AS_EMPTY -- Performing Test GLX_DEFINES_TYPE_GLXextFuncPtr_AS_EMPTY- Failed #1081 --> #1084: -- Performing Test GLX_DECLARES_FUNCTION_glXGetProcAddressARB_AS_EMPT Y -- Performing Test GLX_DECLARES_FUNCTION_glXGetProcAddressARB_AS_EMPT Y - Failed -- Performing Test GLX_DECLARES_FUNCTION_glXGetProcAddress_AS_EMPTY -- Performing Test GLX_DECLARES_FUNCTION_glXGetProcAddress_AS_EMPTY - Failed and many others, but maybe are of minor impotance. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
[OpenFOAM.org] Problems installing OpenFOAM 2.1.0 on CentOS 6.2 | svinaya | OpenFOAM Installation | 1 | December 23, 2016 09:47 |
Bug for install OpenFOAM 2.3.0 under redhat 6.5 | jordanjo | OpenFOAM Installation | 1 | August 5, 2014 13:42 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |