I wasn't able to build these sources on Linux with gcc and gfortran unless I replaced all shell echo "\#define with shell echo "#define. May be it's a bug?
The original error was:
config.h:2:1: error: stray ‘\’ in program
2 | \#define USE_REGEX
| ^
and
gfortran -c -O3 -fopenmp -fPIC -g -fdefault-real-8 -fdefault-double-8 polates1.f90
config.h:1:2:
1 | \#define USE_SPECTRAL 1
| 1
Error: Invalid character in name at (1)
I wasn't able to build these sources on Linux with gcc and gfortran unless I replaced all
shell echo "\#definewithshell echo "#define. May be it's a bug?The original error was:
and