Package Base Details: med

Git Clone URL: (read-only, click to copy)
Submitter: None
Maintainer: Nim65s
Last Packager: Nim65s
Votes: 97
Popularity: 0.55
First Submitted: 2007-09-25 18:28
Last Updated: 2020-07-06 06:48

Packages (2)

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8

gborzi commented on 2011-08-03 16:07

I get the same error trying to compile gmsh with med-3.0.3. I've tried to fix it but failed, there are too many changes. Do you think that switching gmsh to cgnslib ( is desiderable?

freevryheid commented on 2011-08-02 12:47

Still getting a error when trying to build gmsh

/tmp/yaourt-tmp-grassy/aur-gmsh/src/gmsh-2.5.0-source/Geo/GModelIO_MED.cpp:32:1: error: ‘med_geometrie_element’ does not name a type
/tmp/yaourt-tmp-grassy/aur-gmsh/src/gmsh-2.5.0-source/Geo/GModelIO_MED.cpp:54:24: error: ‘med_geometrie_element’ was not declared in this scope
/tmp/yaourt-tmp-grassy/aur-gmsh/src/gmsh-2.5.0-source/Geo/GModelIO_MED.cpp:55:1: error: expected ‘,’ or ‘;’ before ‘{’ token
make[2]: *** [CMakeFiles/gmsh.dir/Geo/GModelIO_MED.cpp.o] Error 1
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

freevryheid commented on 2011-08-02 04:07

This works


# Maintainer: Michele Mocciola <mickele>
# Contributor: Brice Méalier <>

pkgdesc="MED stands for Modelisation et Echanges de Donnees, i.e. Data Modelization and Exchanges - MED is code-aster exchange module linked to hdf5"
depends=('hdf5' 'tk' 'gcc-libs')
makedepends=('make' 'gcc' 'gcc-fortran' 'coreutils')
arch=('i686' 'x86_64')

build() {
if [ "$CARCH" = "x86_64" ]; then
export FFLAGS="-fopenmp -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -ffixed-line-length-0 ${CFLAGS}"
export FCFLAGS="-fopenmp -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -ffixed-line-length-0 ${CFLAGS}"
else # i686
export FFLAGS="-fopenmp -fPIC -ffixed-line-length-0 ${CFLAGS}"
export FCFLAGS="-fopenmp -fPIC -ffixed-line-length-0 ${CFLAGS}"

cd ${srcdir}/${pkgname}-${pkgver}_SRC || return 1

./configure --with-f90=gfortran --prefix=/usr || return 1
make || return 1

package() {
cd ${srcdir}/${pkgname}-${pkgver}_SRC || return 1

make DESTDIR=${pkgdir} install || return 1

mv ${pkgdir}/usr/share/doc ${pkgdir}/usr/share/doc-tmp || return 1
mkdir -p ${pkgdir}/usr/share/doc/ || return 1
mv ${pkgdir}/usr/share/doc-tmp ${pkgdir}/usr/share/doc/${pkgname} || return 1

cd ${pkgdir} || return 1
for _FILE in `grep -Rl "\-L${srcdir}/${pkgname}-${pkgver}_SRC/src" *`
sed -e "s| \-L${srcdir}/${pkgname}-${pkgver}_SRC/src||" \
-i ${_FILE}


mickele commented on 2010-04-28 13:51

@ myles
PKGBUILD installs only med, but extracts med's source from code-aster tarball. When I created this PKGBUILD I didn't find on the web a tarball containing only med-2.3.5. If you find it, leave a message with the URL.

myles commented on 2010-04-28 10:55

This tries to install the whole of code-aster, not just med. I'm trying to install gmsh that depends on med.

mickele commented on 2010-04-05 21:38

I corrected URL (2.3.6-3).

mickele commented on 2010-04-03 14:15

Oops, you're right. I can't update the package in these days (I'm not at home!), I'll update as soon as I can.
The right URL is

Tempel commented on 2010-04-01 21:58

The sources URL leads to a 404.