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

OpenFOAM 2.0 on OpenSUSE 11.4

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2011, 14:23
Default OpenFOAM 2.0 on OpenSUSE 11.4
  #1
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Dear Foamers,

I am having a problem compiling Openfoam 2.0 from git repository on OpenSUSE 11.4. I didn't try the RPM package yet and when I compile the application target fails.

Code:
Target 'application' not remade because of errors.
Please find attached the log from my compilation. There seem to be some undefined references there. I am really at my wits end here sine the amount of errors is simply staggering. What am I missing?

I would be really obliged for any comments.
Attached Files
File Type: gz log.tar.gz (14.1 KB, 3 views)
AlmostSurelyRob is offline   Reply With Quote

Old   June 24, 2011, 16:32
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Robert,

OK, no OpenMPI nor scotch are available. There are two possible reasons for this to have happened:
  1. You didn't follow to the letter the official instructions:
    Quote:
    Originally Posted by http://www.openfoam.com/download/git.php#x6-36000
    tar xzf ThirdParty-2.0.0.gtgz
    mv ThirdParty-2.0.0 ThirdParty-2.0.x
    If you have only now done the second line, then:
    • Start a new terminal window/tab.
    • Or run:
      Code:
      wmSET
    And try again.
  2. You got the git repo of ThirdParty as well. If so, check this bug report: http://www.openfoam.com/mantisbt/view.php?id=220
    Download the "get*_fixed" versions instead, when available. To make those scripts executable:
    Code:
    chmod +x get*
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 24, 2011, 17:35
Default
  #3
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
There seems to be a bug in the build script when trying to compile OF 2.0 with the ThirdParty MPI. I did not investigate too much, and used the version of MPI provided with openSUSE, following http://albertopassalacqua.com/?p=920

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   June 24, 2011, 19:06
Default
  #4
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Thanks for your replies. Unfortunately I cannot report any positive developments yet.

@alberto
Thanks for the comment and for your blog entries. I followed the Opensuse 11.4 and OpenFOAM 2.0. I downloaded the prefs.sh where I understand you change to openmpi from opensuse and to gcc45, but to no avail

@wylcat
ad 1. I changed it to 2.0.x but still the same error.
ad 2. I am currently trying this. I downloaded getOpenMPI_fixed and getGcc_fixed. The former one didn't produce any output the latter one downloaded...

(pause)

Whohoa! It worked. Thanks a lot! :-) And coming back to what you said at the beginning I don't seem to have any Scotch but now I feel like I'd like to have some.

But first I wish to test this film model. :-)

Many thanks for your advice!
AlmostSurelyRob is offline   Reply With Quote

Old   June 24, 2011, 20:19
Default
  #5
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by AlmostSurelyRob View Post
Thanks for your replies. Unfortunately I cannot report any positive developments yet.

@alberto
Thanks for the comment and for your blog entries. I followed the Opensuse 11.4 and OpenFOAM 2.0. I downloaded the prefs.sh where I understand you change to openmpi from opensuse and to gcc45, but to no avail
This probably means you do not have a properly configured system openMPI. Most likely, you have to use mpi-selector to choose the default version.

Anyways, good you found an alternative solution! :-)

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   June 24, 2011, 20:25
Default
  #6
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Could I take the advantage here and ask one thing? Paraview doesn't seem to visualise my cases any more. I tried using it on film model tutorials and it produced the following errors.

Code:
ERROR: In /home/c111269/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/IO/vtkOpenFOAMReader.cxx, line 7374
 vtkOpenFOAMReaderPrivate (0x19b8de0): Error reading line 46 of /home/c111269/OpenFOAM/OpenFOAM-2.0.x/tutorials/lagrangian/reactingParcelFilmFoam/rivuletPanel/constant/polyMesh/boundary: Unsupported nonuniform list type ;
 
 
 ERROR: In /home/c111269/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/IO/vtkOpenFOAMReader.cxx, line 7374
 vtkOpenFOAMReaderPrivate (0x19b2450): Error reading line 52 of /home/c111269/OpenFOAM/OpenFOAM-2.0.x/tutorials/lagrangian/reactingParcelFilmFoam/rivuletPanel/constant/wallFilmRegion/polyMesh/boundary: Unsupported nonuniform list type ;
 
 
 ERROR: In /home/c111269/OpenFOAM/ThirdParty-2.0.x/ParaView-3.10.1/VTK/Filtering/vtkExecutive.cxx, line 756
 vtkPVCompositeDataPipeline (0x19e3190): Algorithm vtkPOpenFOAMReader(0x19e5700) returned failure for request: vtkInformation (0x19b8530)
   Debug: Off
   Modified Time: 72009
   Reference Count: 1
   Registered Events: (none)
   Request: REQUEST_INFORMATION
   ALGORITHM_AFTER_FORWARD: 1
   FORWARD_DIRECTION: 0
I compiled paraview from ThirdParty directory.
Code:
paraview is hashed (/home/c111269/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc/paraview-3.10.1/bin/paraview)
I know that the specification of boundaries in OF 2.0 changed. How does it affect paraview and visualisation? I know it's a bit off topic but could you perhaps advise something here?

Last edited by AlmostSurelyRob; June 26, 2011 at 05:44.
AlmostSurelyRob is offline   Reply With Quote

Old   June 25, 2011, 06:20
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Robert,

Which reader are you using to open the case? Is it the internal reader or the official one on OpenFOAM? In other words, what's the file extension:
  • .OpenFOAM - the official reader.
  • .foam - the internal reader.
Which brings me to the next question: if you are using the official reader, did you (re-)build it?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 25, 2011, 10:03
Default
  #8
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Robert,
The error most surely is coming from an internal reader problem. I'll take a look into that early next week.

Thanks for bringing that to my attention (I am the main developer of the internal reader).

Takuya
7islands is offline   Reply With Quote

Old   June 26, 2011, 05:57
Default
  #9
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Thank you for your replies.

@wyldcat
I am using the internal reader. I usually create a *.foam file within a working directory and then open it with paraview. When I create *.OpenFOAM file paraview doesn't even see it. On the other hand, running paraFoam creates an casename.OpenFOAM file. Unfortunately it results with the same error.

Quote:
Originally Posted by wyldcat
Which brings me to the next question: if you are using the official reader, did you (re-)build it?
I believe I did rebuild some readers. I executed the following instructions (taken from Alberto blog-entry) ?
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers/
./Allwclean
./Allwmake
@7islands
Thanks for that. I am looking forward to hear from you.
AlmostSurelyRob is offline   Reply With Quote

Old   June 26, 2011, 06:29
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 to all!

@Robert:
Quote:
Originally Posted by AlmostSurelyRob View Post
I believe I did rebuild some readers. I executed the following instructions (taken from Alberto blog-entry) ?
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers/
./Allwclean
./Allwmake
Try again with these commands:
Quote:
Originally Posted by http://www.openfoam.com/download/source.php#x5-28000
Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers 
wmSET
./Allwclean
./Allwmake
The main difference is wmSET. Right now it shouldn't make any difference to use it or not, but this command makes sure that your build of ParaView is visible to the All* scripts. Either way, run them again, just to be sure.

By the way, your OpenSuSE was installed in English or in another language?


@Takuya: I wanted to be certain of this before reporting it as a bug But yes, it is the internal reader that isn't ready for the new stuff
You are going to have your hands full with the new stuff in OpenFOAM 2.0, including the new super binary meshes: http://www.openfoam.com/version2.0.0....php#x11-36000


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 26, 2011, 06:41
Default
  #11
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Dear Bruno,

yes! :-)

The wmSET command did make a difference. Now Paraview opens case.OpenFOAM files and I can visualise film cases. Many, many, thanks for that. I also tried opening a case.foam file but the same error occurs.

My system has language set to English UK but keyboard is set to Polish. Is that important?

Kind Regards,
Robert
AlmostSurelyRob is offline   Reply With Quote

Old   June 26, 2011, 06:58
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Robert,
Quote:
Originally Posted by AlmostSurelyRob View Post
The wmSET command did make a difference. Now Paraview opens case.OpenFOAM files and I can visualise film cases. Many, many, thanks for that.
You're welcome

Quote:
Originally Posted by AlmostSurelyRob View Post
I also tried opening a case.foam file but the same error occurs.
OK, then it's 100% confirmed that the internal reader can't read some of the changes made in OpenFOAM 2.0

Quote:
Originally Posted by AlmostSurelyRob View Post
My system has language set to English UK but keyboard is set to Polish. Is that important?
OK, if it's just the keyboard then there is no problem!
If the language was set to Polish as well, then that could have had some influence.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 26, 2011, 09:35
Default
  #13
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Bruno,
Quote:
Originally Posted by wyldckat View Post
You are going to have your hands full with the new stuff in OpenFOAM 2.0, including the new super binary meshes: http://www.openfoam.com/version2.0.0....php#x11-36000
The PV 3.10.1 internal reader should already have support for the new binary file format (thanks to help from Mark Olesen). However I say should because it has not been tested thoroughly so bug report is welcomed.

Takuya
7islands is offline   Reply With Quote

Old   June 29, 2011, 04:45
Default
  #14
New Member
 
Join Date: May 2009
Posts: 1
Rep Power: 0
ming is on a distinguished road
Dear all,

I tested reactingParcelFilmFoam of openfoam 2.0 on several tutorial cases.
But I can't watch the film flow under paraFoam, while the file deltaf exists under directories wallFilmRegion and the calculate seems ok.
What's wrong with it?

Best Regards,
Ming
ming is offline   Reply With Quote

Old   June 29, 2011, 10:48
Default
  #15
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by ming View Post
Dear all,

I tested reactingParcelFilmFoam of openfoam 2.0 on several tutorial cases.
But I can't watch the film flow under paraFoam, while the file deltaf exists under directories wallFilmRegion and the calculate seems ok.
What's wrong with it?

Best Regards,
Ming
Please open another thread to ask this question, since it is not related to the topic of the existing thread.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto 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
Installation of OpenFOAM 1.7.x on openSUSE 11.4 alberto OpenFOAM Installation 7 May 10, 2011 04:23
OpenFOAM 1.7.0 on OpenSUSE 11.1 Bufacchi OpenFOAM Installation 8 August 6, 2010 09:57
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio alberto OpenFOAM 40 May 23, 2010 16:15
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
OpenFOAM 1.5 installation on OpenSUSE 11.0 bigphil OpenFOAM Installation 16 April 29, 2009 06:28


All times are GMT -4. The time now is 05:51.