|
[Sponsors] |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 12, 2017, 08:36 |
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: 11 |
Hello,
I tried to install foam-extend-4.0 on openSUSE Leap 42.2. I get this: Quote:
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:
|
||
March 15, 2017, 15:55 |
[foam-extend-4.0] Problems installing on openSUSE
|
#2 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
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 |
|
March 16, 2017, 04:58 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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: Code:
src cd ../bin ./foamSystemCheck Good luck.
__________________
Keep foaming, Tobias Holzmann |
|
March 16, 2017, 05:35 |
|
#4 | ||
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
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:
Quote:
Thank you very much for your help. Best regards |
|||
March 16, 2017, 06:24 |
|
#5 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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 Code:
fe40 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 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 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 |
|
March 16, 2017, 06:35 |
|
#6 | |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
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 |
||
March 16, 2017, 07:46 |
|
#7 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Hello again,
I'm sorry for disturbing you again but I have errors after ./Allwmake. It is attached to this post . All I know:
Emre |
|
March 16, 2017, 07:48 |
|
#8 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Here is the results of ./Allwmake:
log.emre2.gz |
|
March 16, 2017, 08:51 |
|
#9 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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'
__________________
Keep foaming, Tobias Holzmann |
|
March 16, 2017, 12:51 |
|
#10 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Thanks, I'll keep this thread posted whether I'll succeed or not.
|
|
March 20, 2017, 02:55 |
|
#11 | |
New Member
Bernard
Join Date: Feb 2017
Posts: 4
Rep Power: 9 |
Quote:
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 They you obviously have to source your bashrc and load your fe40 environment again. Code:
source ~/.bashrc Code:
sudo zypper in lam-devel |
||
March 22, 2017, 02:59 |
|
#12 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
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 |
|
April 1, 2017, 11:00 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 Code:
source /etc/profile.d/mpi-selector.sh fe40 Code:
foam ./Allwmake > log.make 2>&1 gzip < log.make > log.make.gz Bruno
__________________
|
|
June 17, 2017, 20:34 |
|
#14 | |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
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 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 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 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. Code:
/home/acer/foam/foam-extend-4.0/ThirdParty Code:
/home/acer/foam/foam-extend-4.0 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. Compressed log file is 674 kb. I can't upload due to max storage: Quote:
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 12:18. Reason: Changed [QUOTE][/QUOTE] to [CODE][/CODE] and merged posts that were a few minutes apart |
||
June 25, 2017, 12:17 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 |
|
June 25, 2017, 13:20 |
|
#16 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Muito obrigado Bruno,
I'm delighted to recieve a reply by you. Best regards. Emre |
|
January 10, 2018, 04:04 |
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 |
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:
Thank you! Pascal. -- |
||
January 10, 2018, 04:09 |
|
#18 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
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" In the Foundation version, the Time.H file is located in ./OpenFOAM/db/Time/Time.H
__________________
Keep foaming, Tobias Holzmann |
|
January 11, 2018, 09:36 |
|
#19 |
Member
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17 |
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. |
|
September 3, 2019, 19:13 |
|
#20 |
Senior Member
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 119
Rep Power: 10 |
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. |
|
Tags |
foam-extend-4.0, opensuse, ubuntu 16.04 |
|
|
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 18:07 |
[swak4Foam] Problems installing swak4Foam in foam-extend-4.0 on Ubuntu 16.04 | jock | OpenFOAM Community Contributions | 12 | September 6, 2019 04:27 |
[foam-extend.org] Foam Extend 3.2 in ubuntu 16.04 LTS | JMosiezny | OpenFOAM Installation | 15 | December 9, 2017 09:20 |
[OpenFOAM.com] v3.0+ Problems installing on Ubuntu 16.04 | Evander | OpenFOAM Installation | 3 | March 26, 2017 15:47 |
[foam-extend.org] error installing foam extend 1.6 in ubuntu 12.04 | christos | OpenFOAM Installation | 1 | May 9, 2016 18:20 |