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

Timo Heister heister at clemson.edu
Wed May 2 12:09:26 PDT 2018


How are you configuring ASPECT? It should be something like

cmake -D DEAL_II_DIR=$TACC_DEALII_DIR /your/path/to/your/aspect/sourcedir

Can you post your detailed.log from the ASPECT build directory?

I am also not sure who built "11) dealii/git20170615" and whether it
will work for you.

Lastly,

> /home1/apps/gcc7_1/impi17_0/dealii/git20170615/include/deal.II/base/utilities.h(28): catastrophic error: cannot open source file "Epetra_Comm.h"

This looks like some include paths are missing?!




On Wed, May 2, 2018 at 1:49 PM, FELIPE ORELLANA ROVIROSA
<f_orellana at berkeley.edu> wrote:
>
>  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>
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.geodynamics.org_cgi-2Dbin_mailman_listinfo_aspect-2Ddevel&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=c08Btfq4m9QEScXN3ZQwLZzzWQE7S8CYq1IYuzKV_Zk&m=C8PprsjPtOwd6V7FRP8v4w98sgtlphLWRdU3-xQ_ZTw&s=M0J-jm1Plky7BJ-JeQdxD0zigb41014IcIcDOZWKT6s&e=



-- 
Timo Heister
http://www.math.clemson.edu/~heister/


More information about the Aspect-devel mailing list