[petsc-users] C++ compilation error
Balay, Satish
balay at mcs.anl.gov
Sun Jan 13 14:07:58 CST 2019
Presumably PETSc is buit with intel compilers - but somehow gcc/g++ is
getting used via your makefile.
Do you get this error when you use PETSc example with a petsc
makefile? Perhaps you need to format your makefile using petsc
makefile format. For ex: check
src/tao/leastsquares/examples/tutorials/makefile
Satish
On Sun, 13 Jan 2019, Choudhary, Devyani D via petsc-users wrote:
> Hi,
>
>
> I am trying to make a simple hello world script using a makefile that includes petsc, and am getting the error
>
> "g++: error: unrecognized command line option ‘-wd1572’"
>
> I am not sure how to fix it.
>
> Please let me know if you have some ideas on how to fix this.
>
>
> Thank you
>
More information about the petsc-users
mailing list