|
[Sponsors] |
[foam-extend.org] NEW: Installation guide for foam-extend 4.1 on OpenFoamWiki |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 3, 2020, 13:37 |
|
#21 | |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Hi Sita,
I'm confused now. If you are installing on Ubuntu 18.04.LTS, then there is no need to set up the prefs.sh with the compiler. 18.04 uses gcc-7 and g++7 as default (unless you have installed 8 or 9 manually). Can you write here what exactly you are doing and what the output is? If you follow the instructions for 18.04 as per the wiki, it should work. Quote:
|
||
February 4, 2020, 02:47 |
|
#22 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Torsten,
Sorry, I should have used two separate posts probably. What I did first was follow the instructions in the Wiki (so without creating a prefs.sh file). First thing that went wrong was that during running Allwmake.firstinstall I got this message about QT_BIN_DIR not being set, and did I want to continue without installing ParaView. I chose yes, deciding to deal with ParaView later. When the script finished running, I tested the install by entering "icoFoam -help", and got the same error that I got earlier, about missing OpenMPI library files. Next, thinking that perhaps I had misunderstood your comment about prefs.sh being created automatically, I started from scratch again, but this time created a prefs.sh file before running Allwmake.firstinstall. Remembering the trouble I encountered earlier, with my system Qt4 install, I chose to go for the Third Party Qt. Following the instructions in the example prefs.sh, I only uncommented the line "export QT_THIRD_PARTY=1". This led to the error that I mentioned in the edit of my previous post, so I started over one last time, this time with the system Qt. This still gives the same OpenMPI error (which I sort of expected, as I didn't touch the OpenMPI settings in prefs.sh): Code:
icoFoam: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory Code:
Cannot use ParaView reader module library (PVFoamReader) The PV_PLUGIN_PATH environment value is not set Continuing with builtin reader: paraFoam -vtk Created temporary 'cavity.foam' Code:
CMake Error at VTK/CMake/vtkCompilerExtras.cmake:47 (if): if given arguments: "gcc: error: ARGS: No such file or directory gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software" " see the source for copying conditions. There is NO warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. " "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND" "HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW" "AND" "NOT" "CYGWIN" Unknown arguments specified Call Stack (most recent call first): VTK/CMakeLists.txt:287 (include) -- Configuring incomplete, errors occurred! See also "/home/openfoam/foam/foam-extend-4.1/ThirdParty/rpmBuild/BUILD/ParaView-v4.4.0-source/buildObj/CMakeFiles/CMakeOutput.log". See also "/home/openfoam/foam/foam-extend-4.1/ThirdParty/rpmBuild/BUILD/ParaView-v4.4.0-source/buildObj/CMakeFiles/CMakeError.log". error: Bad exit status from /home/openfoam/foam/foam-extend-4.1/ThirdParty/rpmBuild/tmp/rpm-tmp.1pQYPa (%build) RPM build errors: Bad exit status from /home/openfoam/foam/foam-extend-4.1/ThirdParty/rpmBuild/tmp/rpm-tmp.1pQYPa (%build) Installing package: ParaView-4.4.0 Uninstalling ParaView-4.4.0 using RPM: ParaView-4.4.0-linux64GccDPInt32Opt.x86_64 Installing ParaView-4.4.0 using RPM file: /home/openfoam/foam/foam-extend-4.1/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.4.0-linux64GccDPInt32Opt.x86_64.rpm error: open of /home/openfoam/foam/foam-extend-4.1/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.4.0-linux64GccDPInt32Opt.x86_64.rpm failed: No such file or directory Done installing package If you have any tips on what I should do to get foam-extend-4.1 installed properly, please let me know. I could manually fix the errors I encountered so far, but to be honest, I'd much prefer a build without errors (I'm afraid manually fixing errors might introduce new ones). Many thanks, Sita Last edited by sita; February 4, 2020 at 05:38. |
|
February 7, 2020, 05:19 |
|
#23 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi everyone,
As you can see in my previous posts, I'm having a hard time getting foam-extend-4.1 installed properly on Ubuntu 18.04, using the instructions on the Wiki. With some manual fixes I managed to get a more-or-less working install in the end, but it's still not perfect. Especially ParaView keeps throwing warnings and errors (I'm using paraFoam -builtin, with ParaView 5.4, which I installed separately, as the Third Party version wouldn't build). Does anyone have any tips on how to get foam-extend-4.1 installed properly, including a working paraFoam? Thanks in advance! Sita |
|
February 7, 2020, 11:18 |
|
#24 | |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Quote:
Hi Sita, Could you share the manual fixes here? I had a student install it last week and it seemed to work for him. Are all the problems related to paraview, or are there others? I believe there was a problem with openMPI downloads (link broken), but that should be fixed. Best T |
||
February 7, 2020, 14:25 |
|
#25 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Torsten,
Thanks for getting back. Up to now my manual fixes consisted of: 1. creating a prefs.sh to tell the Allwmake script to install the Third Party OpenMPI 2. installing GFortran 3. separately installing ParaView and fixing the paths related to that I didn't manage to get the PVFoamReader built though (see previous error messages), so I'm using paraFoam -builtin, which is causing warnings and errors in ParaView. Apart from that, there are also some of the tutorials that won't run properly, even though they don't give any trouble in my foam-extend-3.1 install on another system. I'm not sure though whether that's related to my building problems or to foam-extend-4.1 itself. Sita |
|
February 9, 2020, 14:50 |
|
#26 |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Hi,
Ok, just tested the whole thing again. Ubuntu 18.04.3 LTS seems to be something like the standard distro for foam-extend-4.1 and does not need any special settings. Are you trying to adapt instructions based on earlier versions? What I just did: 1. Basic install of Ubuntu 18.04.3 LTS in a VM. 2. First Login: Code:
sudo apt-get update sudo apt-get upgrade 3. Second Login: Code:
sudo apt-get install git-core build-essential binutils-dev cmake flex \ zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev curl bison \ libxt-dev rpm mercurial graphviz python python-dev Code:
cd ~ mkdir foam cd foam git clone git://git.code.sf.net/p/foam-extend/foam-extend-4.1 foam-extend-4.1 Code:
cd ~/foam/foam-extend-4.1 source etc/bashrc Code:
Allwmake.firstInstall > Allwmake.firstInstall.log 2>&1 As stated in the instruction I do not really recommend the paraview version that comes with foam-extend, but always install the current version on my systems, so cannot say anything about that. But had compiled it in the past without huge problems. If your install does indeed use the system-MPI as you say, then you do not follow the instructions, and we would need to know exactly what commands, changes to the config you use. Can you post the commands you issue from a fresh install and the errors you get, incl. log files? |
|
February 9, 2020, 15:12 |
|
#27 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Torsten,
Thanks a lot for all your efforts. As I explained before, I simply followed the instructions on the Wiki, exactly like you listed them in your post just now. This resulted in a number of errors in the build log, and the Third Party OpenMPI and ParaView weren't installed. Only after that, I re-ran the make-script, using a new prefs.sh to tell the script to use the Third Party OpenMPI etc. This way, I succeeded in having the Third Party OpenMPI installed, but ParaView still wouldn't build, so I installed that separately, and am now using "paraFoam -builtin". I have absolutely no clue why the instructions on the Wiki didn't work for me, while they seem to work fine for you, apparently on the exact same system. If you want I can send you my make-logs, please let me know if you'd like that. Cheers, Sita |
|
April 25, 2020, 23:03 |
gcc error
|
#28 |
New Member
Elaxender david
Join Date: Nov 2017
Posts: 17
Rep Power: 8 |
Hi every one
I think the problem is in the gcc version. Most of Linux distributions can't support gcc4.3.3, and the foam-extension needs between gcc-4.3.1 - gcc- 4.3.3, Or in other word gcc version does not match gcc supplied with this release of foam-extend Supplied version: 4.3.3 User version : 9.2.1 Minimum required: 4.3.1 If any one have get solution please share it. Thanks |
|
April 26, 2020, 05:28 |
|
#29 | |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Quote:
You are correct that the "official" gcc toolchain for foam-extend 4.0 is v4.3, but I have 4 installations running on gcc5. gcc5.4 on CentOS7.6 on the cluster, and gcc5.5 on workstations running Ubuntu, 18.04LTS, 19.10, and 20.04LTS. I haven't tested everything of course, but the compilations runs through with warnings only and I have not encountered any problems so far. Gcc4 is usually not available as a package, but can easily be compiled, even on modern systems. I have done that once, but didn't bother any more, since gcc5 seems to work nicely. On the most recent Ubuntu release (20.04LTS), gcc5 is no longer in the repositories, so you'll need to enable the 18.04LTS universe repo by adding the line: Code:
deb http://gb.archive.ubuntu.com/ubuntu/ bionic universe Code:
/etc/apt/sources.list |
||
April 28, 2020, 14:36 |
RANS External Aerodynamics Simulation
|
#30 |
New Member
ZsoltDraga
Join Date: Jan 2011
Location: Albertirsa, Hungary
Posts: 10
Rep Power: 15 |
I would like to share my RANS Aero software. It was developed for Windows system using QT and OpenGL. It is not a final version yet, there might be some bugs in the code.
Here is the github page: https://github.com/dragazsolt/RANS1_0_Windows It is a free software, please use it and share your experience. Video tutorial is also available(check github page) Cheers, Zsolt |
|
May 4, 2020, 16:46 |
Dose not work
|
#31 | |
New Member
Elaxender david
Join Date: Nov 2017
Posts: 17
Rep Power: 8 |
Quote:
Thank you a lot .Dose not work. |
||
May 5, 2020, 20:39 |
Tried it on Manjaro, couldn't get it work, however tried in on OpenSUSE and it works.
|
#32 |
Senior Member
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 141
Rep Power: 10 |
Hello everyone!
I am currently using VM for my x86 linux installs as I am still new to the whole linux ecosystem and I still need windows for most things. I have both POP_OS 20.04 (based on Ubuntu Focal) and Manjaro 20. Funnily enough Paraview works much better on Manjaro so I can stick with it. I had no issues building OpenFOAM 1912 (have yet to try OpenFOAM 7), however I wonder if OpenFOAM extend 4.1 can be built on Manjaro? Unfortunately Manjaro is using GCC 9.3.0. Does the foam extend not like GCC 9.3.0? edit 1: even after getting gcc 7 installed from AUR but it still caused a few issues and wouldnt work after building. Im gonna just install it in my Ubuntu 20.04 vm then. Edit 2: I actually got it to work using Opensuse tumbleweed. I followed the same steps as installing 4.0 on opensuse in the foam extend website. Largely everything works. However I am having issues compiling foam extend bazaar. Has anyone figured that out? Last edited by EternalSeekerX; May 15, 2020 at 22:33. |
|
November 7, 2020, 05:57 |
A code
|
#33 |
New Member
Komeil Samet
Join Date: Mar 2015
Location: Urmia
Posts: 4
Rep Power: 11 |
Hi dears
I'm looking for a ready foam-extend for solving a FSI problem having a simple cylinder in a channel. Can anyone have such code? My OF version is 7. |
|
November 7, 2020, 06:09 |
|
#34 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi Komeil,
For a great FSI solver, you could have a look at solids4Foam, see also this thread This solver currently runs under foam-extend-4.0, but they're working on porting it to OpenFOAM-7 (openfoam.org version) and/or OpenFOAM v1912 (openfoam.com version) I believe. Hope this helps, Sita |
|
May 6, 2022, 09:34 |
|
#35 |
Member
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 11 |
Hello All,
I am having problem compiling a compatible swak4foam for Foam-Extend 4.1 package. I am trying to install swak4Foam package for FOAM-Extend 4.1, but the following error shows up: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
I am trying swak4foam 0.4.2 which should be compatible with FOAM-Extend 4.1. Can you help me resolve these issues? |
|
May 6, 2022, 09:48 |
|
#36 |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Have you tried these instructions?
https://openfoamwiki.net/index.php/Contrib/swak4Foam There are a few out-of-date ones on the web. It is usually best to install directly from the mercurial repository (first code block) - make sure that FOAM is initialised correctly. If the main branch does not work, try the develop branch (second code block). |
|
May 6, 2022, 10:21 |
|
#37 |
Member
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 11 |
Thanks for you reply Torsten,
I have downloaded swak4foam 0.4.2 from source forge here: https://sourceforge.net/p/openfoam-e.../tarball?path= Then I used ./AllwmakeAll to compile the codes. |
|
May 6, 2022, 10:26 |
|
#38 | |
Member
Torsten Schenkel
Join Date: Jan 2014
Posts: 69
Rep Power: 12 |
Quote:
Try the mercurial repo. |
||
May 9, 2022, 07:19 |
|
#39 | |
Member
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 11 |
Quote:
I installed mercurial package and tried the two block you mentioned but there are still errors unresolved. my foam-extend version is: foam-extend-4.1-20200408 |
||
May 16, 2022, 09:09 |
|
#40 |
Member
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 11 |
Does anybody have any successful experience in compiling swak4foam on Foam-Extend 4.1?
I think have almost tried everything on the Wiki-Page ) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation Guide for OpenFOAM-1.6-ext on Mac OS X Mountain Lion | BernhardGrieser | OpenFOAM Installation | 4 | October 26, 2013 16:39 |
OpenFOAM installation in SL 6.3 (guide req) | som87 | OpenFOAM Installation | 2 | September 27, 2012 18:21 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
can you please share STAR CD installation guide | Bhavani | Siemens | 1 | November 30, 2005 12:17 |
Fluent 5.5. What the differences with fluent 5.3?? | confused | FLUENT | 2 | July 29, 2001 22:58 |