|
[Sponsors] |
[OpenFOAM] ParaFoam basic_string::_S_create error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 1, 2010, 11:53 |
ParaFoam basic_string::_S_create error
|
#1 |
New Member
Patrick Begou
Join Date: Mar 2009
Location: Grenoble, France
Posts: 17
Rep Power: 17 |
I've installed OpenFOAM from binaries:
Unpacked these files in /home/OpenFOAM run: export FOAM_INST_DIR=/home/OpenFOAM/ . /home/OpenFOAM/OpenFOAM-1.6/etc/bashrc then following the "2.1 Lid-driven cavity flow" tutorial tut (because $FOAM_RUN/tutorials/incompressible/icoFoam/cavity does not exist) cd incompressible/icoFoam/cavity blockMesh and then, to see the mesh: paraFoam -case /home/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/icoFoam/cavity I answer I want to open "OpenFOAM Files" and I get the error messages: NVIDIA: could not open the device file /dev/nvidiactl (Permission non accordée). NVIDIA: Direct rendering failed; attempting indirect rendering. terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create /home/OpenFOAM//OpenFOAM-1.6/bin/paraFoam: line 109: 22727 Abandon paraview --data="$caseFile" and: # ls -l /dev/nvidiactl crw-rw---- 1 root video 195, 255 janv. 27 07:51 /dev/nvidiactl # groups turb visiteur cvsgroup stagiaire book postdoc trio triobin video Any idea ? Thanks Patrick |
|
February 2, 2010, 02:44 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Patrick,
It probably happens because you need to build ParaView and (especially) the PV3FoamReader. The line Code:
/home/OpenFOAM//OpenFOAM-1.6/bin/paraFoam: line 109: 22727 Abandon paraview --data="$caseFile"
__________________
Regards, Gijs |
|
February 2, 2010, 02:52 |
|
#3 | ||
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Quote:
Quote:
Finally, if you will be working with OpenFOAM, be sure to get the patches and fixes that are contained in the git repository: http://repo.or.cz/w/OpenFOAM-1.6.x.git |
|||
February 2, 2010, 03:36 |
|
#4 |
New Member
Patrick Begou
Join Date: Mar 2009
Location: Grenoble, France
Posts: 17
Rep Power: 17 |
Thanks for your detailed answers. So you mean that the binary distribution of OpenFOAM 1.6 is not operational and that I have to rebuild the binaries from the last availables sources
My idea was just to use the PC for visualisations without the need to compile again OpenFOAM 1.6.x (I compile it on an Altix for the simulations and I'm not allowed to run graphic applications on it) About nvidia, I have the group video (see the groups command). This is why the message is strange.... Lets go for a full OpenFOAM 1.6.x compilation now! Patrick |
|
February 2, 2010, 04:31 |
|
#5 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Quote:
You'll be the only one who can tell if the various bugfixes are important to you or not. |
||
February 2, 2010, 11:41 |
|
#6 |
New Member
Patrick Begou
Join Date: Mar 2009
Location: Grenoble, France
Posts: 17
Rep Power: 17 |
Problem solved.
I want to thanks all for your suggestions. The problem was with the binaries of OpenFOAM-1.6 & ThirdParty-1.6 not working on my computer openSUSE 11.0 (X86-64) Linux 2.6.25.20-0.5-default #1 SMP. I've ran wcleanAll ./Allwmake in the toplevel directory and after a couple of hours of compilation, all is working fine immediatly. No need of any patch! Thanks again |
|
February 7, 2010, 15:05 |
i don't see the mesh in Paraview
|
#7 |
Member
angel
Join Date: May 2009
Location: Spain
Posts: 46
Rep Power: 16 |
Hello to everybody
I've installed OpenFOAM from binaries:
I run the foamInstallationTest script with no critical error but one warning: Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : Minimum required: 4.3.1 gcc ...OAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/gcc gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam 1.6 .../OpenFOAM-1.6/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. When i try to run the cavity tutorial, blockmesh works well but when i try to see the mesh with parafoam, paraview open a the cavity.foam (created temporary 'cavity.OpenFOAM') but i don't see the results. I would be very grateful if someone can help me Best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] installing funkySetFields | igo | OpenFOAM Community Contributions | 1 | November 20, 2012 20:16 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |