CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OF 1.6-ext Repository offline?

Register Blogs Community New Posts Updated Threads Search

Like Tree35Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2013, 15:04
Default
  #21
New Member
 
Join Date: Dec 2010
Posts: 6
Rep Power: 15
andreia is on a distinguished road
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
Attached Files
File Type: gz log.AllMake.stage4.tar.gz (901 Bytes, 2 views)
andreia is offline   Reply With Quote

Old   February 18, 2013, 16:06
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Andreia,

The Qt project has changed addresses. Do the following steps:
  1. Edit the file "ThirdParty/rpmBuild/SPECS/qt-everywhere-opensource-src-4.7.4.spec".
  2. Find this line:
    Code:
    URL:                    http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src
  3. Replace the line with this one:
    Code:
    URL:                    ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 19, 2013, 12:17
Default
  #23
New Member
 
Join Date: Dec 2010
Posts: 6
Rep Power: 15
andreia is on a distinguished road
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.
andreia is offline   Reply With Quote

Old   February 19, 2013, 16:19
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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"
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 20, 2013, 15:09
Default
  #25
New Member
 
Join Date: Dec 2010
Posts: 6
Rep Power: 15
andreia is on a distinguished road
Now it works, thank you Bruno!
andreia is offline   Reply With Quote

Old   March 6, 2013, 03:58
Default
  #26
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Ehsan,

You've got a link at post #7 and in the Github page (from post #4) you've got a button that says "ZIP", which gives this download link: https://github.com/ogoe/OpenFOAM-1.6.../sf/master.zip

Best regards,
Bruno
Hi Bruno,

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
Attached Files
File Type: gz log.Allwmake_2.tar.gz (17.0 KB, 2 views)
novakm is offline   Reply With Quote

Old   March 6, 2013, 06:23
Default
  #27
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Martin,

Try running the following before running Allwmake once again:
Code:
cd $FOAM_SRC/decompositionMethods
wclean all
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2013, 06:45
Default
  #28
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Martin,

Try running the following before running Allwmake once again:
Code:
cd $FOAM_SRC/decompositionMethods
wclean all
Best regards,
Bruno

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?
Attached Files
File Type: gz log.AllwmakeMN_3.tar.gz (17.5 KB, 1 views)
File Type: gz log.AllwmakeMN_4.tar.gz (17.2 KB, 1 views)
novakm is offline   Reply With Quote

Old   March 6, 2013, 07:29
Default
  #29
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
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.
novakm is offline   Reply With Quote

Old   March 6, 2013, 12:41
Default
  #30
New Member
 
Join Date: Dec 2010
Posts: 6
Rep Power: 15
andreia is on a distinguished road
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
andreia is offline   Reply With Quote

Old   March 6, 2013, 17:46
Default
  #31
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
OK, I'll answer one at a time...

@Martin:
Quote:
Originally Posted by novakm View Post
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.
There is a big space in the lines for building the decomposition libraries.
Quote:
Code:
-ftemplate-depth-40 -I     -I../decompositionMethods/lnInclude
This seems to indicate that you haven't built the ThirdParty stuff in debug mode! Go into the "ThirdParty" folder and run AllMake.


@Andreia:
Quote:
Originally Posted by andreia View Post
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:
Strange... which Linux distribution and architecture are you using?

Best regards,
Bruno
novakm likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2013, 22:58
Default
  #32
New Member
 
Join Date: Dec 2010
Posts: 6
Rep Power: 15
andreia is on a distinguished road
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.
andreia is offline   Reply With Quote

Old   March 7, 2013, 05:30
Default
  #33
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, I'll answer one at a time...

@Martin:

There is a big space in the lines for building the decomposition libraries.
This seems to indicate that you haven't built the ThirdParty stuff in debug mode! Go into the "ThirdParty" folder and run AllMake.
Best regards,
Bruno
Strange, I thought that I have had compiled ThirdParty. However, after compiling ThirdParty (successful viz log.), I have recompiled the OF. A lot of errors "disappeared", but still there are some present. First error, which I noticed, appears, when the compiler attempts to compile XiFoam. Do I replace the XiFoam libraries?
Attached Files
File Type: gz log.AllwmakeMN_6.tar.gz (7.7 KB, 2 views)
File Type: gz log.AllMakeThirdParty.tar.gz (872 Bytes, 1 views)
novakm is offline   Reply With Quote

Old   March 7, 2013, 09:26
Default
  #34
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@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’
I'll only be able to look into this at the end of today.

@Andreia: I'll try to check your problem at the end of today as well.
__________________
wyldckat is offline   Reply With Quote

Old   March 7, 2013, 10:38
Default
  #35
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
@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’
I'll only be able to look into this at the end of today.
Great, I'll be waiting.

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;
}
novakm is offline   Reply With Quote

Old   March 7, 2013, 14:23
Default
  #36
New Member
 
Richard Mathie
Join Date: Oct 2012
Posts: 3
Rep Power: 14
RicMat is on a distinguished road
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
RicMat is offline   Reply With Quote

Old   March 7, 2013, 18:11
Default
  #37
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@Martin:
Quote:
Originally Posted by novakm View Post
Great, I'll be waiting.

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;
}
I didn't have time earlier to look at the code... but apparently you've got a very strange installation going on there... Compare that file with this one:https://github.com/ogoe/OpenFOAM-1.6...de/setDeltaT.H
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
Best regards,
Bruno
novakm likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 7, 2013, 18:21
Default
  #38
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@andreia:
Quote:
Originally Posted by andreia View Post
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.
OK, I've taken a look at some of the 1.6-ext installations I've got in some virtual machines and none of them have ParaView built with Python support.
So, my guess is that you either:
  • Aren't using the ParaView version built with 1.6-ext.
  • Or there is a collision between the version built with 1.6-ext versus the version that is installed on Ubuntu.
To figure out which is which, run:
Code:
which paraview
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 7, 2013, 18:32
Default
  #39
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Richard and welcome to the forum!

Quote:
Originally Posted by RicMat View Post
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
When legal lawsuits come into play, all hell breaks loose and it's almost like nuclear winter .... maybe it should be called "legal winter"

But try contacting the people at the respective (related?) group: http://www.cfd-online.com/Forums/gro...mechanics.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 8, 2013, 05:14
Default
  #40
New Member
 
Richard Mathie
Join Date: Oct 2012
Posts: 3
Rep Power: 14
RicMat is on a distinguished road
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.
RicMat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:53.