Building omp version issue

When trying to run ‘make omp’ the following error arises:

g++: unrecognized command line option ‘-restrict’; did you mean ‘-Wrestrict’

OpenMPI is installed.
Serial version builds without errors.

Hi Dima, “-restrict” is a flag of the Intel compiler (icpc), not of g++

It looks like the flag was added in this modification:

You may want to submit an issue here:

to ask that the flag is removed, or a comment is added to Makefile.omp stating that it’s specific for Intel.