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

[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2017, 07:36
Question Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04
  #1
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello,

I tried to install foam-extend-4.0 on openSUSE Leap 42.2. I get this:

Quote:
which: no mpicc in (/home/ordinary/foam/ordinary-4.0/applications/bin/linux64GccDPOpt:/home/ordinary/foam/site/4.0/bin/linux64GccDPOpt:/home/ordinary/foam/foam-extend-4.0/applications/bin/linux64GccDPOpt:/home/ordinary/foam/foam-extend-4.0/wmake:/home/ordinary/foam/foam-extend-4.0/bin:/home/ordinary/foam/foam-extend-4.0/wmake:/home/ordinary/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games)
dirname: missing operand
Try 'dirname --help' for more information.
mpicc: command not found
dirname: missing operand
Try 'dirname --help' for more information.
mpicc: command not found
mpicc: command not found
mpicc: command not found
But I always follow two links:

1) https://openfoamwiki.net/index.php/I...om_source_code

2) https://openfoamwiki.net/index.php/I...d-4.0/openSUSE

Somehow it seems something is wrong about this instructions. I'm pretty sure about it. Let's see the problem by stating the installation instructions on a single thread:

  1. zypper install -t pattern devel_C_C++
  2. zypper install cmake libqt4-devel qt4-x11-tools qt4-assistant-adp-devel gnuplot openmpi-devel boost-devel cgal-devel gmp-devel mpfr-devel libQtWebKit-devel python-devel git mercurial rpm-build
  3. cd ~/foam/foam-extend-4.0
  4. echo unset WM_THIRD_PARTY_USE_CMAKE_322 >> etc/prefs.sh
  5. echo export WM_MPLIB=SYSTEMOPENMPI >> etc/prefs.sh
  6. source etc/bashrc

    But here I get no mpicc in... error as I stated.

    Any help is appreciated.
ordinary is offline   Reply With Quote

Old   March 15, 2017, 14:55
Question [foam-extend-4.0] Problems installing on openSUSE
  #2
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello,

I have a log file after my first attempt to install foam-extend-4.0. What command should I type in order to compile&install the files those gave something like ' ...Error 1' or '....Error 2'. ?

Sincerely
ordinary is offline   Reply With Quote

Old   March 16, 2017, 03:58
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear ordinary,

first of all you have to check out the errors you get and get rid of them. After that you have to run the Allwmake command again or you go to the particular folder / sources and compile it yourself. However, sometimes some unimportant libraries fail which is not worth to get rid of. What you can do in addition:
Code:
src
cd ../bin
./foamInstallationTest:
In addition to get some information if your system is ready for FOAM you can also check:
Code:
src
cd ../bin
./foamSystemCheck
At last (I think you already know it), you can follow the nice instructions on the openfoamwiki.net (https://openfoamwiki.net/index.php/I...oam-extend-4.0).

Good luck.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 16, 2017, 04:35
Default
  #4
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Thank you very much Tobias. I think the steps those you have said are missing in the Wiki page. They should be added into Wiki page which considers the installation progresses always perfect and without any errors.
Quote:
1) Install and create a log file about possible failures of the installation: ./Allwmake.firstInstall>log.mylogfile 2>&1
2) Check for errors and eliminate them
3) After that run ./Allwmake
Now I'm trying to get rid of the errors. But I think I can't run Alwmake properly.

Quote:
emre@linux-jypu:~/foam/foam-extend-4.0> ./Allwmake
Error: Current directory is not $WM_PROJECT_DIR
The environment variable are not consistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.
The error says I'm not in the project directory but why? I'm in the foam-extend-4.0 folder which contains Allwmake.firstInstall. Am I not supposed to run this command in a directory that is a parent folder of all foam files?

Thank you very much for your help.

Best regards
ordinary is offline   Reply With Quote

Old   March 16, 2017, 05:24
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Ordinary,

every time you open a new terminal you have to load the OpenFOAM environment by sourcing the bashrc or cshrc file (depending on the system/shell you are using). If you are using bash you have to source the following file:
Code:
source $HOME/foam/foam-extend-4.0/etc/bashrc
In general you should make an alias for that (I think you did it and it is in your $HOME/.bashrc file). So there should be an entry and you could load the foam environment like
Code:
fe40
But I don't know if you did it or not. But I am sure you know it
After that you are able to compile FOAM and use FOAM. To ensure that everything is fine, you can check out:
Code:
echo $WM_PROJECT_DIR
echo $WM_THIRD_PARTY_DIR
which output (in my particular case)
Code:
shorty@~: fe40 
shorty@~: echo $WM_THIRD_PARTY_DIR 
/home/shorty/foam/foam-extend-4.0/ThirdParty
shorty@~: echo $WM_PROJECT_DIR 
/home/shorty/foam/foam-extend-4.0
After that, you are fine. However, keep in mind that if you are having different FOAM versions compiled, it is not recommended to load more environments than one in one terminal. If one want to change the version, the best way is to open a new terminal and load the appropriate one.

The error you get is hopefully (I would say) just the mistake of forgetting to load the environment of FOAM.

PS: If the variable $WM_PROJECT_DIR is zero, you probably did not load the environment
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 16, 2017, 05:35
Default
  #6
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Thank you again. I forget to type fe40 (on other laptop I just source it and it automatically works--- source $HOME/foam/foam-extend-3.2/etc/bashrc ---)

As you said that part is ok:
Quote:
emre@linux-jypu:~> echo $WM_PROJECT_DIR
/home/emre/foam/foam-extend-4.0
emre@linux-jypu:~> echo $WM_THIRD_PARTY_DIR
/home/emre/foam/foam-extend-4.0/ThirdParty
Best regards
Emre
ordinary is offline   Reply With Quote

Old   March 16, 2017, 06:46
Default
  #7
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello again,

I'm sorry for disturbing you again but I have errors after ./Allwmake. It is attached to this post . All I know:
  • If there is a small program that is not installed, I install it via openSUSE's YaST2.
  • If I see an error that states something like '....link is broken, can't download....', I download it manually.
Sincerely
Emre
ordinary is offline   Reply With Quote

Old   March 16, 2017, 06:48
Default
  #8
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Here is the results of ./Allwmake:
log.emre2.gz
ordinary is offline   Reply With Quote

Old   March 16, 2017, 07:51
Default
  #9
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
I think other people are more experienced in Suse - never did it there so I cannot help you directly. However, the scotchDecomposition failure is not a big deal - just ignore that if you are not interested in scotchDecomposition. The problem you have is:
Code:
/home/emre/foam/foam-extend-4.0/lib/linux64GccDPOpt/libfoam.so: undefined reference to `lam_mpi_sum'
Which should be a problem of mpi. Just check the error in google and try to fix it.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 16, 2017, 11:51
Default
  #10
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Thanks, I'll keep this thread posted whether I'll succeed or not.
ordinary is offline   Reply With Quote

Old   March 20, 2017, 01:55
Default
  #11
New Member
 
Bernard
Join Date: Feb 2017
Posts: 4
Rep Power: 9
berny.tuegs is on a distinguished road
Quote:
Originally Posted by ordinary View Post
Here is the results of ./Allwmake:
Attachment 54686
Problems with mpi. To start with you should make sure that your openmpi can be found by your installation:

Stick this in your .bashrc

Code:
export PATH=${PATH}:/usr/lib64/mpi/gcc/openmpi/bin/
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib64/gcc/openmpi/lib64
Make sure that those directories actually exist. They do on tumbleweed so should on leap as well. If you are confused about the PATH=${PATH} bit, you are redefining the PATH variable including all past definitions (eg to your /usr/bin/ directory).

They you obviously have to source your bashrc and load your fe40 environment again.

Code:
source ~/.bashrc
If all that fails, try installing lam-devel

Code:
sudo zypper in lam-devel
Hope this works ok
berny.tuegs is offline   Reply With Quote

Old   March 22, 2017, 01:59
Default
  #12
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
I failed and tried to install Ubuntu. I think it's better because there is much better support, especially you can install OpenFOAM easily.

First I installed (I think it's compiled, not source code which needs to be compiled) OpenFOAM v4.1.
Then I installed foam-extend-4.0.

I don't know how but foam-extend installtion was perfect. Even not a single error. I think there are two options for that:
1) Maybe installing OpenFOAM-v.41 comes with necessary files those always give errors during installation.
2) Maybe Ubuntu 16.04 LTS is perfect for foam-extend-4.0.

Thanks
ordinary is offline   Reply With Quote

Old   April 1, 2017, 10:00
Default
  #13
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!

@ordinary: Sorry for taking so long to look into this, but last weekend I managed to start looking into this and I've finally managed to re-test the installation instructions.

The problem was that Open-MPI was not found, even if it was installed.

I have updated the wiki pages recently for all foam-extend versions, regarding openSUSE, where the one for foam-extend 4.0 is this one: https://openfoamwiki.net/index.php/I...#openSUSE_42.1

The update is regarding the need to use the following command before sourcing foam-extend's shell environment:
Code:
source  /etc/profile.d/mpi-selector.sh
This is always needed until you have rebooted or logged out and logged back in yet. Which means that you need to run the following commands when you start a new terminal, to activate foam-extend 4.0:
Code:
source /etc/profile.d/mpi-selector.sh
fe40
Then for building the missing features in foam-extend, try running again the following commands:
Code:
foam
./Allwmake > log.make 2>&1

gzip < log.make > log.make.gz
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 17, 2017, 19:34
Default
  #14
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Hello again,

I'm sorry to disturb the silence but I'm trying to install foam-extend-4.0 desperately. I thank you all for the help you provided.

I have decided to use Ubuntu 16.04 as Tobias uses and started to install by following two links as usual:

1) https://openfoamwiki.net/index.php/I...oam-extend-4.0
2) https://openfoamwiki.net/index.php/I...end-4.0/Ubuntu

I checked log file by Ctrl+F : 'Error'. Only found 1 Error. But there were also some lines had drawn my attention:

This goes on and on.
Code:
Making dependency list for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file omp.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/pmpicxx.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/constants.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/functions.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/datatype.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/exception.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/exception.h for source file db/IOstreams/Pstreams/Pstream.C
could not open file ompi/mpi/cxx/op.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/op.h for source file db/IOstreams/Pstreams/Pstream.C
could not open file ompi/mpi/cxx/status.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
could not open file ompi/mpi/cxx/status.h for source file db/IOstreams/Pstreams/Pstream.C
could not open file ompi/mpi/cxx/request.h for source file db/IOstreams/Pstreams/PstreamReduceOps.C
also in other parts of log file:
Code:
Making dependency list for source file ../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.C
could not open file Time.H for source file ../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.C
Making dependency list for source file helpers/printSwakVersion.C
Making dependency list for source file helpers/exprString.C
could not open file string.H for source file helpers/exprString.C
could not open file tableReader.H for source file helpers/exprString.C
could not open file openFoamTableReader.H for source file helpers/exprString.C
could not open file interpolation2DTable.H for source file helpers/exprString.C
Making dependency list for source file helpers/switchableNotImplemented.C
Making dependency list for source file helpers/DebugOStream.C
Making dependency list for source file entryToExpression/entryToExpression.C
Making dependency list for source file entryToExpression/directEntryToExpression.C
Making dependency list for source file entryToExpression/stringEntryToExpression.C
Making dependency list for source file entryToExpression/boolEntryToExpression.C
Making dependency list for source file entryToExpression/vectorEntryToExpression.C
Making dependency list for source file entryToExpression/tensorEntryToExpression.C
Making dependency list for source file entryToExpression/symmTensorEntryToExpression.C
Making dependency list for source file entryToExpression/sphericalTensorEntryToExpression.C
Making dependency list for source file entryToExpression/dimensionedScalarEntryToExpression.C
Making dependency list for source file entryToExpression/dimensionedVectorEntryToExpression.C
Making dependency list for source file entryToExpression/dimensionedTensorEntryToExpression.C
Making dependency list for source file entryToExpression/dimensionedSymmTensorEntryToExpression.C
Making dependency list for source file entryToExpression/dimensionedSphericalTensorEntryToExpression.C
Making dependency list for source file repositories/RepositoryBase.C
could not open file Time.H for source file repositories/RepositoryBase.C
Making dependency list for source file repositories/SurfacesRepository.C
Making dependency list for source file repositories/MeshesRepository.C
Making dependency list for source file repositories/SetsRepository.C
could not open file Time.H for source file repositories/SetsRepository.C
Making dependency list for source file repositories/GlobalVariablesRepository.C
could not open file Time.H for source file repositories/GlobalVariablesRepository.C
Making dependency list for source file namedEnums/MeshInterpolationOrder.C
Making dependency list for source file namedEnums/LogicalAccumulationNamedEnum.C
Making dependency list for source file namedEnums/NumericAccumulationNamedEnum.C
Making dependency list for source file ExpressionDriverWriter.C
could not open file tableReader.H for source file ExpressionDriverWriter.C
could not open file openFoamTableReader.H for source file ExpressionDriverWriter.C
could not open file interpolation2DTable.H for source file ExpressionDriverWriter.C
could not open file string.H for source file ExpressionDriverWriter.C
Making dependency list for source file ExpressionResult/ExpressionResult.C
Making dependency list for source file ExpressionResult/StoredExpressionResult.C
could not open file string.H for source file ExpressionResult/StoredExpressionResult.C
Making dependency list for source file ExpressionResult/DelayedExpressionResult.C
could not open file string.H for source file ExpressionResult/DelayedExpressionResult.C
Making dependency list for source file ExpressionResult/StackExpressionResult.C
Making dependency list for source file ExpressionResult/StoredStackExpressionResult.C
Making dependency list for source file setsAndSurfaces/swakRegistryProxySurface.C
Making dependency list for source file setsAndSurfaces/swakRegistryProxySet.C
Making dependency list for source file makeSwakDataEntry.C
could not open file tableReader.H for source file makeSwakDataEntry.C
could not open file openFoamTableReader.H for source file makeSwakDataEntry.C
could not open file interpolation2DTable.H for source file makeSwakDataEntry.C
could not open file string.H for source file makeSwakDataEntry.C
could not open file Function1.H for source file makeSwakDataEntry.C
could not open file DataEntry.H for source file makeSwakDataEntry.C
Making dependency list for source file FieldValueExpressionParser.yy
could not open file tableReader.H for source file FieldValueExpressionParser.yy
could not open file openFoamTableReader.H for source file FieldValueExpressionParser.yy
could not open file interpolation2DTable.H for source file FieldValueExpressionParser.yy
could not open file string.H for source file FieldValueExpressionParser.yy
could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionParser.yy
could not open file mappedFvPatch.H for source file FieldValueExpressionParser.yy
could not open file mappedWallFvPatch.H for source file FieldValueExpressionParser.yy
could not open file mappedPointPatch.H for source file FieldValueExpressionParser.yy
Making dependency list for source file PatchValueExpressionParser.yy
could not open file tableReader.H for source file PatchValueExpressionParser.yy
could not open file openFoamTableReader.H for source file PatchValueExpressionParser.yy
could not open file interpolation2DTable.H for source file PatchValueExpressionParser.yy
could not open file string.H for source file PatchValueExpressionParser.yy
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy
could not open file mappedPatchBase.H for source file PatchValueExpressionParser.yy
Making dependency list for source file SubsetValueExpressionParser.yy
could not open file tableReader.H for source file SubsetValueExpressionParser.yy
could not open file openFoamTableReader.H for source file SubsetValueExpressionParser.yy
could not open file interpolation2DTable.H for source file SubsetValueExpressionParser.yy
could not open file string.H for source file SubsetValueExpressionParser.yy
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionParser.yy
Making dependency list for source file CommonValueExpressionDriver.C
could not open file tableReader.H for source file CommonValueExpressionDriver.C
could not open file openFoamTableReader.H for source file CommonValueExpressionDriver.C
could not open file interpolation2DTable.H for source file CommonValueExpressionDriver.C
could not open file string.H for source file CommonValueExpressionDriver.C
Making dependency list for source file FieldValueExpressionLexer.ll
could not open file string.H for source file FieldValueExpressionLexer.ll
could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionLexer.ll
could not open file tableReader.H for source file FieldValueExpressionLexer.ll
could not open file openFoamTableReader.H for source file FieldValueExpressionLexer.ll
could not open file interpolation2DTable.H for source file FieldValueExpressionLexer.ll
could not open file mappedFvPatch.H for source file FieldValueExpressionLexer.ll
could not open file mappedWallFvPatch.H for source file FieldValueExpressionLexer.ll
could not open file mappedPointPatch.H for source file FieldValueExpressionLexer.ll
As you see there are masses of lines begin with word 'could not open'. How can I overcome this issue?

Apart from that, here is my only Error that I encountered:
Code:
PluginFunctions/isStateFunctionPlugin.C:46:42: fatal error: FaFieldValueExpressionDriver.H: No such file or directory
compilation terminated.
PluginFunctions/isStateFunctionPlugin.dep:698: recipe for target 'Make/linux64GccDPOpt/isStateFunctionPlugin.o' failed
make: *** [Make/linux64GccDPOpt/isStateFunctionPlugin.o] Error 1
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file solidBodyMotion/swakMotion.C
could not open file tableReader.H for source file solidBodyMotion/swakMotion.C
could not open file openFoamTableReader.H for source file solidBodyMotion/swakMotion.C
could not open file interpolation2DTable.H for source file solidBodyMotion/swakMotion.C
could not open file string.H for source file solidBodyMotion/swakMotion.C
I post here the results of ./foamInstallationTest which Tobias mentioned in earlier post:
Code:
acer@acer-laptop:~/foam/foam-extend-4.0/bin$ ./foamInstallationTest
Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:               acer-laptop
OS:                 Linux version 4.8.0-54-generic
-------------------------------------------------------------------------------


Checking main foam-extend env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid      Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/acer/foam                          yes       yes
$WM_PROJECT_USER_DIR /home/acer/foam/acer-4.0                 no        no
$WM_THIRD_PARTY_DIR  ...acer/foam/foam-extend-4.0/ThirdParty  yes       yes
-------------------------------------------------------------------------------


Checking the foam-extend env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR      /home/acer/foam/foam-extend-4.0          yes  yes  yes

$FOAM_APPBIN         ...4.0/applications/bin/linux64GccDPOpt  yes  yes  yes
$FOAM_SITE_APPBIN    ...er/foam/site/4.0/bin/linux64GccDPOpt  yes  yes  no
$FOAM_USER_APPBIN    ...4.0/applications/bin/linux64GccDPOpt  no        no
$WM_DIR              /home/acer/foam/foam-extend-4.0/wmake    yes  yes  yes
-------------------------------------------------------------------------------


Checking the foam-extend env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN         .../foam-extend-4.0/lib/linux64GccDPOpt  yes  yes  yes
$FOAM_SITE_LIBBIN    ...er/foam/site/4.0/lib/linux64GccDPOpt  yes  yes  no
$FOAM_USER_LIBBIN    ...er/foam/acer-4.0/lib/linux64GccDPOpt  no        no
$MPI_ARCH_PATH       ...nmpi-1.8.8/platforms/linux64GccDPOpt  yes  yes  yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version   Location 
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of foam-extend
         Supplied version: 4.3.3
         User version    : 5.4.0
         Minimum required: 4.3.1

gcc      5.4.0    
WARNING:  Conflicting installations:
          foam-extend settings        : /bin/gcc
          current path             : /usr/bin/gcc
          CRITICAL ERROR

gzip     1.6       /bin/gzip                                                
tar      1.28      /bin/tar                                                 
icoFoam            ...am-extend-4.0/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult 
the installation guide for trouble shooting.

done.
Results of echo $WM_THIRD_PARTY_DIR :
Code:
/home/acer/foam/foam-extend-4.0/ThirdParty
Also, results of echo $WM_PROJECT_DIR :
Code:
/home/acer/foam/foam-extend-4.0
Finally, results of ./foamSystemCheck
Code:
Checking basic system...
-----------------------------------------------------------------------
Shell:           /bin/bash
Host:            acer-laptop
OS:              Linux version 4.8.0-54-generic
User:            acer


System check: PASS
==================
Continue OpenFOAM installation.
Log file is 13.6 Mb
Compressed log file is 674 kb. I can't upload due to max storage:
Quote:
Your file of 658.9 KB bytes exceeds the forum's limit of 195.3 KB for this filetype.
So here is the compressed log file: https://www.dropbox.com/s/zua4c32861...g.emre.gz?dl=0

And normal log file: https://www.dropbox.com/s/wtrsg4c2wqn4xl1/log.emre?dl=0


Any help is appreciated.
Regards.

Emre

Last edited by wyldckat; June 25, 2017 at 11:18. Reason: Changed [QUOTE][/QUOTE] to [CODE][/CODE] and merged posts that were a few minutes apart
ordinary is offline   Reply With Quote

Old   June 25, 2017, 11:17
Default
  #15
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 Emre,

You can safely ignore the warning messages that state "could not open file". This is due to how foam-extend and OpenFOAM's wmake build system works.

The error message for "isStateFunctionPlugin" can be safely ignored, because this refers to a specific plug-in in swak4Foam that is not commonly used.

Therefore, foam-extend 4.0 should be working just fine in your installation.

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

Old   June 25, 2017, 12:20
Default
  #16
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10
ordinary is on a distinguished road
Muito obrigado Bruno,
I'm delighted to recieve a reply by you.
Best regards.
Emre
ordinary is offline   Reply With Quote

Old   January 10, 2018, 03:04
Default Time.H not found when compiling waves2Foam in FE 4.0
  #17
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Hello,

I hope this thread still might be read by someone who can help! I am writing this here because i think this is rather a foam-extend-4.0 issue than a waves2Foam issue.

I am trying to compile waves2Foam in foam-extend-4.0 which should work according to the manual. Right before the end I get this error stating that Time.H could not be found, which is true as it does not exist in the sources. I only can find foamTime.H.

Error:
Quote:
sampleIncidentWaveField.C:37:18: fatal error: Time.H: Datei oder Verzeichnis nicht gefunden
#include "Time.H"
^
compilation terminated.
make[1]: *** [Make/linux64Gcc49DPOpt/sampleIncidentWaveField.o] Fehler 1
make[1]: Das Target »/usr/local/foam/foam-extend-4.0/applications/bin/linux64Gcc49DPOpt/sampleIncidentWaveField« wurde wegen Fehlern nicht aktualisiert.
make: *** [sampleIncidentWaveField] Fehler 2
As I am pretty sure I should not be neglecting this error for the sake of full functioning, I put a softlink in the src/foam/lnInclude directory to point to ../db/Time/foamTime.H. This seemingly solved the issue, but I think this is not the way things are meant to be. Can anyone shed some light on this? Where is the file Time.H supposed to come from? Is this a waves2Foam issue?

Thank you!

Pascal.
--
blaise is offline   Reply With Quote

Old   January 10, 2018, 03:09
Default
  #18
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Pascal,

I never used waves2Foam but your solution should be right. In addition, I do not use the extend version. Everything deviates to much - don't like it. If there is no Time.H file in your foam extend dictionary:
Code:
cd $WM_PROJECT_DIR
find -iname "Time.H"
and the only possible time header is foamTime.H which should include the declaration of the Time class, then everything should be fine.

In the Foundation version, the Time.H file is located in ./OpenFOAM/db/Time/Time.H
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   January 11, 2018, 08:36
Default
  #19
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Hi Tobias,

thank you for your reply!
I understand your reservations about the extend version - anyway, I had to go for it this time.
In the ESI (I suppose this is what one calls the foundation version?) and the extended version the Time.H resp. the foamTime.H file is indeed located under src/OpenFOAM/db/Time resp. ./src/foam/db/Time/, so the basic directory structure is kept the same. Don't really understand why the renaming of Time.h was necessary (or was "foamTime.H" first?).

Anyway, thank you for your confirmation of my solution!

Best regards,

Pascal.
blaise is offline   Reply With Quote

Old   September 3, 2019, 18:13
Default
  #20
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 117
Rep Power: 10
dewey is on a distinguished road
I am trying to simulate mi case using fe40 and swak4Foam and I get this error:


--> FOAM FATAL ERROR:

gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type groovyBC)
on patch inlet of field U in file "/home/mapache/Documentos/aneurisma/coarse/0/U"
You are probably trying to solve for a field with a generic boundary condition.





those are my U and controlDict files


Somebody can help me please.
Attached Files
File Type: txt controlDict.txt (1.4 KB, 0 views)
File Type: txt U.txt (1.5 KB, 0 views)
dewey is offline   Reply With Quote

Reply

Tags
foam-extend-4.0, opensuse, ubuntu 16.04


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.org] Problems installing OpenFOAM 2.4.0 on Ubuntu 16.04 donminoti OpenFOAM Installation 13 January 13, 2021 17:07
[swak4Foam] Problems installing swak4Foam in foam-extend-4.0 on Ubuntu 16.04 jock OpenFOAM Community Contributions 12 September 6, 2019 03:27
[foam-extend.org] Foam Extend 3.2 in ubuntu 16.04 LTS JMosiezny OpenFOAM Installation 15 December 9, 2017 08:20
[OpenFOAM.com] v3.0+ Problems installing on Ubuntu 16.04 Evander OpenFOAM Installation 3 March 26, 2017 14:47
[foam-extend.org] error installing foam extend 1.6 in ubuntu 12.04 christos OpenFOAM Installation 1 May 9, 2016 17:20


All times are GMT -4. The time now is 22:58.