CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Announcements from Other Sources (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/)
-   -   Release of foam-extend-3.1, testing – deadline 8 June (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/136641-release-foam-extend-3-1-testing-deadline-8-june.html)

hani June 2, 2014 00:32

Release of foam-extend-3.1, testing – deadline 8 June
 
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.

tomislav_maric June 8, 2014 18:24

@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.

hani June 10, 2014 16:15

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

tomislav_maric June 11, 2014 07:45

@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

hani June 11, 2014 09:45

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

tomislav_maric June 11, 2014 09:57

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.

hani June 11, 2014 10:08

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.

plage June 11, 2014 11:52

coo_matrix.h missing in foam-3.1 CUDA installation
 
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

hani June 11, 2014 13:47

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 June 18, 2014 07:31

The foam-extend-3.1 code has been released, see:
http://www.cfd-online.com/Forums/ope...end-3-1-a.html


All times are GMT -4. The time now is 14:43.