Your message dated Wed, 06 Jul 2011 21:17:56 +0000
with message-id <[email protected]>
and subject line Bug#613568: fixed in gmsh 2.5.1~beta1~svn9559~dfsg-1
has caused the Debian Bug report #613568,
regarding gmsh exits successfully even when it detects meshing errors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
613568: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613568
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gmsh
Version: 2.4.2.dfsg-5
Severity: normal
Consider the attached geometry file test.geo of a unit cube. In this file I
forced the use of the meshing algorithm from tetgen by including the lines
// ensure tetgen is used
Mesh.Algorithm3D=1;
Of course, Debian's gmsh does not support tetgen, so this can not work:
======================================================================
joe@paranoia:/tmp$ gmsh test.geo -3
Info : Running 'gmsh test.geo -3'
Info : Started on Tue Feb 15 19:01:15 2011
Info : Reading 'test.geo'
Info : Read 'test.geo'
Info : Meshing 1D...
[...]
Info : Meshing 3D...
Error : Tetgen is not compiled in this version of Gmsh
Info : Mesh 3D complete (0 s)
Info : 182 vertices 428 elements
Error : ------------------------------
Error : Mesh generation error summary
Error : 0 warnings
Error : 1 error
Error : Check the full log for details
Error : ------------------------------
Info : Writing 'test.msh'
Info : Wrote 'test.msh'
Info : Stopped on Tue Feb 15 19:01:15 2011
joe@paranoia:/tmp$ echo $?
0
joe@paranoia:/tmp$
======================================================================
As you can see, gmsh does notice the error, but still goes on and saves the
mesh file and even returns a successfull exit code to the shell.
For scripting purposes it would be great if gmsh would return an non-zero
exit code in such situations.
Thanks,
Jö.
-- System Information:
Debian Release: 6.0
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gmsh depends on:
ii dpkg 1.15.8.10 Debian package management system
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in
ii libatlas3gf-base [libla 3.8.3-27 Automatically Tuned Linear Algebra
ii libblas3gf [libblas.so. 1.2-8 Basic Linear Algebra Reference imp
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcgns2 2.5.4-3 CFD General Notation System librar
ii libfltk1.1 1.1.10-2+b1 Fast Light Toolkit - shared librar
ii libgcc1 1:4.4.5-8 GCC support library
ii libgfortran3 4.4.5-8 Runtime library for GNU Fortran ap
ii libgl1-mesa-glx [libgl1 7.7.1-4 A free implementation of the OpenG
ii libglu1-mesa [libglu1] 7.7.1-4 The OpenGL utility library (GLU)
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii liblapack3gf [liblapack 3.2.1-8 library of linear algebra routines
ii libopencascade-foundati 6.3.0.dfsg.1-6 OpenCASCADE CAE platform shared li
ii libopencascade-modeling 6.3.0.dfsg.1-6 OpenCASCADE CAE platform shared li
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.3-4 X11 client-side library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages gmsh recommends:
ii mpi-default-bin 0.6 Standard MPI runtime programs
gmsh suggests no packages.
-- no debconf information
--
A mathematician is a device to turn coffee into theorems.
-- Paul Erdös
// ensure tetgen is used
Mesh.Algorithm3D=1;
// cube [0..1]^3
Point(1) = {0, 0, 0};
Point(2) = {1, 0, 0};
Point(3) = {0, 1, 0};
Point(4) = {1, 1, 0};
Point(5) = {0, 0, 1};
Point(6) = {1, 0, 1};
Point(7) = {0, 1, 1};
Point(8) = {1, 1, 1};
Line(1) = {1, 2};
Line(2) = {3, 4};
Line(3) = {1, 3};
Line(4) = {2, 4};
Line(5) = {5, 6};
Line(6) = {7, 8};
Line(7) = {5, 7};
Line(8) = {6, 8};
Line(9) = {1, 5};
Line(10) = {2, 6};
Line(11) = {3, 7};
Line(12) = {4, 8};
Line Loop(13) = {1, 4, -2, -3};
Plane Surface(14) = {13};
Line Loop(15) = {5, 8, -6, -7};
Plane Surface(16) = {15};
Line Loop(17) = {1, 10, -5, -9};
Plane Surface(18) = {17};
Line Loop(19) = {2, 12, -6, -11};
Plane Surface(20) = {19};
Line Loop(21) = {3, 11, -7, -9};
Plane Surface(22) = {21};
Line Loop(23) = {4, 12, -8, -10};
Plane Surface(24) = {23};
Surface Loop(25) = {14, 18, 24, 20, 16, 22};
Volume(26) = {25};
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: gmsh
Source-Version: 2.5.1~beta1~svn9559~dfsg-1
We believe that the bug you reported is fixed in the latest version of
gmsh, which is due to be installed in the Debian FTP archive:
gmsh_2.5.1~beta1~svn9559~dfsg-1.debian.tar.gz
to main/g/gmsh/gmsh_2.5.1~beta1~svn9559~dfsg-1.debian.tar.gz
gmsh_2.5.1~beta1~svn9559~dfsg-1.dsc
to main/g/gmsh/gmsh_2.5.1~beta1~svn9559~dfsg-1.dsc
gmsh_2.5.1~beta1~svn9559~dfsg-1_i386.deb
to main/g/gmsh/gmsh_2.5.1~beta1~svn9559~dfsg-1_i386.deb
gmsh_2.5.1~beta1~svn9559~dfsg.orig.tar.bz2
to main/g/gmsh/gmsh_2.5.1~beta1~svn9559~dfsg.orig.tar.bz2
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anton Gladky <[email protected]> (supplier of updated gmsh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 06 Jul 2011 20:10:06 +0200
Source: gmsh
Binary: gmsh
Architecture: source i386
Version: 2.5.1~beta1~svn9559~dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Anton Gladky <[email protected]>
Description:
gmsh - Three-dimensional finite element mesh generator
Closes: 607875 613568
Changes:
gmsh (2.5.1~beta1~svn9559~dfsg-1) unstable; urgency=low
.
* [7a54011] Imported Upstream version 2.5.1~beta1~svn9559~dfsg:
- fixed segmentation fault when creating 3d mesh (Closes: #607875)
- gmsh returns a non-zero exit code, if an error appears during work
(Closes: #613568)
* [c176e62] Update some patches (small changes).
Checksums-Sha1:
5e53c3a5733310f5565b745a86e21e9e8a8a9c03 2544
gmsh_2.5.1~beta1~svn9559~dfsg-1.dsc
c73c045063c951dcad1696d8e2136f48fc337cea 3171485
gmsh_2.5.1~beta1~svn9559~dfsg.orig.tar.bz2
11c8383116cb74e3471fdca8250cc8cfd48883a0 14855
gmsh_2.5.1~beta1~svn9559~dfsg-1.debian.tar.gz
f91716d0460458b49fb4c9238e38798d33ae52e9 15141422
gmsh_2.5.1~beta1~svn9559~dfsg-1_i386.deb
Checksums-Sha256:
d366cb11c751487a3b22cf7faa34fcb92d99234df775f8d0cd886165f7810951 2544
gmsh_2.5.1~beta1~svn9559~dfsg-1.dsc
99f5ff3147ca628fff9e09690d9de204b9b2d7073cab4e40e3ff2456f0884c5a 3171485
gmsh_2.5.1~beta1~svn9559~dfsg.orig.tar.bz2
5068be40b878ac8afa9dbf8e7da3491d8cbebc3358c8f25fac3bb6383a08568a 14855
gmsh_2.5.1~beta1~svn9559~dfsg-1.debian.tar.gz
fc0350ec901907c762196c536ecd5656b179048f1fdb850f3a4c43d801b83a30 15141422
gmsh_2.5.1~beta1~svn9559~dfsg-1_i386.deb
Files:
16ff8e719796f2cc3304f1003e6357b1 2544 math optional
gmsh_2.5.1~beta1~svn9559~dfsg-1.dsc
b1925f51a4e88f7f6b04f859c5ed6fb9 3171485 math optional
gmsh_2.5.1~beta1~svn9559~dfsg.orig.tar.bz2
79a47e485844e2c49b4dec70013b9542 14855 math optional
gmsh_2.5.1~beta1~svn9559~dfsg-1.debian.tar.gz
098323171ad43e1a23a167a90c54997b 15141422 math optional
gmsh_2.5.1~beta1~svn9559~dfsg-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJOFMTAAAoJENPhc4PPp/8GpVYP/2Dlm4nmRg8VaLHJ8aUxK50j
+9JG8RN9KZRhyBT6tGlfDSlkMZiJ8wVhbUqFZfs5jGdiH+JpDgTN7ecDf2ypx8S7
IZMlINBjq/KvLwH7CmB87p18fopZp7Whrl74vcOD59UN/RAeuW8/Xy59FDByYfaS
EbAlO6tc1OJXtEqKYTNkzDQ708TJjM1MQVrFA56JAcA5OTbHokYuROu5ZoYeDHA4
Q8tqBcP7C3FHveh5a0Um6LuHgs43aqwTP8JiuhMwC6q43zCQ5K1KDOBsO3mavjWv
7VBrQDYqGcrZK0wGMH9ffOH9KMn0tmdsQCBPZynPQXUEK/zmvG/OM2sjzx4V/FL9
bztnCDMBcR9j9eRcJpmlNcSHB1JlhLWSO8BG6jyrHGXuhFbZIr9T4kgUNsuraYV0
+LoZ9lN6/3BXdAXXaWGfKi8VX3iwYf3OmZO/SkGLwSfo9UubAszazZduPxZmtbDb
l59arDt6qxOtjYvT0jT0XVrXUEm5CP8S2xtRb0sbJY7ixUqlkoSVq7QLvkFWLAP/
2ZAm010t7vYVapCE/LJeGXDINDXjyXSaUtZNFt9ItNTUQh6gBeeB6+AA6wMS6KYb
FTM95awUH9QdVatywaOAJ2dlzFnar2RUe/0bi8kFFkAtPHgwSMt598jwRtxrp3dy
sCjhL7sOV3gRUqBH6OVq
=Nceu
-----END PGP SIGNATURE-----
--- End Message ---