[Trilinos-Users] [EXTERNAL] Suggested techniques for reducing compilation times
Bartlett, Roscoe A
rabartl at sandia.gov
Wed May 25 15:33:44 EDT 2016
Max,
Take a look at some of the options in:
https://github.com/trilinos/Trilinos/blob/master/cmake/ctest/drivers/ATTB/ATTBDevEnv.cmake
Specifically:
# Turn off float and complex
SET(Teuchos_ENABLE_FLOAT OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
SET(Teuchos_ENABLE_COMPLEX OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
SET(Sacado_ENABLE_COMPLEX OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
SET(Thyra_ENABLE_COMPLEX OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
SET(Tpetra_INST_COMPLEX_DOUBLE OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
SET(Tpetra_INST_COMPLEX_FLOAT OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
SET(Anasazi_ENABLE_COMPLEX OFF CACHE BOOL "Set in ATTBDevEnv.cmake")
You would include a *.cmake fragment file as described here:
https://trilinos.org/docs/files/TrilinosBuildReference.html#basic-configuration
(see "b. Create a CMake file fragment and point to it")
Note that we are going to work to fix Trilinos build times with this epic:
https://github.com/trilinos/Trilinos/milestones/Reduce%20build%20times%20for%20Trilinos
(the first and easiest will #361).
Cheers,
-Ross
> -----Original Message-----
> From: Trilinos-Users [mailto:trilinos-users-bounces at trilinos.org] On Behalf Of
> Max Grossman
> Sent: Wednesday, May 25, 2016 3:02 PM
> To: trilinos-users at trilinos.org
> Subject: [EXTERNAL] [Trilinos-Users] Suggested techniques for reducing
> compilation times
>
> Hi all,
>
> Is there any documentation online of techniques or good practices to use when
> trying to minimize compilation times with Trilinos? I’ve seen -D
> Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON mentioned a couple of
> times, is there anything else (or anything additional I’d need to do to take
> advantage of explicit instantiation)?
>
> Thanks,
>
> Max
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list