AeroSol Multilevel test fail with current version of PaMPA-p
Issue
AeroSol tests for multilevel fail with current version of PaMPA-p.
Details
PaMPA-p (master) efd0247e
Compiled with:
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /home/benjamin/Codes/install/pampa-p
COMMON_COMPRESSION ON
COMMON_MEMORY_TRACE OFF
COMM_TYPE Point-to-point
FORTRAN_INTERFACE OFF
INT_SIZE Default
PAMPA_ADAPT OFF
PAMPA_MULTILEVEL ON
PAMPA_RENAME ON
PTHREAD None
PTSCOTCH ON
PTSCOTCH_HOME
SAMPLES ON
SAMPLE_TYPE All
SCM_VERSIONS OFF
AeroSol compiled with:
BLA_VENDOR
BUILD_TESTING ON
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /opt/aerosol
DENSE_LINEAR_ALGEBRA_PACKAGE ANY
LIBRARY_COMPILATION_TYPE SHARED
WITH_BLOCKDIAGONALSOLVER ON
WITH_DIAGONALSOLVER ON
WITH_HDF5 OFF
WITH_MULTIGRID ON
WITH_MUMPS OFF
WITH_PAPI OFF
WITH_PASTIX OFF
WITH_PETSC OFF
WITH_PETSC_HYPRE OFF
WITH_SIMULATIONS ON
WITH_TEST ON
WITH_UMFPACK OFF
WITH_XML2 ON
AeroSol test lauched with:
ctest -R Multi -j8
[...]
>> 25% tests passed, 300 tests failed out of 400
Only test with weight=1
pass.
Or
ctest -j8 | tee ctest.log
[...]
>> 89% tests passed, 330 tests failed out of 2987
Reproduction
To reproduce this behavior, if you run Spack you can:
1/
Set PAMPA_MULTILEVEL=ON in spack-repo/packages/pampa/package.py
gitroot = "https://gitlab.inria.fr/PaMPA/PaMPA-p.git"
[...]
args.extend(["-DPAMPA_MULTILEVEL=ON"])
2/
Clone AeroSol localy
svn checkout svn+ssh://<username>@scm.gforge.inria.fr/svnroot/aerosol-p/
# Or
svn up
3/
Modify aerosol/lib/mesh/Mesh.cpp
:~l.203 (uncomment)
NULL, // for gitlab version of PAMPA
This mean uncomment a line in Mesh::consructMeshFromFile
function in PAMPA_dmeshBuild
call.
4/
Compile AeroSol
cd aerosol/build/
# do this command only once, do not type it again unstead you have remove your spack aerosol installation
spack setup aerosol@trunk ^openmpi ^openblas
# this line load some module for AeroSol compilation
source <(spack module loads -r aerosol@trunk ^openmpi ^openblas | head -n -2)
# this line should display some modules loaded for AeroSol compilation
module list
cmake .. -DWITH_BLOCKDIAGONALSOLVER=ON -DWITH_DIAGONALSOLVER=ON -DWITH_MULTIGRID=ON -DWITH_TEST=ON -DWITH_SIMULATIONS=ON
make -j8
5/
Launch AeroSol tests
ctest -R Multi -j8 | tee ctest-multilevel.log
# Or
ctest -j8 | tee ctest.log