|
[Sponsors] |
December 27, 2010, 09:35 |
Installation OF 1.7.x and 1.5-dev(1.6-ext)
|
#1 |
Member
Javier Basurco
Join Date: Jan 2010
Location: Rio de Janeiro, Brazil
Posts: 32
Rep Power: 16 |
Dear OFoamers,
I would like to know if is possible to install to version of OpenFOAM in the same place OpenFOAM directory. I was trying but before the compile the second version look like the first version was overwrite (is not problem of permission). For bashrc is more easy because is possible use different alias, to recognize the two version. I see another post but is not really clear how to do exactly? Thanks in advance, I will waiting for yours comments. Respectfully Javier Basurco |
|
December 27, 2010, 19:48 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Javier,
Perhaps you saw this post: Quote:
Code:
alias of17x="source $HOME/OpenFOAM/OpenFOAM-1.7.x/etc/bashrc" alias of15dev="source $HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc" Now, a few very important details:
Best regards, Bruno
__________________
|
||
December 28, 2010, 08:46 |
|
#3 |
Member
Javier Basurco
Join Date: Jan 2010
Location: Rio de Janeiro, Brazil
Posts: 32
Rep Power: 16 |
Dear Bruno,
Many thanks for your help. I am trying to do this right now. My kind regards Respectfully Javier Basurco |
|
December 30, 2010, 20:38 |
ThirdParty installation
|
#4 |
Member
Javier Basurco
Join Date: Jan 2010
Location: Rio de Janeiro, Brazil
Posts: 32
Rep Power: 16 |
Dear Bruno,
I compile OF 1.5-dev and Thirdparty after compile OF 1.7-x all its ok but when trying to compile the Thirdparty-1.7.x appear some problems in appends send the LOG`s files. Please help to resolve this problem??? First: When run Allclean, appear some problems related to gmake. Second: When trying to compile the paraview with mpi, appear an error. I look a forward to hearing from you. Thanks in advance for your help!!! Happy new 2011 year!!! Respectfully Javier Basurco |
|
December 31, 2010, 14:58 |
|
#5 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Javier,
Quote:
Code:
ln -s `which make` $WM_PROJECT_DIR/bin/gmake Quote:
I guess the other solution might come in handy sooner or later, depending on whether you use a custom build of OpenMPI or the system's build. Happy New 2011 to you too Bruno
__________________
|
|||
January 4, 2011, 08:45 |
|
#6 |
Member
Javier Basurco
Join Date: Jan 2010
Location: Rio de Janeiro, Brazil
Posts: 32
Rep Power: 16 |
Dear Bruno,
I looking for this library but this is install. I don't understand where is the problem, for the 1.5dev version install paraview 3.8.0 according to your post. When I trying to do the same with ThirParty-1.7.x, have the same problem when trying to use blockMesh, say that needs some things of paraview, please help I have the same Log. I look a forward to hearing from you, thanks in advance Respectfully Javier Basurco |
|
January 4, 2011, 09:37 |
|
#7 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Javier,
I must apologize, but I'm having trouble understanding what you wrote OK, if I understand you correctly, "freeglut3-dev" is already installed. If you told us which Linux version you are using, it would be easier to help you! Quote:
Quote:
And I fail to see the relation between blockMesh and ParaView What is being said about ParaView? There are two log files Which one are you talking about? Best regards, Bruno
__________________
|
|||
January 4, 2011, 14:09 |
|
#8 |
Member
Javier Basurco
Join Date: Jan 2010
Location: Rio de Janeiro, Brazil
Posts: 32
Rep Power: 16 |
Dear Bruno,
I am explain me better: I aam using ubuntu 10.04 in a sony vaio laptop core i7 with nvidia graphics board. 1° I am install this packages, that you suggested sudo apt-get install binutils-dev flex bison git-core build-essential python-dev libreadline5-dev wget zlib1g-dev cmake libpng12-dev libxt-dev libxi-dev libxrender-dev libxrandr-dev libxcursor-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev libglib2.0-dev freeglut3-dev libqt4-dev qt4-dev-tools 2° I am using the svn and download the openfoam-1.5-dev and thirdparty. When trying to using the paraview I have problems then follow this threat of Chalmers university: http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html The main objective was using paraview 3.8.0. Finally works very well 3° Then using git to download openfoam 1.7.x and follow the openfoam cfd to install the thirdparty ./Allclean ( I am using your advice and work very well, the space is clean) when trying to run ./makeParaView, obtain many strange things. I thing the some 64 bit library are not recognize the many message about GLX-some numbers apper. After that some minutes more the compilation crash 4° I am trying the follow your post: http://www.cfd-online.com/Forums/blo...-openfoam.html but not work for me. I am appending the Log of the compilation, I hope you can help me????:con fused: My kind regards Respectfully Javier Basurco |
|
January 4, 2011, 19:25 |
|
#9 | ||||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Javier,
Many thanks for the detailed reply! I think now I'm able to help you properly Quote:
Quote:
Quote:
Quote:
Code:
echo $MPI_ARCH_PATH/include echo $WM_MPLIB
Quote:
_______ edit: I've read my own blog post and there are already instructions there to avoid those issues with blockMesh!! The relevant fix starts here: Quote:
______ Best regards, Bruno
__________________
Last edited by wyldckat; January 5, 2011 at 22:48. Reason: see "edit:" |
|||||||
January 7, 2011, 07:14 |
|
#10 |
Member
Javier Basurco
Join Date: Jan 2010
Location: Rio de Janeiro, Brazil
Posts: 32
Rep Power: 16 |
Dear Bruno
I am very gratefully with your help and your time. But, I think that there are some conflicts with the libGL.so (video hardware) that make with paraview dont build in my system. I don't understand why, because I use paraview 3.8.0 with openfoam-1.5-dev and openfoam-1.6-ext(installed with cae ppa repository and paraview too). Finally, maybe in the future is possibly, one more time thanks for your help. My deep regards Respectfully Javier Basurco P.D.: I follow the last advice to no compile paraview but always appear the same message: blockMesh need some libraries for ThirdaParty-1.7.x - paraview. I think at moment there is no solution |
|
February 13, 2011, 18:45 |
|
#11 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
Hi Bruno, I've been trying to install 1.6-ext on my Ubuntu 10.10 computer today but I'm also having problems with the installer not being able to find mpi.h.
The first of many error messages involves mpi.h: Code:
Note: ignore spurious warnings about missing mpicxx.h headers + WM_OPTIONS=linux64GccDPOptOPENMPI + wmake libso mpi SOURCE=OPwrite.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -DOMPI_SKIP_MPICXX -I/include -IlnInclude -I. -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOptOPENMPI/OPwrite.o SOURCE=IPread.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -DOMPI_SKIP_MPICXX -I/include -IlnInclude -I. -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOptOPENMPI/IPread.o SOURCE=Pstream.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -DOMPI_SKIP_MPICXX -I/include -IlnInclude -I. -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOptOPENMPI/Pstream.o SOURCE=PstreamGlobals.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -DOMPI_SKIP_MPICXX -I/include -IlnInclude -I. -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/1.6-ext/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOptOPENMPI/PstreamGlobals.o Pstream.C:27: fatal error: mpi.h: No such file or directory compilation terminated. make: *** [Make/linux64GccDPOptOPENMPI/Pstream.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from PstreamGlobals.C:26: PstreamGlobals.H:39: fatal error: mpi.h: No such file or directory compilation terminated. make: *** [Make/linux64GccDPOptOPENMPI/PstreamGlobals.o] Error 1 OPwrite.C:29: fatal error: mpi.h: No such file or director Maybe I'm missing something, but this is what I've done: 1. I pulled 1.6-ext from git and sourced bashrc 2. In the ThirdParty directory, I did a ./Allwmake and it seemed to install stuff via rpm succesffuly, then I re-sourced bashrc 3. Then in OpenFOAM-1.6-ext I did a ./Allwmake and I can't get passed the error I posted above. When I type Code:
echo $MPI_ARCH_PATH/include echo $WM_MPLIB Code:
/include OPENMPI Code:
# Make sure OPENMPI_LIB_DIR is set if [ ! -n "${OPENMPI_LIB_DIR}" ] then # Initialize OPENMPI_LIB_DIR using the path to mpicc export OPENMPI_LIB_DIR="`mpicc --showme:libdirs`" export MPI_ARCH_PATH="${libDir%/*}" fi |
|
February 14, 2011, 18:44 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ben,
I have yet to try and build OpenFOAM 1.6-ext, so I don't have any experience with it. Right now I can only assume that some details are different between 1.6-ext and 1.6.x/1.7.x. Next weekend I can try and give it a whirl, but if you're in a hurry you better check this thread: http://www.cfd-online.com/Forums/ope...m-1-6-ext.html Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation of OpenFOAM 1.5 | fabian_korn | OpenFOAM Installation | 1 | April 28, 2010 09:22 |
Installation problem on Fedora 10 (OF 1.5) | yshi095 | OpenFOAM Installation | 2 | July 21, 2009 07:24 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 07:28 |
Installation 1.5 as a user of server (New bird) | chiven | OpenFOAM Installation | 15 | April 26, 2009 23:33 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |