[aspect-devel] Problem compiling Aspect on Tacc-Stampede2

FELIPE ORELLANA ROVIROSA f_orellana at berkeley.edu
Wed May 2 10:49:06 PDT 2018


 Hi all,

    I am trying to install ASPECT on TACC Stampede2.

    I have modified my bashrc file so I can use the modules that are
already there installed, so I check the following:

   login2.stampede2(282)$ module list

Currently Loaded Modules:
  1) autotools/1.1   4) git/2.9.0      7) impi/17.0.3       10) p4est/2.0
  2) xalt/1.7.7      5) cmake/3.10.2   8) python/2.7.13     11)
dealii/git20170615
  3) TACC            6) intel/17.0.4   9) trilinos/12.10.1

Inactive Modules:
  1) mkl


  Then, I have tried installing two versions of ASPECT (2.0.0-pre and 1.5)
with no success.
  The generating succeeds, it produces the dependencies, etc.

  But, the problem arises at the moment of compilation. It seemingly fails
when trying to use dealii or trilinos libraries. I am pasting a fraction of
the error message at the end.

 A guy on Stampede tech support wrote me these messages:
#######################
''
 When you build ASPECT you have to tell it where trilinos is. I have no
experience with aspect so I don't know whether this is done with a cmake
option, a configure option, or by editing a make include file.

You need to tell cmake that

$TACC_DEALII_DIR/include

is a valid include path
''########################

   So, where and how and at what stage should I indicate ASPECT that I am
using the local libraries?

warm regards,
Felipe

error message when i compile Aspect 1.5:

make[2]: *** [CMakeFiles/aspect.dir/source/geometry_model/chunk.cc.o] Error
4
In file included from /home1/04020/unfelipe/aspect-
1.5/include/aspect/simulator_access.h(32),
                 from /home1/04020/unfelipe/aspect-
1.5/include/aspect/boundary_temperature/initial_temperature.h(26),
                 from /home1/04020/unfelipe/aspect-1.5/source/boundary_
temperature/initial_temperature.cc(22):
/home1/04020/unfelipe/aspect-1.5/include/aspect/global.h(30): catastrophic
error: cannot open source file "deal.II/lac/trilinos_block_vector.h"
  #  include <deal.II/lac/trilinos_block_vector.h>


error message when i compile Aspect 2.0.0-pre:

  compilation aborted for /home1/04020/unfelipe/aspect/
source/boundary_velocity/interface.cc (code 4)
make[2]: *** [CMakeFiles/aspect.dir/source/boundary_traction/initial_lithostatic_pressure.cc.o]
Error 4
In file included from /home1/apps/gcc7_1/impi17_0/
dealii/git20170615/include/deal.II/base/index_set.h(20),
                 from /home1/apps/gcc7_1/impi17_0/
dealii/git20170615/include/deal.II/lac/trilinos_vector.h(24),
                 from /home1/apps/gcc7_1/impi17_0/
dealii/git20170615/include/deal.II/lac/trilinos_parallel_block_vector.h(24),
                 from /home1/04020/unfelipe/aspect/
include/aspect/global.h(34),
                 from /home1/04020/unfelipe/aspect/
include/aspect/plugins.h(25),
                 from /home1/04020/unfelipe/aspect/include/aspect/boundary_
traction/interface.h(25),
                 from /home1/04020/unfelipe/aspect/include/aspect/boundary_
traction/function.h(25),
                 from /home1/04020/unfelipe/aspect/source/boundary_traction/
function.cc(22):
/home1/apps/gcc7_1/impi17_0/dealii/git20170615/include/deal.II/base/utilities.h(28):
catastrophic error: cannot open source file "Epetra_Comm.h"
  #  include <Epetra_Comm.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20180502/8640f8f4/attachment.html>


More information about the Aspect-devel mailing list