← Back to team overview

dorsal team mailing list archive

Re: [Branch ~dorsal-core/dorsal/main] Rev 342: Applied most of Dimitris' patch for a parallel-friendly karmic install (thanks Dimitris)

 

On Fri, Mar 12, 2010 at 10:35 PM,  <noreply@xxxxxxxxxxxxx> wrote:
> ------------------------------------------------------------
> revno: 342
> committer: Harish Narayanan <hnarayanan@xxxxxxxxx>
> branch nick: dorsal
> timestamp: Fri 2010-03-12 22:33:14 +0100
> message:
>  Applied most of Dimitris' patch for a parallel-friendly karmic install (thanks Dimitris)
> modified:
>  packages/petscwithmumps.package
>  packages/trilinos.package
>  platforms/karmic.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 'packages/petscwithmumps.package'
> --- packages/petscwithmumps.package     2010-02-02 20:56:44 +0000
> +++ packages/petscwithmumps.package     2010-03-12 21:33:14 +0000
> @@ -5,8 +5,7 @@
>
>  package_specific_setup () {
>     export PETSC_DIR=${PWD}
> -    ./config/configure.py COPTFLAGS=-O3 --with-debugging=0 --with-clanguage=cxx --with-shared=1 --download-hypre=1 --with-parmetis=1 --with-parmetis-dir=${PARMETIS_DIR} --download-scalapack=1 --download-blacs=1 --download-mumps=1 --prefix=${INSTALL_PATH}
> -
> +    ./config/configure.py COPTFLAGS=-O3 --with-debugging=0 --with-clanguage=cxx --with-shared=1 --download-hypre=1 --download-umfpack=1 --with-parmetis=1 --with-parmetis-dir=${PARMETIS_DIR} --download-scalapack=1 --download-blacs=1 --download-mumps=1 --prefix=${INSTALL_PATH}
>  }
>
>  package_specific_install () {
>
> === modified file 'packages/trilinos.package'
> --- packages/trilinos.package   2009-11-23 18:12:26 +0000
> +++ packages/trilinos.package   2010-03-12 21:33:14 +0000
> @@ -3,7 +3,7 @@
>  PACKING=.tar.gz
>  BUILDCHAIN=autotools
>  TARGETS=('' install clean)
> -CONFOPTS="--enable-pytrilinos --enable-amesos --cache-file=config.cache --with-cflags=-fPIC --with-cxxflags=-fPIC --with-fflags=-fPIC"
> +CONFOPTS="--enable-pytrilinos --enable-amesos --cache-file=config.cache --enable-mpi CXX="mpiCC" --with-cflags=-fPIC --with-cxxflags=-fPIC --with-fflags=-fPIC"

Wouldn't CXX="mpiCC" be problematic on systems with case-insensitive
file systems? It would be safer to use mpicxx or mpic++.

Johannes

>  package_specific_setup () {
>     patch --forward packages/PyTrilinos/src/FILEstream.cpp < ${ORIG_DIR}/patches/trilinos.patch || true
>
> === modified file 'platforms/karmic.platform'
> --- platforms/karmic.platform   2010-02-17 18:36:23 +0000
> +++ platforms/karmic.platform   2010-03-12 21:33:14 +0000
> @@ -24,7 +24,8 @@
>
>  # Define the packages this platform needs
>  PACKAGES=(
> -petsc
> +parmetis
> +petscwithmumps
>  slepc
>  # ginac
>  # swiginac
>
>
>



Follow ups