Ignoring OpenMP and OpenACC Directives

Miscellaneous discussion topics about Code_Saturne (development, ...)
Post Reply
msgsvc
Posts: 16
Joined: Mon Mar 07, 2016 2:34 am

Ignoring OpenMP and OpenACC Directives

Post 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
Attachments
install_saturne.log
(1.36 MiB) Downloaded 401 times
Yvan Fournier
Posts: 4168
Joined: Mon Feb 20, 2012 3:25 pm

Re: Ignoring OpenMP and OpenACC Directives

Post 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
Post Reply