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 <[email protected]> wrote:

> Mark Adams <[email protected]> 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.
>

Reply via email to