CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

Release of foam-extend-3.1, testing – deadline 8 June

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 8 Post By hani

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2014, 01:32
Default Release of foam-extend-3.1, testing – deadline 8 June
  #1
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
The deadline for contributions to foam-extend-3.1 has passed.


After some initial testing and version bumping, the preliminary foam-extend-3.1 code is now available here:
https://sourceforge.net/p/openfoam-e...tRelease/tree/
I.e. it will remain in the nextRelease branch until the official release (although the git repo has a bumped version number).
Click on History for the history of commits. The release notes will be updated during the testing period. Two key features:
- coupled pressure based solver
- density based solver


The next step is to test everything again thoroughly. We therefore invite the community to install the release candidate, run the test loop, and test your own cases.


This should be done by June 8, after which foam-extend-3.1 is officially released and merged to the master branch.


To clone a fresh working copy (and checkout the nextRelease branch):
mkdir ~/foam
cd ~/foam
git clone --branch nextRelease git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1 foam-extend-3.1


To migrate from a foam-extend-3.0 working copy:
cd ~/foam
sed -i 's/foam-extend-3.0/foam-extend-3.1/g' foam-extend-3.0/.git/config
mv foam-extend-3.0 foam-extend-3.1
cd foam-extend-3.1
git pull
git checkout nextRelease
Note that work has been done also in ThirdParty, so it is a good idea to make sure that all those packages are re-compiled.


The installation instructions for Ubuntu 14.04 have been updated:
$WM_PROJECT_DIR/doc/buildInstructions/Ubuntu/Ubuntu_14.04
(during testing period: switch to nextRelease branch!)

Similar installation procedures as before applies for other architectures. If all required packages are installed, it is merely a matter of sourcing the etc/bashrc file:
. ~/foam/foam-extend-3.1/etc/bashrc
and doing:
foam
./Allwmake.firstInstall


Run the testHarness, following the instructions in
$WM_PROJECT_DIR/testHarness/README.txt


Report any compilation problems in this thread.
Help us write installation recipies for different architectures.
Report bugs in the Mantis bug-tracker: https://sourceforge.net/apps/mantisbt/openfoam-extend


The foam-extend administrators.
hani is offline   Reply With Quote

Old   June 8, 2014, 19:24
Default
  #2
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
@hani: You haven't exactly specified if the test success / failure is to be discussed in this thread along with the build/compilation problems, and I am 20 minutes behind the deadline.

Still, here are the test results. I've only had time to test the master branch.

Also, I've updated the page that describes how to build foam-extend on Arch Linux. When I have applied the steps shown there, the build/compilation went through without any issues, however some tests did fail, as the report shows.
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   June 10, 2014, 17:15
Default
  #3
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
Hi Tomislav,

The idea was that the *nextRelease* branch should be tested. That is the branch that contains the code that will be released as foam-extend-3.1. We are aware that it is a bit strange to have the upcoming release of 3.1 in branch nextRelease, but we took that decision this time. After the release, nextRelease will continue being developed, aiming at the next release after this one.

There is still time for you to test the nextRelease branch and report your results here. We are doing some additional tests.

Thanks for updating the installation instructions. If possible, change to version 3.1 as we announce the final release.

Håkan
hani is offline   Reply With Quote

Old   June 11, 2014, 08:45
Default
  #4
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
@Håkan

I'm sorry for the confusion, I was wrong when I wrote that the test was performed for the 'master' branch, actually, I have followed the test instructions, and I have switched to 'nextRelease' already. The branch name is visible in the build name.

I'll be glad to re-run the tests if that would be helpful in any way.


Tomislav
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   June 11, 2014, 10:45
Default
  #5
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
Hi,

Your compilation and your environment is not complete. You are missing many things, like:
mesquite
openmpi

Please check your compilation and your environment and when everything has compiled and the environment is set up completely, run again.

Håkan
hani is offline   Reply With Quote

Old   June 11, 2014, 10:57
Default
  #6
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
No, the compilation/build was perfecltly fine, as I reported. I've saved the build output to a log file. Also this is the Third Party log file.

It seems that the test harness doesn't see the libraries, at least to me. I have no experience with CDash and I have followed the instructions to the word.

I'll give the test script another try when I catch some time. If the tests fail because libmesquite was not found, and the log file shows a compilation without errors, then the problem is not in the configuration/build.
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   June 11, 2014, 11:08
Default
  #7
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
Try to run some of those case by hand. If it works it is something related to the testHarness. Then we should consult Martin Beaudoin.

Make sure to run the testHarness in the same terminal window as where it worked manually, so that you are sure that the envronment is set up the same way.
hani is offline   Reply With Quote

Old   June 11, 2014, 12:52
Default coo_matrix.h missing in foam-3.1 CUDA installation
  #8
New Member
 
Paulo Lage
Join Date: Feb 2012
Posts: 1
Rep Power: 0
plage is on a distinguished road
Dear all,

I have tried the foam-3.1 installation in Ubuntu 14.04 with CUDA 6.0 support.
After following the basic instructions and configuring it for the installed cuda directory, I am getting the following error message:

Found nvcc -- enabling CUDA support.
SOURCE=cudaSolver/cudaSolver.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/opt/cuda-6.0/include -IlnInclude -I. -I/opt/foam/foam-extend-3.1/src/foam/lnInclude -I/opt/foam/foam-extend-3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cudaSolver.o
SOURCE=cudaCG/cgDiag.cu ; nvcc -m64 -arch sm_35 -DNoRepository -Xcompiler -fPIC -I/opt/cuda-6.0/include -IlnInclude -I. -I/opt/foam/foam-extend-3.1/src/foam/lnInclude -I/opt/foam/foam-extend-3.1/src/OSspecific/POSIX/lnInclude -Dlinux64 -DWM_DP -O3 -c $SOURCE -o Make/linux64GccDPOpt/cgDiag.o
SOURCE=cudaCG/cgAmg.cu ; nvcc -m64 -arch sm_35 -DNoRepository -Xcompiler -fPIC -I/opt/cuda-6.0/include -IlnInclude -I. -I/opt/foam/foam-extend-3.1/src/foam/lnInclude -I/opt/foam/foam-extend-3.1/src/OSspecific/POSIX/lnInclude -Dlinux64 -DWM_DP -O3 -c $SOURCE -o Make/linux64GccDPOpt/cgAmg.o
SOURCE=cudaCG/cgAinv.cu ; nvcc -m64 -arch sm_35 -DNoRepository -Xcompiler -fPIC -I/opt/cuda-6.0/include -IlnInclude -I. -I/opt/foam/foam-extend-3.1/src/foam/lnInclude -I/opt/foam/foam-extend-3.1/src/OSspecific/POSIX/lnInclude -Dlinux64 -DWM_DP -O3 -c $SOURCE -o Make/linux64GccDPOpt/cgAinv.o
In file included from cudaSolver/cudaSolver.H:42:0,
from cudaSolver/cudaSolver.C:26:
cudaSolver/cudaTypes.H:53:29: fatal error: cusp/coo_matrix.h: Arquivo ou diretório não encontrado
#include <cusp/coo_matrix.h>
^
compilation terminated.
make: ** [Make/linux64GccDPOpt/cudaSolver.o] Erro 1
make: ** Esperando que outros processos terminem.
In file included from cudaCG/cgAmg.cu:47:0:
lnInclude/cudaTypes.H:53:29: fatal error: cusp/coo_matrix.h: Arquivo ou diretório não encontrado
#include <cusp/coo_matrix.h>
^
compilation terminated.
make: ** [Make/linux64GccDPOpt/cgAmg.o] Erro 1
In file included from cudaCG/cgDiag.cu:47:0:
lnInclude/cudaTypes.H:53:29: fatal error: cusp/coo_matrix.h: Arquivo ou diretório não encontrado
#include <cusp/coo_matrix.h>
^
compilation terminated.
In file included from cudaCG/cgAinv.cu:47:0:
lnInclude/cudaTypes.H:53:29: fatal error: cusp/coo_matrix.h: Arquivo ou diretório não encontrado
#include <cusp/coo_matrix.h>
^
compilation terminated.
make: ** [Make/linux64GccDPOpt/cgDiag.o] Erro 1
make: ** [Make/linux64GccDPOpt/cgAinv.o] Erro 1

The file coo_matrix.h was not in disk after downloading foam-3.1 from the git repository.
Maybe it is in a different location in the gitt structure, but I did not try to find put.

Is this a bug?
Any suggestions?

Paulo Lage
plage is offline   Reply With Quote

Old   June 11, 2014, 14:47
Default
  #9
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
I have asked Dominik to have a look at it. I did not enable CUDA myself, since I am not going to use it right now.

Håkan
hani is offline   Reply With Quote

Old   June 18, 2014, 08:31
Default
  #10
Senior Member
 
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 205
Rep Power: 18
hani is on a distinguished road
The foam-extend-3.1 code has been released, see:
http://www.cfd-online.com/Forums/ope...end-3-1-a.html
hani 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 20:44.