I haven't been able to work out which gcc version I use, but I think you're correct that it's an old version.
Could you advise me on how to direct the code to compile with the correct version of gcc? I attempted to do so by changing the CC flag in my configuration file but that didn't seem to do anything: the program compiled with gcc even when I changed the CC flag to a random word.
Many thanks,
Lucy
On 2016-09-11 3:48 pm, Frank Loeffler wrote:
On Fri, Sep 09, 2016 at 04:58:43PM +0200, L.S. Oswald wrote:
error: expected ‘#pragma omp’ clause before ‘collapse’
Which version of gcc (c compiler) do you use? Your option list mentions only 'gcc'. Gcc older than 4.4 doens't support openMP 3.0, of which collapse is part of.
Since you seem to use gfortran-4.6, chances are, gcc-4.6 is installed too.
Frank