← Back to team overview

dorsal team mailing list archive

Re: [Branch ~dorsal-core/dorsal/main] Rev 383: Remove trilinos from default targets in lucid.platform, takes forever to

 

On Thu, Aug 19, 2010 at 8:36 PM,  <noreply@xxxxxxxxxxxxx> wrote:
> ------------------------------------------------------------
> revno: 383
> committer: Anders Logg <logg@xxxxxxxxx>
> branch nick: dorsal-main
> timestamp: Thu 2010-08-19 20:33:15 +0200
> message:
>  Remove trilinos from default targets in lucid.platform, takes forever to
>  build, might enable it later

I think Trilinos with CMake doesn't take that long. Attached is a
patch that adds a trilinoswithcmake.package to Dorsal that builds the
latest Trilinos (10.4.0).

Johannes

> modified:
>  FEniCS/platforms/lucid.platform
>
>
> --
> lp:dorsal
> https://code.launchpad.net/~dorsal-core/dorsal/main
>
> Your team Dorsal Team is subscribed to branch lp:dorsal.
> To unsubscribe from this branch go to https://code.launchpad.net/~dorsal-core/dorsal/main/+edit-subscription
>
> === modified file 'FEniCS/platforms/lucid.platform'
> --- FEniCS/platforms/lucid.platform     2010-06-09 17:28:42 +0000
> +++ FEniCS/platforms/lucid.platform     2010-08-19 18:33:15 +0000
> @@ -31,7 +31,7 @@
>  # ginac
>  # swiginac
>  mtl
> -trilinos
> +# trilinos
>  cgal
>  fiat
>  ferari
>
>
>
=== added file 'FEniCS/packages/trilinoswithcmake.package'
--- FEniCS/packages/trilinoswithcmake.package	1970-01-01 00:00:00 +0000
+++ FEniCS/packages/trilinoswithcmake.package	2010-08-20 07:42:47 +0000
@@ -0,0 +1,28 @@
+NAME=trilinos-10.4.0-Source
+SOURCE=http://trilinos.sandia.gov/download/files/
+PACKING=.tar.gz
+BUILDCHAIN=custom
+
+package_specific_build () {
+    mkdir -p build
+    cd build
+    cmake \
+      -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
+      -D Trilinos_ENABLE_PyTrilinos:BOOL=ON \
+      -D Trilinos_ENABLE_Fortran:BOOL=OFF \
+      -D Trilinos_ENABLE_TESTS:BOOL=OFF \
+      -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
+      -D CMAKE_BUILD_TYPE:STRING=DEBUG \
+      -D BUILD_SHARED_LIBS:BOOL=ON \
+      -D Trilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos \
+      -D TPL_ENABLE_MPI:BOOL=ON \
+      -D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH} \
+      -D PyTrilinos_INSTALL_PREFIX:PATH=${INSTALL_PATH} \
+      ..
+    make
+    make install
+}
+
+package_specific_register () {
+    export TRILINOS_DIR=${INSTALL_PATH}
+}


Follow ups