Hi all,
I have a linux pgfortran compiler. I wish to generate an executable which could run on other architecture/operating system (such as windows).
Is such a feature exist? and if this is possible, how it is done?
Thanks.
Hi galanti,
Unfortunately, this is not possible with the current PGI compiler suite.
You can compile a single Linux binary to run on different processor variants (e.g. AMD with FMA4, Intel without) via the -tp flag, e.g.
-tp piledriver,sandybridge,p7-64
But it is not possible to compile a single binary for different operating systems.
Hope this helps,
+chris
Hi Chris
Thanks for your help.
A related question: Is there a way to check performance of an executable
created by pgfortran by the nvidia performance tool “nsight”?
Thanks again,
Barak