Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
PaMPA
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PaMPA
  • PaMPA
  • Issues
  • #5

Closed
Open
Opened Mar 30, 2018 by LUX Benjamin@beluxDeveloper

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
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: PaMPA/PaMPA#5