|
[Sponsors] |
September 27, 2011, 05:12 |
|
#61 | |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
Hi everyone,
during the installation of OF 2.0.1 I face the same error fivos met some times ago: Quote:
Please note the following:
mad EDIT: this error can be solved using gcc-4.5.1, see post #66 Last edited by maddalena; September 28, 2011 at 09:37. Reason: Link for how to fix |
||
September 27, 2011, 09:23 |
|
#62 |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
One step more (and one question more...)
I wanted to update my gcc, just in the case that this solve my problem. I followed steps described by Bernard here, from 1 to 5, thus now I should have the following installed on my workstation:
Code:
tail makeGcc.log --> Built: gcc-4.5.1 Code:
gcc --version --> gcc (Debian 4.3.2-1.1) 4.3.2. Any clue of what is happening here? mad |
|
September 28, 2011, 08:40 |
|
#63 |
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 |
Hey Maddalena,
try to insert the line HTML Code:
alias of20x-linux64='. $HOME/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc foamCompiler=ThirdParty WM_COMPILER=Gcc45' In my case it worked. It is also described in Bruno's post, here http://www.cfd-online.com/Forums/ope...llation-3.html |
|
September 28, 2011, 08:51 |
hello every one
|
#64 |
Member
|
anybody used bouyantBoussineqSimpleFoam solver?
i have some query because streamFunction is not running in that solver |
|
September 28, 2011, 08:53 |
|
#65 |
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 |
Hey,
yes I use this solver. Does it have something to do with the installation of OpenFOAM-2.0.0? |
|
September 28, 2011, 09:34 |
Solved!
|
#66 | |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
Hey Anne,
Quote:
I fixed that, and now I have a brand new OpenFOAM 2.0.1 version to test! Problem reported here is fixed in this way. Thank you for your interest. mad |
||
September 28, 2011, 10:01 |
hi
|
#67 | |
Member
|
Quote:
Time: 0 --> FOAM Warning : From function streamFunction in file streamFunction.C at line 456 Flux field does not exist. Stream function not calculated Time: 100 Reading field phi Zero face: patch: 0 face: 0 #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/streamFunction" #4 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #5 in "/opt/openfoam201/platforms/linuxGccDPOpt/bin/streamFunction" Floating point exception jigsmoksh@ubuntu:~/Desktop/hotRoom$ so tel me how can i write the data of stream function with this solver actally StreamFunction command work for another solver like icoFoam SimpleFoam but in buoyantB...SimpleFoam it cant work it gave me error so what can i do? hey can anybody solve my problem? Last edited by jignesh_thaker2007; September 28, 2011 at 10:17. |
||
September 28, 2011, 10:59 |
|
#68 |
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 |
Hey,
I do not know the function "streamFunction" but I know the tutorial case "hotRoom" and in my opinion this test case is not usable. It converges very bad as the mesh is much too coarse. When I run "streamFunction" in the test case "hotRoom" i get the same error as you get. When I run it in another test case, it is fine. I assume the reason for streamFunction not working is the bad convergence behaviour of the test case. That is all that I can say. |
|
September 28, 2011, 11:29 |
|
#69 | |
Senior Member
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23 |
jignesh,
this is not the right thread where to post your questions! This has nothing to do with OpenFoam installation! Please, open your own thread. mad Quote:
|
||
February 16, 2012, 09:02 |
|
#70 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
hey all,
i 've a problem compiling the third party (paraview). I did everything correctly listed in the openfoam.com introduction how to install the git respository. OF is compiled with no serious errors. After that i started compiling paraview Code:
./makeParaView Code:
[ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/Partition.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/ParticleDistribute.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/ParticleExchange.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/Message.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/CosmoHaloFinder.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/CosmoHaloFinderP.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/FOFHaloProperties.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/ChainingMesh.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/HaloCenterFinder.cxx.o [ 12%] Building CXX object VTK/Utilities/Cosmo/CMakeFiles/Cosmo.dir/SODHalo.cxx.o Linking CXX shared library ../../../bin/libCosmo.so [ 12%] Built target Cosmo make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/libGL.so«, benötigt von »bin/libvtkftgl.so.pv3.12«, zu erstellen. Schluss. make[1]: *** [VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Fehler 2 make: *** [all] Fehler 2 --- Installation complete for paraview-3.12.0 Set environment variables: export ParaView_DIR=/home/shor-ty/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0 export PATH=$ParaView_DIR/bin:$PATH export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.12 --- Done Did i forget to install a tool / lib or something like that? Tobi |
|
February 16, 2012, 09:42 |
|
#71 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Is it possible that this problem is caused by my graphiccard?
/usr/lib/libGL.so I 'd some problems to install the driver. :/ Its a nvidia GTX 560 but there are no drivers coming from ubuntu, so i downloaded the driver from nivida.com and installed it. but i remember that there was a message with an script error. Tobi |
|
February 17, 2012, 05:50 |
|
#72 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Tobi,
Yes, it's possible that the problem is related to a bad installation of the graphics card drivers. Nonetheless, it might not be or just be the tip of the iceberg! So, let's go through the check list:
Bruno
__________________
|
|
February 17, 2012, 11:49 |
|
#73 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Quote:
Hey, i am useing Ubuntu 10.04 and want to work with OpenFOAM 2.1.x. After a bad crash in Linux I reinstalled Ubuntu yesterday. The first problem is, that there are no graphics driver supported with my card. So i decided to download the driver from nvidia.com and installed it in runlvl 3 like the introductions file says. I just installed the packages for OpenFOAM. Which other packs do i need for paraview? I 'll have a look at the files you listed and report it later. Thx Tobi |
||
February 18, 2012, 07:20 |
|
#74 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Tobi,
Quote:
Quote:
Best regards, Bruno
__________________
|
|||
February 19, 2012, 09:39 |
|
#75 | |||
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Quote:
i looked for the libGL.so file, and it exists but i think with errors. If i click on it there is coming a error message that the aim -- "»mesa/libGL.so«" -- does not exist. Quote:
Quote:
I tried to compile paraview with the Post #9 without success :/ I think that the problem is caused by my graphics card. but i dont know how i can fix it. I 'll try to install the drivers again and hope that the error is fixed then. I add the makePV. error file. Tobi |
||||
February 19, 2012, 09:59 |
|
#76 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hey Bruno,
i refreshed my graphics driver and now it seems that paraview could be compiled At least i added the nvidia driver installation log - there are some errors too. But i think my problem is solved, for the moment. Tobi |
|
February 19, 2012, 15:57 |
|
#77 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Tobi,
I'm glad you've got it working! I've quickly seen the attached log file and in spite of error it shows, it looks like everything else is working... so, I guess that if it looks like it is working, then it's because it is working at least until it stops working... Best regards, Bruno
__________________
|
|
March 22, 2012, 14:09 |
|
#78 |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
Hello everyone!
I start saying that I'm new of this forum, and I'm also new of Linux. I am trying to install OF 2.0.1 since at least 3 days but without success. I'm using Debian Squeeze. I installed the packages required for Ubunto listed in http://www.openfoam.org/download/source.php After first problems (apparently solved in the thread http://www.cfd-online.com/Forums/ope...ath-error.html where I posted also the output of foamInstallationTest), now it seems I'm in the same (or similar) situation of Jan in the 1st post of this thread. Only that I'm not able to find where is/are the error/s. I am attaching the output of ./Allwmake > make.log 2>&1 Thank you! Claudio |
|
March 22, 2012, 16:48 |
|
#79 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Claudio,
I saw your posts earlier today, but only now did I get around to look into this and reply. The first error usually is the one that tells the whole story In your case, it's this chunk of output: Code:
wmake libso mpi /usr/bin/ld: skipping incompatible /usr/lib/openmpi/lib/libmpi.so when searching for -lmpi /usr/bin/ld: skipping incompatible /usr/lib/openmpi/lib/libmpi.a when searching for -lmpi /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.5/../../../libmpi.so when searching for -lmpi /usr/bin/ld: skipping incompatible /usr/lib/libmpi.so when searching for -lmpi /usr/bin/ld: cannot find -lmpi The solution should be for you to install the correct MPI for x86_64. The other possibility is to switch to compiling the 32bit version of OpenFOAM. Best regards, Bruno
__________________
|
|
March 22, 2012, 17:14 |
|
#80 |
Member
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14 |
Hi Bruno,
thanks for your answer! I think that you understood what is my problem, but sincerely I didn't. Or better: what exactly I have to do to install OF? or better again: which is this "correct MPI for x86_64" ?? And also for the second alternative, how I can compile the 32bit version of OpenFOAM? Because on the website I found only one version (I think...) to download! Thank you! Best regards, Claudio |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 07:28 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |