Hi all,

The problem is solved by doing

brew install hdf5
brew install netcdf

then inside the Firedrake virtualenv,

pip install netcdf4
python3 ~/firedrake/bin/firedrake-update --install gusto

Now I pass all the tests on gusto, but still get thousands of warnings. Most of them are:

/Users/hiroe/firedrake/src/ufl/ufl/corealg/multifunction.py:31: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  insp = getargspec(function)

/Users/hiroe/firedrake/src/COFFEE/coffee/visitor.py:47: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  argspec = inspect.getargspec(meth)

I attached the full error message. Do you know how to get rid of these?

All the best,
Hiroe



> On 26 Sep 2018, at 19:04, Lawrence Mitchell <wence@gmx.li> wrote:
>
>
>> On 26 Sep 2018, at 18:02, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
>>
>> Hi Hiroe,
>>   Sorry, we should put some more detailed installation instructions on the Gusto website. This is an extra dependency of Gusto but not of Firedrake.
>> You need to type
>> pip install netCDF4
>>
>> when inside the Firedrake virtualenv.
>>
>> all the best
>> --Colin
>> From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Yamazaki, Hiroe <h.yamazaki@imperial.ac.uk>
>> Sent: 26 September 2018 17:57:14
>> To: firedrake
>> Subject: Re: [firedrake] Installation on macOS Sierra
>>
>> Hi David,
>>
>> That’s a good news. However I still fail the tests on gusto on the same mac which is a problem.
>> I installed gusto using
>>
>> python3 ~/firedrake/bin/firedrake-update --install gusto
>>
>> and it gave some errors (firedrake-update.log attached). I also attached the error messages from the tests on gusto
>> It look like the problem is related to netCDF but I am not sure how to fix it.
>>
>> All the best,
>> Hiroe
>
>
> Looking at the update log, it looks like the netCDF4 requirement was correctly picked up, but it failed to install.  It looks like this was because there wasn't a wheel available and so it attempted to build from source and couldn't find netcdf and hdf5.  I suppose this means we need to build netcdf like we do h5py, but that is painful.
>
> Lawrence
> _______________________________________________
> firedrake mailing list
> firedrake@imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/firedrake