In my experience, each time you update Xcode, you also have to update the 
Command Line Tools 
(https://developer.apple.com/downloads/index.action?=command%20line%20tools 
<https://developer.apple.com/downloads/index.action?=command%20line%20tools>), 
and reinstall everything again in the right order; in my case, I have to 
reinstall Fortran, MPI, HDF5 and PETSc. When one doesn't do it in the right 
order, it appears problems like what you reported.

Santiago

> On 29 Mar 2017, at 07:26, Denis Davydov <[email protected]> wrote:
> 
> Thanks Barry, I can confirm that an adaptation of your patch to 3.7.5 allows 
> to compile PETSc.
> 
> Regads,
> Denis.
> 
> 
>> On 29 Mar 2017, at 06:23, Barry Smith <[email protected]> wrote:
>> 
>> 
>> I have added the commit 
>> https://bitbucket.org/petsc/petsc/commits/4f290403fdd060d09d5cb07345cbfd52670e3cbc
>>   to the maint, master and next branch that allows ./configure to to go 
>> through in this situation.  If the change does not break other tests it will 
>> be included in the next patch release.
>> 
>>  Thanks for reporting the problem,
>> 
>>    Barry
>> 
>> This patch does not directly deal with the problem (which i don't understand 
>> but seems to be an Apple Xcode problem) but works around the problem on my 
>> machine.
> 

Reply via email to