Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-24 Thread Kong, Fande
Thanks, Blaise and Matt, I possibly mess up the brew installation somehow. I will clean up everything and start over, and report back. Fande, On Tue, Jan 24, 2017 at 9:26 AM, Matthew Knepley wrote: > Thanks! > >Matt > > On Tue, Jan 24, 2017 at 8:57 AM, Blaise A Bourdin

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-24 Thread Matthew Knepley
Thanks! Matt On Tue, Jan 24, 2017 at 8:57 AM, Blaise A Bourdin wrote: > Hi, > > I was able to build petsc master with home-brew gcc 6.3 and intel 17.0 > under macOS sierra. As Mark said, it is important to reinstall the entire > home-brew compiler + libs after upgrading

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-24 Thread Blaise A Bourdin
Hi, I was able to build petsc master with home-brew gcc 6.3 and intel 17.0 under macOS sierra. As Mark said, it is important to reinstall the entire home-brew compiler + libs after upgrading macOS (and often Xcode). I am able to read / write exodus files. I am attaching my configure command

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-23 Thread Mark Adams
And I trust you updated all system software (like gcc, NetCDF and ExodusII). OSX upgrades are hell. On Mon, Jan 23, 2017 at 12:36 AM, Matthew Knepley wrote: > On Sun, Jan 22, 2017 at 11:18 PM, Fande Kong wrote: > >> Thanks, Matt, >> >> Clang does not

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Matthew Knepley
On Sun, Jan 22, 2017 at 11:18 PM, Fande Kong wrote: > Thanks, Matt, > > Clang does not have this issue. The code runs fine with clang. > Okay, it sounds like a gcc bug on Mac 10.6, or at least in the version you have. Matt > Fande, > > On Sun, Jan 22, 2017 at 8:03 PM,

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Fande Kong
Thanks, Matt, Clang does not have this issue. The code runs fine with clang. Fande, On Sun, Jan 22, 2017 at 8:03 PM, Matthew Knepley wrote: > On Sun, Jan 22, 2017 at 8:40 PM, Fande Kong wrote: > >> Thanks, Matt. >> >> It is a weird bug. >> >> Do we

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Matthew Knepley
On Sun, Jan 22, 2017 at 8:40 PM, Fande Kong wrote: > Thanks, Matt. > > It is a weird bug. > > Do we have an alternative solution to this? I was wondering whether it is > possible to read the ".exo" files without using the ExodusII. For example, > can we read the ".exo" files

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Fande Kong
Thanks, Matt. It is a weird bug. Do we have an alternative solution to this? I was wondering whether it is possible to read the ".exo" files without using the ExodusII. For example, can we read the ".exo" files using the netcdf only? Fande Kong, On Sun, Jan 22, 2017 at 6:50 PM, Matthew

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Matthew Knepley
On Sun, Jan 22, 2017 at 5:28 PM, Fande Kong wrote: > On Sun, Jan 22, 2017 at 12:35 PM, Matthew Knepley > wrote: > >> On Sun, Jan 22, 2017 at 12:41 PM, Fande Kong wrote: >> >>> On Sat, Jan 21, 2017 at 10:47 PM, Matthew Knepley

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Matthew Knepley
On Sun, Jan 22, 2017 at 12:41 PM, Fande Kong wrote: > On Sat, Jan 21, 2017 at 10:47 PM, Matthew Knepley > wrote: > >> On Sat, Jan 21, 2017 at 10:38 PM, Fande Kong wrote: >> >>> Hi All, >>> >>> I upgraded the OS system to macOS

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-22 Thread Fande Kong
On Sat, Jan 21, 2017 at 10:47 PM, Matthew Knepley wrote: > On Sat, Jan 21, 2017 at 10:38 PM, Fande Kong wrote: > >> Hi All, >> >> I upgraded the OS system to macOS Sierra, and observed that PETSc can not >> read the exodus file any more. The same code

Re: [petsc-users] DMPlexCreateExodusFromFile() does not work on macOS Sierra

2017-01-21 Thread Matthew Knepley
On Sat, Jan 21, 2017 at 10:38 PM, Fande Kong wrote: > Hi All, > > I upgraded the OS system to macOS Sierra, and observed that PETSc can not > read the exodus file any more. The same code runs fine on macOS Capitan. I > also tested the function DMPlexCreateExodusFromFile()