On Wed, Dec 10, 2014 at 11:44 AM, Marco Morandini
<[email protected]> wrote:
> On 12/06/2014 01:58 PM, Anders Logg wrote:
>>
>> Dear all,
>>
>> Johannes and I have created an experimental "one-click" installation of
>> FEniCS based on HashDist.
>>
>
> The build went smooth on an Opensuse 13.2 box, gcc 4.9.2

Good!

> The question is: where we have to look in order to customize the build?
> For example, in dorsal I had to
>
> - build atlas
> - patch metis
> - build suitesparse with metis support (this requires a patch)
> - make sure that hdf5 was built with CXX=mpicxx, and that both h5pcc and
> h5cc are installed
>
> ...
>
> In dorsal it was easy (rough patch attached), and one could save his work
> using git.
>
> What is the equivalent workflow with HashDist ?

That would be something like this:

Install hashdist:

  sudo pip install hashdist

Download hashstack

  git clone https://github.com/hashdist/hashstack.git
  cd hashstack

Make a profile with the stack you want to build. See some of the
FEniCS example profiles in the "examples" folder. For instance

  cp examples/fenics-dev.debian.yaml default.yaml

Then build your profile with "hit build".

> Also, I would rather avoid building python. Is this possible?

Yes, use

  python:
    host: true

in your profile.

> suse.yaml, just like debian.yaml, seems to force the use of the system
> mpicc.
> How can we use a custom-built mpi? And check that we are using the version
> we want?

See for instance examples/fenics.abel.gnu.yaml in hashstack.

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

Reply via email to