|
[Sponsors] |
December 19, 2010, 05:35 |
|
#21 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Hi boger.
For 'which qmake' I get /usr/bin/qmake. What do you mean by I need 'setenv QT_BIN_DIR /usr. Shall I write it in the console? If yes, I doesn't work. I don t have setenv (opensuse 11.3). I looked for it in the respiratory, but I couldn't find it, nor in the net @pcaron I know about this issue, I did one week ago. Yesterday, I have downloaded 1.6-ext again and the Allmake.stage4 seems to differ slightly. Correct me if I am wrong. Cheers Peter Last edited by Peter_600; December 19, 2010 at 06:22. |
|
December 19, 2010, 11:44 |
|
#22 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
ok, I figured out that setenv doesn t work for bash shell, so I switched to csh. When I write 'setenv QT_BIN_DIR /usr' in the csh shell nothing happens. Still not able to compile paraview. I checked the last Allmake.stage4 file and indeed it changed. There is now an if statement for the qt files. I do not want to compile it again since I have qt installed on my system. I really don t get it to set environmental variables properly.
|
|
December 19, 2010, 12:54 |
|
#23 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
I'd go back to your bash shell and add
export QT_BIN_DIR=/usr to your .bashrc file, which sets the environment variable QT_BIN_DIR. After that, open a new terminal window (to be sure the environment variable gets added) and try your stage4 again. If it doesn't work, please let us know exactly what error message you get. Out of curiosity, which version of Qt do you have? ("qmake --version" should tell you.)
__________________
David A. Boger |
|
December 19, 2010, 13:06 |
|
#24 | |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I still get the same output as before, that the environmental variable QT_BIN_USR is not set properly
Quote:
QMake version 2.01a Using Qt version 4.6.3 in /usr/lib64 Peter |
||
December 19, 2010, 13:23 |
|
#25 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
I'm sorry: try
export QT_BIN_DIR=/usr/bin
__________________
David A. Boger |
|
December 19, 2010, 13:28 |
|
#26 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Here we go
Thank you very much!!!! Now it s compiling. I let u know about my progress. |
|
December 19, 2010, 13:34 |
|
#27 | |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Unfortunately an error occurred
Quote:
|
||
December 19, 2010, 14:27 |
|
#28 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Installing 'libQtWebKit4-32bit' solved that problem.
|
|
December 20, 2010, 08:43 |
|
#29 |
Member
Pablo Caron
Join Date: Nov 2009
Location: Buenos Aires, Argentina
Posts: 75
Rep Power: 17 |
Hi Peter, I agree with you the script is slightly different. I recopiled 1.6-ext yesterday using an updated git version. To enable the ThirdParty Qt, as I did before, you must set a new variable. I typed this before execute stage4 script.
Code:
export QT_THIRD_PARTY=1 Regards Pablo |
|
December 20, 2010, 12:05 |
|
#30 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I have some troubles compiling Openfoam. Which compiler version do u use of gcc. Do you use ur system compiler or one from the ThirdParty package?
cheers Peter |
|
December 20, 2010, 12:11 |
|
#31 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
It is always better to tell us exactly what "troubles" you have run into. Do you get an error message?
Whether or not you can use your system version of gcc probably depends most on what version of gcc you have on your system. What does "gcc --version" tell you?
__________________
David A. Boger |
|
December 20, 2010, 12:35 |
|
#32 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
for foamInstallationTest, I got this
PHP Code:
Unfortunately I ve deleted openfoam already. I am going to compile everything again. But it had same warnings concerning paraview, that some variables haven t been set properly. What is the best way to save the output? when I simply write .Allwmake > log, i don t save all the output from the screen in it. Any suggestions. Sorry for the poor error message. I will compile it again and change to compiler set by OpenFoam. |
|
December 20, 2010, 12:45 |
|
#33 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
Didn't we already discuss this same point in a previous post? The warning you got looks like just that to me - a warning. Based on that warning, there was no reason to delete OpenFOAM.
Maybe it depends on the shell, but something like "Allwmake >& log" or "Allwmake |& tee log" should save the error messages that are written to stderr.
__________________
David A. Boger |
|
December 20, 2010, 16:54 |
|
#34 | |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I recompiled everything. OpenFoam is running, paraview and paraFoam,too.
Nevertheless, I am no able to see something when I load a case (icoFoam). In the end of stage4 I got an error. Maybe this could be the reason. I don t know how to treat it.. Quote:
|
||
December 20, 2010, 18:42 |
|
#35 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
> Nevertheless, I am no able to see something when I load a case (icoFoam).
This is rather vague.... What is the error message generated by paraview/paraFoam when you load your case? What is the output of the following command: wmakePrintBuild Martin Last edited by mbeaudoin; December 20, 2010 at 19:46. |
|
December 21, 2010, 07:44 |
|
#36 | ||
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
This is my output for 'wmakePrintBuild'
Quote:
Quote:
|
|||
December 21, 2010, 09:54 |
|
#37 | |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Quote:
|
||
December 21, 2010, 12:19 |
|
#38 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Yes. I am using opensuse 11.3 but gcc gcc-4.5.0.
What is that mean? |
|
December 21, 2010, 12:44 |
|
#39 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Yeah.. It's a general problem with glibc and gcc-4.5.x. The shared libraries aren't unloaded properly by certain class destructors, and so the assertion gets triggered. It doesn't seem to be a major issue, if you're willing to ignore the assertion warning.
I downgraded to gcc-4.4.x, and the problem doesn't exist there. I'll go back up once they fix the issue. |
|
December 21, 2010, 12:48 |
|
#40 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Thank you very much. How can I downgrade my compiler? Just delete this one and install with yast an older one?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
kOmegaSST in openfoam 1.6 | Gearb0x | OpenFOAM | 2 | March 3, 2010 07:02 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 16:39 |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 13:46 |
OpenFOAM Version 1.6 Released | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 27, 2009 18:55 |