davidsblom / FOAM-FSI

Fluid-Structure Interaction solvers for foam-extend
GNU General Public License v2.0
74 stars 47 forks source link

Compilations problems on ubuntu trusty #355

Closed SvensenSeven closed 8 years ago

SvensenSeven commented 8 years ago

There is some problem with BLAS (Ubuntu 14.04).

sergey@sergey-Notebook-PC:~/foam/foam-extend-3.2/FOAM-FSI/src/thirdParty$ ./Allmake 
+ '[' '!' -d boost_1_61_0 ']'
+ cd elemental
+ mkdir -p build install
+ cd build
+ '[' Opt = Opt ']'
++ pwd
+ cmake -D CMAKE_INSTALL_PREFIX=/home/sergey/foam/foam-extend-3.2/FOAM-FSI/src/thirdParty/elemental/build/../install -D INSTALL_PYTHON_PACKAGE=OFF -D CMAKE_BUILD_TYPE=Release -D EL_DISABLE_PARMETIS=TRUE -D CMAKE_CXX_COMPILER=g++ -D CMAKE_C_COMPILER=gcc -D CMAKE_Fortran_COMPILER=gfortran -D EL_DISABLE_SCALAPACK=TRUE -D 'MATH_LIBS=-L/usr/lib -lopenblas' ..
-- Appending /home/sergey/foam/foam-extend-3.2/FOAM-FSI/src/thirdParty/elemental/include for Elemental's source includes
-- Appending /home/sergey/foam/foam-extend-3.2/FOAM-FSI/src/thirdParty/elemental/build/include for Elemental's binary includes
-- CXX11_COMPILER_FLAGS=-std=gnu++11
-- Using __restrict__ keyword.
-- Will parse MPI header /usr/include/mpi.h
-- Using Open MPI version 2.0.1
-- Appending /usr/include for MPI headers
-- Using prespecified OpenMP_C_FLAGS=-fopenmp
-- Using prespecified OpenMP_CXX_FLAGS=-fopenmp
-- Valgrind Prefix: 
-- Could NOT find VALGRIND (missing:  VALGRIND_INCLUDE_DIR VALGRIND_PROGRAM) 
-- Will attempt to extend user-defined MATH_LIBS=-L/usr/lib -lopenblas
-- A library with BLAS API found.
-- A library with LAPACK API found.
CMake Error at cmake/external_projects/ElMath.cmake:329 (message):
  Could not determine BLAS format.
Call Stack (most recent call first):
  CMakeLists.txt:388 (include)

-- Configuring incomplete, errors occurred!
See also "/home/sergey/foam/foam-extend-3.2/FOAM-FSI/src/thirdParty/elemental/build/CMakeFiles/CMakeOutput.log".
See also "/home/sergey/foam/foam-extend-3.2/FOAM-FSI/src/thirdParty/elemental/build/CMakeFiles/CMakeError.log".

CMakeError.txt CMakeOutput.txt

SvensenSeven commented 8 years ago

Another short question. The outlet region seems to be rigid. Is it any way to make it deformable, like wall patch ? I'm worried about back-reflections from the rigid outlet...

davidsblom commented 8 years ago

sure, you'll have to change the boundary conditions for the solid in solid/0/U. The fluid mesh should also be allowed to move I guess. Right now, it is a fixed patch in fluid/constant/dynamicMesh, and should be a moving patch.

SvensenSeven commented 8 years ago

It seems that this issue can be closed

davidsblom commented 8 years ago

Thanks. I'll close it when I have fixed the elemental compilation script. Still have some problems with the continuous integration test suite.