Commit 7f89d17b authored by Adam Powell's avatar Adam Powell

Imported Debian patch 5.5.0.svn.4298.dfsg-1

parent e800d561
[Desktop Entry]
Encoding=UTF-8
Name=Elmer
Comment=Elmer FEA software
Exec=sh -c 'ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI ELMER_POST_HOME=/usr/share/elmerpost ElmerGUI'
Icon=/usr/share/ElmerGUI/icons/Mesh3D.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Education;Math;Science
[Desktop Entry]
Encoding=UTF-8
Name=Elmer logger
Comment=Elmer FEA software log window
Exec=sh -c 'ELMER_HOME=/usr ELMERGUI_HOME=/usr/share/ElmerGUI ELMER_POST_HOME=/usr/share/elmerpost ElmerGUIlogger'
Icon=/usr/share/ElmerGUI/icons/Mesh3D.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Education;Math;Science
Elmer Debian Package
By Adam C. Powell, IV
Last updated June 25, 2009
Welcome to the wonderful Elmer finite element analysis package, a very capable
yet compact and efficient suite for performing a broad array of finite element
analysis tasks.
DOCUMENTATION
The Elmer website at http://www.csc.fi/elmer/ includes several excellent PDF
manuals on various aspects of the Elmer suite, as well as example input files
distributed with the ElmerGrid and Tutorial manuals. Unfortunately, due to
unclear copyrights and lack of "source", Debian cannot distribute those files.
RUNNING ELMER
The easiest way to run Elmer is via the ElmerGUI menu entry. If you try to run
ElmerGUI from the command line, please examine the files describing the menu
entries which are at:
- /usr/share/applications/ElmerGUI.desktop
- /usr/share/applications/ElmerGUIlogger.desktop
Those files give the full command line required to run ElmerGUI, including
several environment variables.
After running the solver under ElmerGUI, instead of the standard postprocessor,
please consider using the much more capable VTK postprocessor under the Run
menu. Both the standard postprocessor and the ElmerFront front end are
deprecated and not encouraged for general use.
PARALLEL OPERATION
Elmer parallelizes efficiently to thousands of cores by means of domain
decomposition. Doing this requires either running ElmerSolver by hand preceded
with "mpirun -np #" where # is the number of processes, or using the Parallel
settings dialog in ElmerGUI.
Note that this package omits the non-free METIS package, linking instead with
the Scotch parallel library's METIS-compatible interface. Unfortunately,
Scotch does not implement the full METIS interface, so it is not possible to
use the partitioning by elements, i.e. the standard domain decomposition option
in the Parallel Settings dialog. There are two workarounds to this problem:
1. Use the space and the number 2 at the end of the Divide: command in the
Parallel settings dialog (unique to the Debian package), i.e:
ElmerGrid 2 2 %msh -metis %n 2
This tells ElmerGrid to use node-based partitioning instead of element-based
partitioning, which is well supported by the METIS interface to Scotch.
2. In the Divide: command, Change "-metis %n 2" to "-partition #1 #2 #3" where
#1, #2 and #3 are the number of partitions to make in the x, y and z
directions. For example, to run with 12 processes, one can do "-partition 2
2 3" which splits the mesh in two pieces in the x direction, splits each of
those in two pieces in the y direction, and splits each of those four into
three in the z direction. Note that the geometric partitioner enabled by
this option is not as efficient as the Scotch partitioner of option 1.
EXTENDING ELMERGUI
To avoid excessive menu crowding, ElmerGUI only enables a subset of its
available models, i.e. equations it can solve. There are eight other models
available, which you can enable by (as root or sudo) copying XML files from the
directory /usr/share/ElmerGUI/edf-extra to /usr/share/ElmerGUI/edf .
Please refer to /usr/share/doc/quilt/README.source for information on how to
manipulate the patches for this package, which are in the debian/patches
directory.
elmerfem (5.5.0.svn.4298.dfsg-1) unstable; urgency=low
* New upstream revision.
* Change BLAS and LAPACK links to -lblas-3gf and -llapackgf-3, and change
Build-Depends accordingly.
* Include BLAS and stdc++ libs in ViewFactors (closes: #554323).
-- Adam C. Powell, IV <hazelsct@debian.org> Wed, 16 Dec 2009 16:31:52 -0500
elmerfem (5.5.0.svn.4262.dfsg-1) unstable; urgency=low
* New upstream revision changes getline() to readline() in elmerparam
(closes: #552887).
* Changed libreadline5-dev to libreadline-dev in Build-Depends
(closes: #553750).
-- Adam C. Powell, IV <hazelsct@debian.org> Mon, 02 Nov 2009 19:07:18 -0500
elmerfem (5.5.0.svn.4256.dfsg-1) unstable; urgency=low
* New upstream revision.
-- Adam C. Powell, IV <hazelsct@debian.org> Thu, 08 Oct 2009 09:48:57 -0400
elmerfem (5.5.0.svn.4214.dfsg-2) unstable; urgency=low
[ Christian Perrier <bubulle@debian.org> ]
* Debconf templates and debian/control reviewed by the debian-l10n-
english team as part of the Smith review project. Closes: #540139
* [Debconf translation updates]
- Basque. Closes: #541446
- Czech. Closes: #541448
- Estonian. Closes: #541474
- Swedish. Closes: #541724
- Portuguese. Closes: #542022
- German. Closes: #542682
- Italian. Closes: #543516
- Spanish. Closes: #543620
- Russian. Closes: #543707, #543948
- Finnish (Esko Arajärvi). Closes: #544216
- French (Christian Perrier). Closes: #544508
[ Adam C. Powell, IV ]
* Added Suggests for new (non-free) elmer-doc package.
* Bumped Standards-Version.
* New README.source describes quilt patch system.
* [Debconf translation updates]
- Vietnamese. Closes: #547885
-- Adam C. Powell, IV <hazelsct@debian.org> Thu, 01 Oct 2009 21:20:53 -0400
elmerfem (5.5.0.svn.4214.dfsg-1) unstable; urgency=low
* New upstream from SVN revision 4214.
* Added -fPIC to CFLAGS, CXXFLAGS and FCFLAGS so screensave.so and libhuti.a
build with it (closes: #534647).
* Removed backslashes from Build-Depends (closes: #535292).
* Patched ElmerGUI default partition style to nodal for Scotch compatibility
(closes: #532636).
* Resolved circular dependency by making elmer-common Recommend and not
Depend on elmer (closes: #531874).
* All EDF .xml files are now in edf-extra, and added a debconf mechanism to
create symlinks in edf (closes: #532637).
* Added elmerparam to the list of built modules, and r-base-core to
Build-Depends, and patched elmerparam to use destdir properly
(closes: #536120).
* Versioned Build-Depends on debhelper >=5.
-- Adam C. Powell, IV <hazelsct@debian.org> Tue, 07 Jul 2009 14:41:40 -0400
elmerfem (5.5.0.svn.4190.dfsg-3) unstable; urgency=low
* Added libqt4-opengl-dev to Build-Depends (closes: #531423).
* Added edf-extra files to allow users to include all models.
* New README.Debian explains various aspects of this package.
-- Adam C. Powell, IV <hazelsct@debian.org> Tue, 02 Jun 2009 20:50:42 -0400
elmerfem (5.5.0.svn.4190.dfsg-2) unstable; urgency=low
* Changed python-qt4 to python-qt4-dev in Build-Depends (closes: #530876).
-- Adam C. Powell, IV <hazelsct@debian.org> Thu, 28 May 2009 09:28:20 -0400
elmerfem (5.5.0.svn.4190.dfsg-1) unstable; urgency=low
* New upstream from SVN revision 4190.
* Moved from experimental to unstable now that Qt 4.5 has moved.
-- Adam C. Powell, IV <hazelsct@debian.org> Wed, 27 May 2009 23:45:31 -0400
elmerfem (5.5.0.svn.4096.dfsg-1) experimental; urgency=low
* Using SVN sources.
* New ElmerGUI uses QWT, VTK, and Open Cascade.
* Added libscotchmetis-dev to Build-Depends (careless omission).
* Changed openmpi-* dependencies to mpi-default-* .
* Added alternatives mechanism to enable installation of more than one
libelmersolver shlib package.
-- Adam C. Powell, IV <hazelsct@debian.org> Wed, 08 Apr 2009 16:58:46 -0400
elmerfem (5.4.1.dfsg-4) unstable; urgency=low
* Added references to /usr/share/common-licenses/LGPL-2 in copyright file.
-- Adam C. Powell, IV <hazelsct@debian.org> Mon, 29 Dec 2008 17:31:39 -0500
elmerfem (5.4.1.dfsg-3) unstable; urgency=low
* Now that ARPACK is free and in unstable, this can go into main.
* Added comments to quilt patches.
-- Adam C. Powell, IV <hazelsct@debian.org> Sun, 07 Dec 2008 06:12:52 +0900
elmerfem (5.4.1.dfsg-2) unstable; urgency=low
* Patched to avoid trying to call METIS_PartMeshDual and Nodal, pending fix
for bug 506033. Note this means those two partitioning methods will not
work.
* Added libarpack2-dev to Build-Depends (careless omission).
-- Adam C. Powell, IV <hazelsct@debian.org> Mon, 17 Nov 2008 17:38:21 -0500
elmerfem (5.4.1.dfsg-1) unstable; urgency=low
* First upload (closes: #505216).
* Uses m4 code from deal.II to detect installed (scotch)metis.
-- Adam C. Powell, IV <hazelsct@debian.org> Wed, 12 Nov 2008 14:40:00 -0500
Source: elmerfem
Section: science
Priority: extra
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: "Adam C. Powell, IV" <hazelsct@debian.org>
Standards-Version: 3.8.3
Build-Depends: debhelper (>= 5), po-debconf, quilt, autoconf, automake,
gfortran, libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so,
mpi-default-dev, mpi-default-bin,
libhypre-dev, libsuitesparse-dev, libarpack2-dev, libreadline-dev,
libncurses5-dev, libx11-dev, tk8.4-dev, tcl8.4-dev, libfreetype6-dev,
libftgl-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev,
libopencascade-modeling-dev, libqt4-dev, qt4-qmake, libqt4-opengl-dev,
libqwt5-qt4-dev, libvtk5-qt4-dev, python-qt4-dev, libscotchmetis-dev,
r-base-core
Homepage: http://www.csc.fi/elmer/
Package: elmer
Architecture: any
Section: science
Depends: elmer-common (= ${source:Version}), ${shlibs:Depends}, mpi-default-bin, ${misc:Depends}
Suggests: elmer-doc
Description: finite element multiphysics suite - binaries
The Elmer multiphysics simulation package includes physical models of
fluid dynamics, structural mechanics, electromagnetics, heat transfer, and
acoustics, among others. These are described by partial differential equations
which Elmer solves by the Finite Element Method (FEM).
.
Elmer uses METIS (or its free counterpart Scotch) for mesh partitioning, and
(P)ARPACK, UMFPACK, BLAS/LAPACK, and hypre to solve the sparse linear systems
resulting from FEM discretization. It includes pre- and post-processors, and
several examples illustrating simulation of various physical phenomena.
.
Elmer's lead institution is CSC in collaboration with Finnish universities,
research institutes, and industry.
.
This package provides the Elmer binaries, including the solver (single- and
multi-processor versions), GUI, and post-processor.
Package: elmer-common
Architecture: all
Section: science
Depends: ttf-freefont, ${misc:Depends}
Recommends: elmer (>= ${source:Version})
Description: finite element multiphysics suite - architecture-independent files
The Elmer multiphysics simulation package includes physical models of
fluid dynamics, structural mechanics, electromagnetics, heat transfer, and
acoustics, among others. These are described by partial differential equations
which Elmer solves by the Finite Element Method (FEM).
.
Elmer uses METIS (or its free counterpart Scotch) for mesh partitioning, and
(P)ARPACK, UMFPACK, BLAS/LAPACK, and hypre to solve the sparse linear systems
resulting from FEM discretization. It includes pre- and post-processors, and
several examples illustrating simulation of various physical phenomena.
.
Elmer's lead institution is CSC in collaboration with Finnish universities,
research institutes, and industry.
.
This package provides the architecture-independent files for Elmer.
Package: libelmersolver-5.5.0
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends}
Suggests: libelmer-dev
Conflicts: libelmersolver-5.4.1
Replaces: libelmersolver-5.4.1
Description: finite element multiphysics suite - library
The Elmer multiphysics simulation package includes physical models of
fluid dynamics, structural mechanics, electromagnetics, heat transfer, and
acoustics, among others. These are described by partial differential equations
which Elmer solves by the Finite Element Method (FEM).
.
Elmer uses METIS (or its free counterpart Scotch) for mesh partitioning, and
(P)ARPACK, UMFPACK, BLAS/LAPACK, and hypre to solve the sparse linear systems
resulting from FEM discretization. It includes pre- and post-processors, and
several examples illustrating simulation of various physical phenomena.
.
Elmer's lead institution is CSC in collaboration with Finnish universities,
research institutes, and industry.
.
This package provides the Elmer solver shared library.
Package: libelmer-dev
Architecture: any
Depends: elmer (= ${binary:Version}), libelmersolver-5.5.0 (= ${binary:Version}), libarpack2-dev, ${misc:Depends}
Section: libdevel
Description: finite element multiphysics suite - development files
The Elmer multiphysics simulation package includes physical models of
fluid dynamics, structural mechanics, electromagnetics, heat transfer, and
acoustics, among others. These are described by partial differential equations
which Elmer solves by the Finite Element Method (FEM).
.
Elmer uses METIS (or its free counterpart Scotch) for mesh partitioning, and
(P)ARPACK, UMFPACK, BLAS/LAPACK, and hypre to solve the sparse linear systems
resulting from FEM discretization. It includes pre- and post-processors, and
several examples illustrating simulation of various physical phenomena.
.
Elmer's lead institution is CSC in collaboration with Finnish universities,
research institutes, and industry.
.
This package contains the static libraries and header files for eio, huti, and
matc, as well as the Elmer solver shared library symlink. These are used for
developing Elmer, and are not needed to run the software.
This diff is collapsed.
#!/bin/sh -e
# Use debconf.
if [ ! -e /usr/share/debconf/confmodule ]; then
exit
fi
# Load debconf
. /usr/share/debconf/confmodule
db_capb backup multiselect
db_input high elmer/models || true
db_go || true
debian/README.Debian
usr/bin
usr/lib/elmerpost
usr/lib/R
#! /bin/sh -e
PROVIDED_MODELS="helmholtz navier-stokes resultoutput heatequation linearelasticity k-epsilon meshdeform elasticplate electrostatics freesurface poissonboltzmann reynolds saveline savescalars statcurrent"
# Load debconf
. /usr/share/debconf/confmodule
# Get selected models into \n-separated list
db_get elmer/models
SELECTED_MODELS="$(echo $RET | sed -e 's/, / /g')"
# Remove old symlinks, if any
for model in $PROVIDED_MODELS; do
rm -f /usr/share/ElmerGUI/edf/$model.xml;
done
# Make new symlinks
for model in $SELECTED_MODELS; do
ln -s ../edf-extra/$model.xml /usr/share/ElmerGUI/edf/$model.xml
done
#DEBHELPER#
#! /bin/sh -e
PROVIDED_MODELS="helmholtz navier-stokes resultoutput heatequation linearelasticity k-epsilon meshdeform elasticplate electrostatics freesurface poissonboltzmann reynolds saveline savescalars statcurrent"
# Remove all possible file symlinks before removing package files
case "$1" in
remove|purge)
for model in $PROVIDED_MODELS; do
rm -f /usr/share/ElmerGUI/edf/$model.xml;
done
;;
*)
;;
esac
#DEBHELPER#
# These templates have been reviewed by the debian-l10n-english
# team
#
# If modifications/additions/rewording are needed, please ask
# debian-l10n-english@lists.debian.org for advice.
#
# Even minor modifications require translation updates and such
# changes should be coordinated with translators and reviewers.
Template: elmer/models
Type: multiselect
Choices: helmholtz, navier-stokes, resultoutput, heatequation, linearelasticity, k-epsilon, meshdeform, elasticplate, electrostatics, freesurface, poissonboltzmann, reynolds, saveline, savescalars, statcurrent
Default: helmholtz, navier-stokes, resultoutput, heatequation, linearelasticity, k-epsilon, meshdeform
_Description: Elmer models to include in ElmerGUI:
Elmer can solve equations from many models. In order to
avoid excessive crowding of the ElmerGUI interface, only certain models are
included at a given time. See the Elmer Models Manual at
http://www.csc.fi/english/pages/elmer/documentation.
.
Please select the models you would like to include in ElmerGUI from the list.
Note that this will not affect the availability of models in the
solver, only their presence in the graphical interface.
usr/lib/*.a
usr/lib/libelmersolver.so
usr/include/*
usr/lib/libelmersolver-*.so
usr/lib/elmersolver-*
#!/bin/sh -e
# Make alternatives links
if [ "$1" = "configure" ]; then
update-alternatives --install /usr/lib/elmersolver elmersolver \
/usr/lib/elmersolver-5.5.0 5500
fi
#DEBHELPER#
#!/bin/sh -e
# Remove alternatives links
if [ "$1" = "remove" ]; then
update-alternatives --remove elmersolver /usr/lib/elmersolver-5.5.0
fi
#DEBHELPER#
Have ElmerGUI use PythonQt, update VTK version, and specify OCC includes and
libs correctly.
--- elmerfem-5.5.0.svn.4041.dfsg/ElmerGUI/ElmerGUI.pri~ 2009-03-17 15:12:17.000000000 -0400
+++ elmerfem-5.5.0.svn.4041.dfsg/ElmerGUI/ElmerGUI.pri 2009-03-17 15:22:37.000000000 -0400
@@ -11,7 +11,7 @@
DEFINES += EG_VTK # Use VTK for postprocessing?
DEFINES += EG_MATC # Use MATC for internal operations in postprocessing?
DEFINES += EG_OCC # Use OpenCASCADE 6.3 for importing CAD files? Needs VTK.
-DEFINES -= EG_PYTHONQT # Use PythonQt for scripting in post processor?
+DEFINES += EG_PYTHONQT # Use PythonQt for scripting in post processor?
#------------------------------------------------------------------------------
# 64 bit system?
@@ -75,8 +75,8 @@
# VTK library:
#------------------------------------------------------------------------------
unix {
- VTK_INCLUDEPATH = /usr/include/vtk-5.0
- VTK_LIBPATH = /usr/lib
+ VTK_INCLUDEPATH = /usr/include/vtk-5.2
+ VTK_LIBPATH = /usr/lib/vtk-5.2
VTK_LIBS = -lvtkHybrid \
-lvtkWidgets \
-lQVTK
This removes rpath from the linking command.
Of all of the patches in this package, this is the least likely to be adopted
by upstream.
--- elmerfem-5.5.0.svn.4214.dfsg/fem/src/Makefile.am~ 2009-06-25 20:42:26.000000000 -0400
+++ elmerfem-5.5.0.svn.4214.dfsg/fem/src/Makefile.am 2009-06-26 19:15:23.000000000 -0400
@@ -92,7 +92,7 @@
if IBM_AIX
$(SH_LD2) $(RPATH_ELMER) $(SH_LDFLAGS) $(B64FLAGS) $(LDFLAGS) -o libelmersolver-$(VERSION)$(SHL_EXT) $(SOLVEROBJS) $(SOLVER_LIBS) -L. -Lbinio -lbinio
else
- $(SH_LD2) $(RPATH_ELMER) $(SH_LDFLAGS) $(B64FLAGS) $(LDFLAGS) -Wl,-soname,libelmersolver-$(VERSION)$(SHL_EXT) -o libelmersolver-$(VERSION)$(SHL_EXT) $(SOLVEROBJS) $(SOLVER_LIBS) -L. -Lbinio -lbinio
+ $(SH_LD2) $(SH_LDFLAGS) $(B64FLAGS) $(LDFLAGS) -Wl,-soname,libelmersolver-$(VERSION)$(SHL_EXT) -o libelmersolver-$(VERSION)$(SHL_EXT) $(SOLVEROBJS) $(SOLVER_LIBS) -L. -Lbinio -lbinio
endif
endif
$(LN) -s libelmersolver-$(VERSION)$(SHL_EXT) $@
@@ -116,7 +116,7 @@
Solver$(OBJ_EXT) -L. -lelmersolver $(MPI_LIBS) $(EXTRA_LIBS)
else
ElmerSolver_mpi$(EXE_EXT): Solver$(OBJ_EXT) libelmersolver$(SHL_EXT)
- $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
+ $(FC) $(SH_LINKING_TO_FLAGS) $(B64FLAGS) $(LDFLAGS) \
-o ElmerSolver_mpi$(EXE_EXT) Solver$(OBJ_EXT) \
-L. -lelmersolver $(MPI_LIBS) $(EXTRA_LIBS)
endif
@@ -152,17 +152,17 @@
# not windows - no resource files:
ElmerSolver$(EXE_EXT): Solver$(OBJ_EXT) libelmersolver$(SHL_EXT) mpi_stubs$(OBJ_EXT)
- $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
+ $(FC) $(SH_LINKING_TO_FLAGS) $(B64FLAGS) $(LDFLAGS) \
-o ElmerSolver$(EXE_EXT) Solver$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \
-L. -lelmersolver $(EXTRA_LIBS)
ViewFactors$(EXE_EXT): libelmersolver$(SHL_EXT) ViewFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT)
- $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
+ $(FC) $(SH_LINKING_TO_FLAGS) $(B64FLAGS) $(LDFLAGS) \
-o ViewFactors$(EXE_EXT) ViewFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \
-L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS) $(STDCXX_LIBS)
GebhardtFactors$(EXE_EXT): libelmersolver$(SHL_EXT) GebhardtFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT)
- $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
+ $(FC) $(SH_LINKING_TO_FLAGS) $(B64FLAGS) $(LDFLAGS) \
-o GebhardtFactors$(EXE_EXT) GebhardtFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \
-L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS)
@@ -176,7 +176,7 @@
if USE_WINDOWS_COMPILER
else
ResultToResult$(EXE_EXT): libelmersolver$(SHL_EXT) ResultToResult$(OBJ_EXT)
- $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
+ $(FC) $(SH_LINKING_TO_FLAGS) $(B64FLAGS) $(LDFLAGS) \
-o ResultToResult$(EXE_EXT) ResultToResult$(OBJ_EXT) \
-L. -lelmersolver mpi_stubs$(OBJ_EXT) $(EXTRA_LIBS)
endif
--- elmerfem-5.5.0.svn.4214.dfsg/elmerparam/src/Makefile.am~ 2008-11-18 08:19:05.000000000 -0500
+++ elmerfem-5.5.0.svn.4214.dfsg/elmerparam/src/Makefile.am 2009-07-07 09:42:27.000000000 -0400
@@ -31,9 +31,9 @@
if UPPERCASEMODS
install-exec-local:
- $(INSTALL) ELMERPARAM.mod $(includedir)
+ $(INSTALL) ELMERPARAM.mod $(DESTDIR)$(includedir)
else
install-exec-local:
- $(INSTALL) elmerparam.mod $(includedir)
+ $(INSTALL) elmerparam.mod $(DESTDIR)$(includedir)
endif
MOSTLYCLEANFILES = $(nodist_include_HEADERS)
--- elmerfem-5.5.0.svn.4214.dfsg/elmerparam/src/R/Makefile.in~ 2008-11-18 08:19:05.000000000 -0500
+++ elmerfem-5.5.0.svn.4214.dfsg/elmerparam/src/R/Makefile.in 2009-07-07 12:01:42.000000000 -0400
@@ -2,7 +2,8 @@
install:
R CMD build elmerparam
- R CMD INSTALL -l @prefix@/lib/R elmerparam
+ test -z "$(DESTDIR)@prefix@/lib/R" || mkdir -p $(DESTDIR)@prefix@/lib/R
+ R CMD INSTALL -l $(DESTDIR)@prefix@/lib/R elmerparam
distdir: clean
cp -r ./* $(distdir)/
--- elmerfem-5.5.0.svn.4214.dfsg/elmerparam/src/R/elmerparam/src/Makevars.in~ 2008-11-18 08:19:05.000000000 -0500
+++ elmerfem-5.5.0.svn.4214.dfsg/elmerparam/src/R/elmerparam/src/Makevars.in 2009-07-07 13:11:59.000000000 -0400
@@ -1,2 +1,2 @@
-PKG_CPPFLAGS = -I@prefix@/include
-PKG_LIBS = -L@prefix@/lib -lelmerparam -lmatc
+PKG_CPPFLAGS = -I@prefix@/include -I$(DESTDIR)@prefix@/include
+PKG_LIBS = -L@prefix@/lib -L$(DESTDIR)@prefix@/lib -lelmerparam -lmatc
--- elmerfem-5.5.0.svn.4190.dfsg/ElmerGUI/Application/Application.pro~ 2009-05-18 16:41:02.000000000 -0400
+++ elmerfem-5.5.0.svn.4190.dfsg/ElmerGUI/Application/Application.pro 2009-06-02 20:48:53.000000000 -0400
@@ -21,6 +21,9 @@
edf.path = $${ELMERGUI_HOME}/edf
edf.files = edf/*
INSTALLS += edf
+edf-extra.path = $${ELMERGUI_HOME}/edf-extra
+edf-extra.files = edf-extra/*
+INSTALLS += edf-extra
#------------------------------------------------------------------------------
# Compiler flags:
Include libs needed to build with binutils-gold.
--- elmerfem-5.5.0.svn.4298.dfsg/fem/src/Makefile.am~ 2009-07-07 09:20:30.000000000 -0400
+++ elmerfem-5.5.0.svn.4298.dfsg/fem/src/Makefile.am 2009-12-16 15:41:31.000000000 -0500
@@ -158,7 +158,7 @@
ViewFactors$(EXE_EXT): libelmersolver$(SHL_EXT) ViewFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT)
$(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
-o ViewFactors$(EXE_EXT) ViewFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \
- -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS)
+ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS) $(STDCXX_LIBS)
GebhardtFactors$(EXE_EXT): libelmersolver$(SHL_EXT) GebhardtFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT)
$(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \
--- elmerfem-5.5.0.svn.4298.dfsg/fem/configure.in~ 2009-10-01 20:22:25.000000000 -0400
+++ elmerfem-5.5.0.svn.4298.dfsg/fem/configure.in 2009-12-16 15:50:06.000000000 -0500
@@ -270,6 +270,7 @@
AC_SUBST(FC)
AC_SUBST(MKDIR)
AC_SUBST(SOLVER_LIBS)
+AC_SUBST(STDCXX_LIBS)
AC_SUBST(SOLVER_MPI_LIBS)
AC_SUBST(LIBS)
AC_SUBST(FCFLAGS)
Make MPI_INCLUDE_DIR effective.
--- elmerfem-5.4.1/fem/src/Makefile.am~ 2008-02-29 03:10:40.000000000 -0500
+++ elmerfem-5.4.1/fem/src/Makefile.am 2008-11-10 16:17:47.000000000 -0500
@@ -14,6 +14,7 @@
if USE_MPI
ELMER_TARGETS=$(NORMAL_TARGETS) $(MPI_TARGETS)
+INCLUDES=-I$(MPI_INCLUDE_DIR)
else
ELMER_TARGETS=$(NORMAL_TARGETS)
endif
Remove call to METIS_PartMesh*, and return an error if the user tries it.
--- elmerfem-5.4.1.dfsg/elmergrid/src/femelmer.c~ 2008-02-29 03:11:41.000000000 -0500
+++ elmerfem-5.4.1.dfsg/elmergrid/src/femelmer.c 2008-11-17 16:27:04.000000000 -0500
@@ -2372,6 +2372,9 @@
int *neededby,*metistopo;
int *indxper,*inpart,*epart,*npart;
+ printf ("Element partitioning not supported by the Debian package\n");
+ return 1;
+
if(info) printf("Making a Metis partitioning for %d elements in %d-dimensions.\n",
data->noelements,data->dim);
@@ -2476,16 +2479,18 @@
if(info) printf("Using %d nodes of %d possible nodes in the Metis graph\n",nn,noknots);
+ /*
if(dual) {
if(info) printf("Starting graph partitioning METIS_PartMeshDual.\n");
METIS_PartMeshDual(&ne,&nn,metistopo,&etype,
&numflag,&nparts,&edgecut,epart,npart);
}
else {
if(info) printf("Starting graph partitioning METIS_PartMeshNodal.\n");
METIS_PartMeshNodal(&ne,&nn,metistopo,&etype,
&numflag,&nparts,&edgecut,epart,npart);
}
+ */
/* Set the partition given by Metis for each element. */
for(i=1;i<=noelements;i++) {
Signal node partitioning as default for Scotch compatibility (not element
partitioning which only works with the real METIS).
--- elmerfem-5.5.0.svn.4214.dfsg/ElmerGUI/Application/src/parallel.cpp~ 2009-02-18 09:44:30.000000000 -0500
+++ elmerfem-5.5.0.svn.4214.dfsg/ElmerGUI/Application/src/parallel.cpp 2009-06-25 21:11:59.000000000 -0400
@@ -91,7 +91,7 @@
ui.parallelArgsLineEdit->setText("-np %n ElmerSolver_mpi");
#endif
- ui.divideLineEdit->setText("ElmerGrid 2 2 %msh -metis %n");
+ ui.divideLineEdit->setText("ElmerGrid 2 2 %msh -metis %n 2");
ui.mergeLineEdit->setText("ElmerGrid 15 3 %ep -partjoin %n");
}
Make sure screensave.o builds with -fPIC so it can be in screensave.so.
--- elmerfem-5.5.0.svn.4214.dfsg/post/src/Makefile.am~ 2008-11-18 08:19:10.000000000 -0500
+++ elmerfem-5.5.0.svn.4214.dfsg/post/src/Makefile.am 2009-06-25 21:05:17.000000000 -0400
@@ -33,6 +33,9 @@
EXTRA_DIST=screensave.c
+screensave.$(OBJEXT): screensave.c
+ $(COMPILE) -c $< -fPIC
+
screensave.so: screensave.$(OBJEXT)
$(CC) $(CFLAGS) $(LDFLAGS) $(SH_LDFLAGS) -o $@ $< $(LIBS)
include-all-libs.patch
mpi-includes.patch
banish-rpath.patch
no-metis-partmesh.patch
ElmerGUI-config.patch
edf-extra.patch
node-partition.patch
destdir.patch
[type: gettext/rfc822deb] elmer.templates
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the elmerfem package.
# Martin Sin <martin.sin@zshk.cz>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: elmerfem 5.5.0.svn.4214.dfsg-1\n"
"Report-Msgid-Bugs-To: elmerfem@packages.debian.org\n"
"POT-Creation-Date: 2009-08-14 09:04+0200\n"
"PO-Revision-Date: 2009-08-14 13:12+0200\n"
"Last-Translator: Martin Sin <martin.sin@zshk.cz>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: multiselect
#. Description
#: ../elmer.templates:2001
msgid "Elmer models to include in ElmerGUI:"
msgstr "Elmerovy modely v ElmerGUI:"
#. Type: multiselect
#. Description
#: ../elmer.templates:2001
msgid ""
"Elmer can solve equations from many models. In order to avoid excessive "
"crowding of the ElmerGUI interface, only certain models are included at a "
"given time. See the Elmer Models Manual at http://www.csc.fi/english/pages/"
"elmer/documentation."
msgstr ""
"Elmer um?? ??e??it r??zn?? druhy rovnic. Abychom se p??itom vyhnuli p????li??"
"n??mu zv??t??en?? rozhran?? ElmerGUI, m????ete si vybrat, kter?? z model?? "
"si p??ejete zobrazit. Pro v??ce informac?? se pod??vejte se na manu??l "
"elmerov??ch model?? na adrese http://www.csc.fi/english/pages/elmer/"
"documentation"
#. Type: multiselect
#. Description
#: ../elmer.templates:2001
msgid ""
"Please select the models you would like to include in ElmerGUI from the "
"list. Note that this will not affect the availability of models in the "
"solver, only their presence in the graphical interface."
msgstr ""
"Pros??m vyberte ze seznamu modely, kter?? chcete m??t k dispozici v "
"ElmerGUI. Pamatujte, ??e tento v??b??r nem?? vliv na dostupnost model?? "
"vlastn??ho ??e????c??ho programu, pouze se projevuje v grafick??m u??"
"ivatelsk??m rozhran??."
#~ msgid ""
#~ "You can add or remove models later by using \"dpkg-reconfigure elmer\" at "
#~ "the command line, or using \"Package | Configure...\" in Synaptic."
#~ msgstr ""
#~ "Modely m????ete p??id??vat a odstra??ovat tak?? pozd??ji pomoc?? "
#~ "konzolov??ho p????kazu \"dpkg-reconfigure elmer\", nebo v nab??dce "
#~ "\"Bal????ek | Nastavit...\" Synapticu."
# Translation of elmerfem debconf templates to German
# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2009.
# This file is distributed under the same license as the elmerfem package.
#
msgid ""
msgstr ""
"Project-Id-Version: elmerfem 5.5.0.svn.4214.dfsg-2\n"
"Report-Msgid-Bugs-To: elmerfem@packages.debian.org\n"
"POT-Creation-Date: 2009-08-14 09:04+0200\n"
"PO-Revision-Date: 2009-08-15 09:46+0200\n"
"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
"Language-Team: de <debian-l10n-german@lists.debian.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Type: multiselect
#. Description