← Back to team overview

dorsal team mailing list archive

Re: Nearing release

 

On Wed, Jan 26, 2011 at 4:17 PM, Johannes Ring <johannr@xxxxxxxxx> wrote:
> [resending to list]
>
> On Tue, Jan 25, 2011 at 11:48 AM, Harish Narayanan
> <harish.mlists@xxxxxxxxx> wrote:
>> Hello all,
>>
>> I am planning on doing a release soon. Since there have been numerous
>> changes since the previous release, I would like to ask platform
>> maintainers to check things out to detect any obvious problems.
>>
>> The following is a list of supported platforms and their statuses:
>>
>> Fedora 13                       [untested]
>> Fedora 14                       [untested]
>> Gentoo Linux                    [untested]
>> Ubuntu 10.04 LTS                [untested]
>> Ubuntu 10.10                    [untested]
>> openSUSE 11.3                   [untested]
>> Red Hat Enterprise Linux 6      [untested]
>
> Debian GNU/Linux Unstable       [64, dev - OK*]
>
>> Debian GNU/Linux Testing        [untested]
>> Mac OS X 10.6 (with MacPorts)   [64, dev - OK!]
>>
>> Please reply to this e-mail updating the status of whatever you decide
>> to test, and it will be helpful to point out whether your testing was on
>> a 32- or 64-bit machine and whether you were trying a stable/development
>> build of FEniCS.
>
> * DOLFIN was unable to detect SCOTCH because PT-SCOTCH is broken in
> the Debian package.

The attached patch allows DOLFIN to detect and build with SCOTCH on
Debian sid. However, the change will affect all platforms so I'm not
sure if it is acceptable.

Johannes
=== modified file 'FEniCS/packages/scotch.package'
--- FEniCS/packages/scotch.package	2011-01-17 15:17:26 +0000
+++ FEniCS/packages/scotch.package	2011-01-26 15:40:07 +0000
@@ -14,6 +14,7 @@
     perl -pi -e 's/^CFLAGS\t\t=/CFLAGS  = -fPIC/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
     perl -pi -e 's/^CCS.*= gcc/CCS  = mpicc/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
     perl -pi -e 's/^CCD.*= gcc/CCD  = mpicc/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
+    perl -pi -e 's/-DSCOTCH_PTHREAD//g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
     ln -sf Make.inc/Makefile.inc.${SCOTCH_ARCH} Makefile.inc
 }
 

=== modified file 'FEniCS/platforms/supported/squeeze.platform'
--- FEniCS/platforms/supported/squeeze.platform	2011-01-17 13:50:06 +0000
+++ FEniCS/platforms/supported/squeeze.platform	2011-01-26 15:52:40 +0000
@@ -21,6 +21,7 @@
 
 # Platform specific variables
 default PETSC_ARCH=linux-gnu-cxx-opt
+default SCOTCH_ARCH=pc_linux2
 default PARMETIS_DIR=/usr
 
 # Define the packages this platform needs
@@ -30,6 +31,7 @@
 slepc
 # swiginac
 mtl
+scotch
 fiat
 # ferari
 ufc


Follow ups

References