Hi Xiaohui,

On Tue, Oct 7, 2014 at 4:46 PM, Yu, Xiaohui <[email protected]> wrote:
> Do you have the fenics( >= 1.1.0 ) binary version for window? If you have, 
> could you please send me one copy?

We only have the old 1.0.0 binary for Windows.

> If not, do you have the instruction document about how to build fenics on 
> Cygwin?

You can use HashDist [1] to build FEniCS on Windows with Cygwin. This
is currently not documented on the FEniCS web page, but I can describe
the process here.

First download HashDist and Hashstack, and add the 'hit' tool to PATH:

  git clone https://github.com/hashdist/hashdist.git
  git clone https://github.com/hashdist/hashstack.git
  export PATH=$PWD/hashdist/bin:$PATH

Then you need to create a profile with the packages you want to build.
There is a pull request [2] with some example profiles for building
FEniCS. A good starting point for you will be the fenics.Cygwin.yaml
profile [3]. Place this file in the hashstack folder and modify it for
your needs. By default, you will get a fairly recent development
version of FEniCS. If you want to build 1.4.0, take a look at [4] and
modify fenics.Cygwin.yaml accordingly.

Note that it is assumed that some Cygwin binary packages are installed
before building FEniCS with HashDist. This is currently not
documented, but from the top of my head, this includes python, cmake,
blas, lapack, openmpi, swig and pkg-config.

When the profile looks okay, start building by running the following
command in the hashstack directory:

  hit build fenics.Cygwin.yaml

Let us know how it works for you.

[1] https://hashdist.github.io/
[2] https://github.com/hashdist/hashstack/pull/466
[3] 
https://raw.githubusercontent.com/hashdist/hashstack/johannr/fenics-examples/examples/fenics.Cygwin.yaml
[4] 
https://github.com/hashdist/hashstack/blob/johannr/fenics-examples/examples/fenics-1.4.0.rhel6.yaml

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to