[petsc-users] v3.9.3 config problem
Smith, Barry F.
bsmith at mcs.anl.gov
Sun Aug 19 21:05:08 CDT 2018
I can reproduce the problem so don't bother wiping anything just yet. My compiler gives more useful messages:
s/src/ex_create_par.c:388:16: error: use of undeclared identifier 'netcdf4_mode'; did you mean 'netcdf5_mode'?
nc_mode |= netcdf4_mode;
^~~~~~~~~~~~
netcdf5_mode
So it appears that the exodusii version used requires a more recent version of netcdf but why didn't our testing detect this????
> On Aug 19, 2018, at 9:01 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
>
> Should I try wiping out the externalpackages directory as well as $PETSC_ARCH?
>
> - Adrian
>
> On 20/08/18 14:00, Smith, Barry F. wrote:
>> Trying to reproduce it now but I'm pretty sure we've tested it.
>>
>> Do you have some old files lying around that might be causing the problem?
>>
>> /home/acro018/software/PETSc/code/linux-gnu-c-opt/externalpackages/git.exodusii/packages/seacas/libraries/exodus/src/ex_create_par.c:375:9: error: 'netcdf4_mode' undeclared (first use in this function)
>> if (netcdf4_mode == -1) {
>>
>> Maybe externalpackages has downloads from a previous build still located that don't work with the latest exodusii?
>>
>>
>> Barry
>>
>>
>>
>>
>>> On Aug 19, 2018, at 8:51 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
>>>
>>> hi
>>>
>>> I just pulled the latest PETSc master branch (v3.9.3) but am having trouble building it. It's been running fine on v3.8.4.
>>>
>>> I deleted my $PETSC_ARCH directory and tried to configure. But it seems to be falling over when trying to build Exodus. I've attached the configure.log.
>>>
>>> Any ideas?
>>>
>>> - Adrian
>>>
>>> --
>>> Dr Adrian Croucher
>>> Senior Research Fellow
>>> Department of Engineering Science
>>> University of Auckland, New Zealand
>>> email: a.croucher at auckland.ac.nz
>>> tel: +64 (0)9 923 4611
>>>
>>> <configure.log>
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 4611
>
More information about the petsc-users
mailing list