|
[Sponsors] |
February 18, 2013, 15:04 |
|
#21 |
New Member
Join Date: Dec 2010
Posts: 6
Rep Power: 15 |
Hi, I tried to install OF-1.6-ext following instructions above (download from this source https://github.com/ogoe/OpenFOAM-1.6-ext and compilation instructions for Ubuntu 12.04 64 bits, as recomended above, but I had some errors related to .rpm files from Qt in Stage4. My log file is attached, but the main errors are:
Code:
erro: Arquivo /home/andreia/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/qt-everywhere-opensource-src-4.7.4.tar.gz: file not found Code:
erro: falha ao abrir /home/andreia/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/qt-everywhere-opensource-src-4.7.4-linux64Gcc46DPOpt.x86_64.rpm: file not found |
|
February 18, 2013, 16:06 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Andreia,
The Qt project has changed addresses. Do the following steps:
Bruno
__________________
|
|
February 19, 2013, 12:17 |
|
#23 |
New Member
Join Date: Dec 2010
Posts: 6
Rep Power: 15 |
Hi Bruno, thanks for your help. I made the changes in .spec file, but I got the same problem again. I don't know why, it keeps searching at Nokia URL. Log file is exactly the same.
|
|
February 19, 2013, 16:19 |
|
#24 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Andreia,
That's strange... OK, try downloading the file manually and placing it at "ThirdParty/rpmBuild/SOURCES/qt-everywhere-opensource-src-4.7.4.tar.gz": Code:
cd $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES wget "ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz" Bruno
__________________
|
|
February 20, 2013, 15:09 |
|
#25 |
New Member
Join Date: Dec 2010
Posts: 6
Rep Power: 15 |
Now it works, thank you Bruno!
|
|
March 6, 2013, 03:58 |
|
#26 | |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13 |
Quote:
Is it possible to compile debug version of op from the source posted above? I already compiled the Opt version. And I run in some difficulties and the debug messages will be helpful. So I have tried to compile the Debug version just by replacing Opt with Debug on the relevant line in ...op/bashrc. But the compilation was not successfully done viz attached log |
||
March 6, 2013, 06:23 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Martin,
Try running the following before running Allwmake once again: Code:
cd $FOAM_SRC/decompositionMethods wclean all Bruno
__________________
|
|
March 6, 2013, 06:45 |
|
#28 | |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13 |
Quote:
Thanks for the reply. I did what you posted but it did not work First error in the log shows up, when it cannot open scotch.h (log 3) so I change the rights. That shows up that is not the main problem :/ The compilation was also unsuccessful (log 4). Could you please tell me other ideas to resolve this problem? |
||
March 6, 2013, 07:29 |
|
#29 |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13 |
Bruno,
Do you have some version (branch) of OF-1.6-ext that you have compiled in debug mode? Maybe there is a possibility of bad OF file, since the repository are offline. |
|
March 6, 2013, 12:41 |
|
#30 |
New Member
Join Date: Dec 2010
Posts: 6
Rep Power: 15 |
Hi Bruno,
I have successfully compiled OpenFoam-1.6-ext following your instructions and ParaView works fine, execpt if I try some Paraview/Python scripting. In this case, when I try to import paraview.simple module I got the following message: Code:
>>> from paraview.simple import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/paraview/simple.py", line 39, in <module> import servermanager File "/usr/lib/python2.7/dist-packages/paraview/servermanager.py", line 50, in <module> from vtkPVClientServerCorePython import * ImportError: /usr/lib/paraview/libQVTK.so.pv3.14: undefined symbol: _ZN19QAbstractProxyModel11setItemDataERK11QModelIndexRK4QMapIi8QVariantE |
|
March 6, 2013, 17:46 |
|
#31 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, I'll answer one at a time...
@Martin: Quote:
Quote:
@Andreia: Quote:
Best regards, Bruno
__________________
|
||||
March 6, 2013, 22:58 |
|
#32 |
New Member
Join Date: Dec 2010
Posts: 6
Rep Power: 15 |
Hi Bruno,
I realized that i was setting as PYTHONPATH "/usr/lib/paraview", which is the path to Python modules of system installed version of Paraview. Instead of this, I set as PYTHONPATH "/home/andreia/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/ParaView-3.12.0/Utilities/VTKPythonWrapping", which I thought that was the right path, but I still can not import simple.py module. I am using Ubuntu 12.04 64bits. |
|
March 7, 2013, 05:30 |
|
#33 | |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13 |
Quote:
|
||
March 7, 2013, 09:26 |
|
#34 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
@Martin: Strange... there is a recurring error in your log:
Code:
OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/setDeltaT.H:50:42: error: ‘class Foam::Time’ has no member named ‘deltaTheta’ @Andreia: I'll try to check your problem at the end of today as well.
__________________
|
|
March 7, 2013, 10:38 |
|
#35 | |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13 |
Quote:
Is the member deltaTheta actually a member of Foam::engineTime? For clearness here is the main part of setDeltaT.H Code:
if (adjustTimeStep) { scalar maxDeltaTFact = maxCo/(CoNum + SMALL); scalar deltaTFact = min(min(maxDeltaTFact, 1.0 + 0.1*maxDeltaTFact), 1.2); runTime.setDeltaT ( min ( deltaTFact*runTime.deltaT().value(), maxDeltaT ) ); Info<< "deltaT = " << runTime.deltaT().value() << endl; Info<< "deltaT_theta = " << runTime.deltaTheta() << endl; } |
||
March 7, 2013, 14:23 |
|
#36 |
New Member
Richard Mathie
Join Date: Oct 2012
Posts: 3
Rep Power: 14 |
Gosh how long will the SVN be down? It is ridiculous that ANSYS can cause so mush disruption to all OpenFOAM users over a claim that some "non essential file" infringes their copyright. Who is to say who copied who? Why are thease files not just simply removed from the repository until the dispute is sorted out, Instead of closing down the whole thing?
Anyway can anyone point me to a mirror of trunk/Breeder_1.6/shipHydrodynamicIG as i cant seem to find that on the other mirrors given here all the best Ric |
|
March 7, 2013, 18:11 |
|
#37 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
@Martin:
Quote:
I say this because for the error I showed earlier, the relevant file gives the following symbolic link information: Code:
#by running: ls -l $FOAM_SRC/finiteVolume/lnInclude/setDeltaT.H #this appears for me lrwxrwxrwx 1 user user 39 2012-10-20 13:22 /home/user/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude/setDeltaT.H -> ../cfdTools/general/include/setDeltaT.H Bruno
__________________
|
||
March 7, 2013, 18:21 |
|
#38 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
@andreia:
Quote:
So, my guess is that you either:
Code:
which paraview Bruno
__________________
|
||
March 7, 2013, 18:32 |
|
#39 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Richard and welcome to the forum!
Quote:
But try contacting the people at the respective (related?) group: http://www.cfd-online.com/Forums/gro...mechanics.html Best regards, Bruno
__________________
|
||
March 8, 2013, 05:14 |
|
#40 |
New Member
Richard Mathie
Join Date: Oct 2012
Posts: 3
Rep Power: 14 |
Well I have posted there too now, though the forum looks pretty dead, wee will see.
Dose the OpenFOAM GPL not afford some kind of protection against this sort of thing? Its a bit troubling for the project if one of OF's rivals can inflict such disruption merely with a claim of infringement without it yet being tested in the courts. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6 ext | fportela | OpenFOAM Installation | 11 | December 26, 2013 19:55 |
[mesh manipulation] difference in 'make axial mesh' for OF 2.1 & OF 1.6 EXT | Rocky4 | OpenFOAM Meshing & Mesh Conversion | 0 | November 17, 2012 17:48 |
Solver Compiling error - OF 1.6 ext. | raditz | OpenFOAM Programming & Development | 8 | November 4, 2012 10:53 |
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) | toolpost | OpenFOAM Installation | 15 | September 21, 2012 10:38 |
installing OF 1.6 ext | yhaomin2007 | OpenFOAM Installation | 3 | September 11, 2012 17:52 |