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
Ignoring OpenMP and OpenACC Directives
Ignoring OpenMP and OpenACC Directives
- Attachments
-
- install_saturne.log
- (1.36 MiB) Downloaded 401 times
-
- Posts: 4168
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Ignoring OpenMP and OpenACC Directives
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
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