[aspect-devel] Problem compiling Aspect on Tacc-Stampede2
John Naliboff
jbnaliboff at ucdavis.edu
Mon May 7 15:01:13 PDT 2018
Hi Felipe,
I just installed ASPECT v1.5 with the one of the versions of deal.II
(8.5.1) I built a while back. For now, perhaps try building ASPECT by
linking to the version of deal.II on my account? Instructions to do this
are at the bottom of the email.
However, a number of things may change in the final Stampede2
installation instructions. For example, I get a number of warnings
related to the version of BOOST (Stampede2 module). Linking to my
version of deal.II may also not work (during installation or running a
model) and please let me know if this is the case.
I'll have the instructions go through a round of review through an
existing issue (https://github.com/geodynamics/aspect/issues/1838), and
once everyone is happy I'll add the instructions to the ASPECT wiki:
https://github.com/geodynamics/aspect/wiki. From there, we can also have
the TACC folks build a deal.II 8.5.1 module for ASPECT.
Cheers,
John
*ASPECT Installations Instructions for Stampede2**using pre-built
deal.II 8.5.1 (***not guaranteed to work****)*
1. Start idev session
idev -p skx-dev -N 1 -n 48 -m 60
2. Make sure following modules are loaded
gcc/7.1.0 impi/17.0.3 mkl/17.0.4 python/2.7.13 boost/1.64
swig/3.0.12 cmake/3.8.2
phdf5/1.8.16 parallel-netcdf/4.3.3.1
3. Set cc and cxx compiler enivornment variables
export CC="${TACC_IMPI_BIN}"/mpicc; export
CXX="${TACC_IMPI_BIN}"/mpicxx
4. Configure (be sure to add in the correct path to your ASPECT
installation folder)
cmake \
-DDEAL_II_DIR=/work/01038/jboff/stampede2/software/gcc-7.1.0/dealii/v8.5.1/install/lib/cmake
\
-DCMAKE_INSTALL_PREFIX=""PATH_TO_YOUR_ASPECT_FOLDER" \
-DCMAKE_BUILD_TYPE=Release .
5. Build
make -j32
On 05/03/2018 12:05 PM, FELIPE ORELLANA ROVIROSA wrote:
>
> Hi Timo and John,
>
> Thanks a loooooot for your support.
>
> I understand. There is a problem with dealii in Stampede2.
>
> I installed dealii in my account on Stampede1 long ago, and it
> was kind of a big task for me.
>
> OK, I will wait for you John. In that way we will all be on the
> same track.
>
> When you proceed, let me know if I can help with anything.
>
> cheers,
> thank you very much,
>
> Felipe
>
>
>
>
>
> On Thu, May 3, 2018 at 9:40 AM, John Naliboff <jbnaliboff at ucdavis.edu
> <mailto:jbnaliboff at ucdavis.edu>> wrote:
>
> Hi all,
>
> I'll coordinate with one of the TACC folks early next week and
> have a general deal.II module (8.5.1) built using gcc. I installed
> both the development and 8.5.0 on Stampede2 recently, so I'm not
> sure what the issue. I'll also put up general instructions for the
> installation on the ASPECT github page.
>
> Felipe - As soon as I rebuild deal.II on my account, you can build
> ASPECT using that version until the general module is installed.
>
> Cheers,
> John
> On 05/03/2018 09:34 AM, Timo Heister wrote:
>>> login4.stampede2(364)$ find . -name trilinos_block*
>>> ./include/deal.II/lac/trilinos_block_sparse_matrix.h
>>>
>>> so, the file 'trilinos_block_vector.h' does not exists in this library
>>> collection :(
>>>
>>> what should I do?
>> This means the deal.II installation you are trying to use is broken.
>> Your options:
>> - install deal.II yourself
>> - ask the admins to fix the installation
>> - ask somebody else to install deal.II and use that installation (I am
>> planning to do that at some point this summer)
>>
>>
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org <mailto:Aspect-devel at geodynamics.org>
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
> <http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel>
>
>
>
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20180507/183c2c69/attachment.html>
More information about the Aspect-devel
mailing list