Page 1 of 1

Ignoring OpenMP and OpenACC Directives

Posted: Tue Apr 12, 2016 3:16 am
by msgsvc
Hi everyone,

Using the automatic installer (but I replace OpenMP with OpenACC in all C files in /src/alge/), after a first installation, I find many directives(include OpenMP and OpenACC) are ignored. So I check the no-revising automatic installer log, I also find many OpenMp directives are ignored. I need to use the directives to accelerate the computation, why this happened? I give the revising automatic installer log for attachment. 3x.

best regards,

Jackie

Re: Ignoring OpenMP and OpenACC Directives

Posted: Tue Apr 12, 2016 9:51 pm
by Yvan Fournier
Hello,

You might need to adjust some PGI compiler flags. Either modify config/cs_auto_flags.sh in the code sources or use the CFLAGS environment variable when using the configure for the low-level (not automatic) installer...

I don't have acess to the PGI compiler, so I'll let you experiment, but I am interested in feed back/patches.

Regards,

Yvan