Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #38

Closed
Open
Created Feb 18, 2017 by frey_m@frey_mMaintainer

Compiler error with AMR

After merging the OPAL master branch into my fork, OPAL does not compile anymore with AMR (i.e. -DENABLE_AMR_SOLVER=1). The error message states

/opt/psi/Compiler/boost/1.62.0/gcc/5.4.0/include/boost/mpl/vector/aux_/at.hpp:35:38: fatal error: template instantiation depth exceeds maximum of 64 (use -ftemplate-depth= to increase the maximum) typedef typeof( Vector::item_(index_()) ) type;

The following toolchain is used:

  • source /opt/psi/config/profile.bash
  • module use unstable
  • module load cmake/3.6.3
  • module load gcc/5.4.0
  • module load boost/1.62.0
  • module load gsl/2.2.1
  • module load openmpi/1.10.4
  • module load trilinos/12.10.1
  • module load hdf5/1.8.18
  • module load H5hut/2.0.0rc3

In order to compile with AMR, one has to install BoxLib first by subsequent steps:

  1. git clone https://github.com/BoxLib-Codes/BoxLib
  2. cd BoxLib
  3. mkdir build
  4. cd build
  5. cmake -DBL_USE_PARTICLES=1 -DCMAKE_INSTALL_PREFIX=$TARGET_DIR ../
  6. make
  7. make install
  8. export environment variables:
    • $ export BOXLIB_HOME=$TARGET_DIR
    • $ export BOXLIB_PREFIX=$BOXLIB_HOME
    • $ export BOXLIB_INCLUDE_DIR=$BOXLIB_HOME/include
    • $ export BOXLIB_LIBRARY_DIR=$BOXLIB_HOME/lib
    • $ export BOXLIB_PERL_DIR=$BOXLIB_HOME/perl

The compilation of OPAL is then performed by configuring CMAKE with -DENABLE_AMR_SOLVER=1

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking