[Gmsh] GMSH and MED compilation in Linux-like environment in Windows

Christophe Geuzaine cgeuzaine at uliege.be
Mon Jan 22 12:55:43 CET 2018



> On 22 Jan 2018, at 11:02, Christophe Trophime <christophe.trophime at lncmi.cnrs.fr> wrote:
> 
> Hi Christophe,
> could you comment about the patches that are required for med in gmsh?
> Are they backport to more recent med release to your knowledge?
> 

I have no idea... I should probably try with the latest stable release of MED and see if/where patches are needed for our build machines. I always have trouble finding the latest release of MED online: can you point us to the archive?

CG

> Best
> C
> 
> Christophe TROPHIME 
> Research Engineer 
> 
> CNRS - LNCMI 
> 25, rue des Martyrs 
> BP 166 
> 38042 GRENOBLE Cedex 9 
> FRANCE 
> 
> Tel : +33 (0)4 76 88 90 02 
> Fax : +33 (0) 4 76 88 10 01 
> Office U 19 
> M at il : christophe.trophime at lncmi.cnrs.fr
> 
> ----- Original Message -----
>> From: "Christophe Geuzaine" <cgeuzaine at uliege.be>
>> To: "jean-pierre ducreux" <themis.r25 at gmail.com>
>> Cc: gmsh at onelab.info
>> Sent: Sunday, January 21, 2018 8:20:15 PM
>> Subject: Re: [Gmsh] GMSH and MED compilation in Linux-like environment in Windows
> 
>> Hi Jean-Pierre,
>> 
>> I've put a copy of the sources we use for the current Windows64 build over here:
>> 
>> http://gmsh.info/beta/med-3.2.0_patched_for_gmsh.tgz
>> 
>> Hope this helps,
>> 
>> CG
>> 
>>> On 8 Jan 2018, at 15:19, jean-pierre ducreux <themis.r25 at gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> I've found in a previous mail from Pierre Julliard (September 2015) almost the
>>> question I'm facing today. I quote :
>>> 
>>> "I have heard that windows version of GMSH is compiled in Cygwin.
>>> If that is true, and knowing that GMSH is interfaced with MED library
>>> to read MED files, I would like to know how MED library is obtained to
>>> compile GMSH in Cygwin?
>>> 
>>> I guess MED sources are compiled first in a Cygwin environement.
>>> As I am actually trying to do so without success, I would like to know
>>> if MED sources have to be modified?
>>> 
>>> If so, please, could someone indicate me where I could find the
>>> modified MED sources to be able to compile it in a Cygwin environment?
>>> 
>>> ..."
>>> 
>>> 
>>> Christophe answered :
>>> "
>>> The official Gmsh version for Windows is compiled with the MinGW compiler
>>> toolchain (gcc 4.5.3), using a Cygwin shell. I don't quite remember what I had
>>> to modify in MED to make it compile... I've put the full archive of the sources
>>> I used here: http://geuz.org/gmsh/beta/med-3.0.6_gmsh_win64.tgz"
>>> 
>>> Unfortunately the link is broken.
>>> 
>>> I will use MSYS2 environment with mingw insted of cygwin. I guess that
>>> compilation
>>> options will be fairly the same. Any help to obtain MED library with mingw will
>>> be greatly appreciated.
>>> 
>>> I thank you in advance for your help.
>>> Best regards,
>>> 
>>> Jean - Pierre
>>> 
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at onelab.info
>>> http://onelab.info/mailman/listinfo/gmsh
>> 
>> --
>> Prof. Christophe Geuzaine
>> University of Liege, Electrical Engineering and Computer Science
>> http://www.montefiore.ulg.ac.be/~geuzaine
>> 
>> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
>> 
>> 
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list