[Trilinos-Users] FW: [EXTERNAL] PGI and Trilinos

Tezaur, Irina ikalash at sandia.gov
Fri May 15 18:50:14 EDT 2015


________________________________
From: Tezaur, Irina
Sent: Friday, May 15, 2015 3:48:49 PM
To: trilinos-users at software.sandia.gov
Subject: FW: [EXTERNAL] PGI and Trilinos

A collaborator of mine at ORNL experienced the following build error when trying to build Trilinos on Titan.  It relates to Kokkos.  Does anyone know how to resolve this?

Thanks,

Irina

Sent with Good (www.good.com)
________________________________
From: Patrick Worley <worleyph at ornl.gov>
Sent: Friday, May 15, 2015 9:24:32 AM
To: Salinger, Andrew; Tezaur, Irina; Kate Evans
Subject: [EXTERNAL] PGI and Trilinos

I tried the latest publicTrilinos with PGI on Titan (with the packages needed for Albany).

It complained that C++11 support was missing in the installed PGI versions (14.2, 14.7). I found a version of PGI that did pass this test: 15.3 . (This is available on Titan, but not installed officially.) Compilation then died with

[  0%] Building CXX object packages/kokkos/core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_BasicAllocators.cpp.o
"/lustre/atlas/world-shared/cli900/cesm/software/Trilinos/publicTrilinos_gptl/packages/kokkos/core/src/impl/Kokkos_BasicAllocators.cpp", line 271: error:
          identifier "MREMAP_MAYMOVE" is undefined
    ptr = mremap( old_ptr, old_size, new_size, MREMAP_MAYMOVE );
                                               ^

"/lustre/atlas/world-shared/cli900/cesm/software/Trilinos/publicTrilinos_gptl/packages/kokkos/core/src/impl/Kokkos_BasicAllocators.cpp", line 271: error:
          identifier "mremap" is undefined
    ptr = mremap( old_ptr, old_size, new_size, MREMAP_MAYMOVE );
          ^

2 errors detected in the compilation of "/lustre/atlas/world-shared/cli900/cesm/software/Trilinos/publicTrilinos_gptl/packages/kokkos/core/src/impl/Kokkos_BasicAllocators.cpp".
make[2]: *** [packages/kokkos/core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_BasicAllocators.cpp.o] Error 2
make[1]: *** [packages/kokkos/core/src/CMakeFiles/kokkoscore.dir/all] Error 2
make: *** [all] Error 2

FYI.

Pat

P.S. - This did build with gcc 4.8.2 .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150515/7c5edeac/attachment.html>


More information about the Trilinos-Users mailing list