[petsc-users] make all error

Mark Adams mfadams at lbl.gov
Fri Aug 17 02:48:48 CDT 2018


Oh damn, I was building GNU and forgot to switch my script back to Intel.
Thanks,

On Thu, Aug 16, 2018 at 11:56 PM Jed Brown <jed at jedbrown.org> wrote:

> Mark Adams <mfadams at lbl.gov> writes:
>
> > I am trying to build v3.7.5 and I am getting a funny make error. I did
> > remove the arch directory before I configured. Configure seemed fine but
> > make all is very messed up.
>
> It looks like PETSC_RESTRICT (which will correspond to PETSC_C_RESTRICT
> when using the C compiler; it's defined to "restrict") worked during
> configure, but not during the Make.  Are you sure nothing in the
> environment or paths changed?  You could try editing petscconf.h to
>
>   #define PETSC_C_RESTRICT __restrict__
>
> in hopes that the compiler will understand that instead of the proper C99
> name.
>
>
> But you're using GCC while passing options to configure that don't make
> sense.  I don't know why configure is discarding those flags and
> carrying on.  You probably want gcc-style syntax, -ffp-model=fast (this
> is the default with GCC, but not with Clang), -fopenmp-simd, etc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180817/a8a2ffdf/attachment.html>


More information about the petsc-users mailing list