pgi on Linux and MacOSX

Sorry a well-known basics that I have not clear.
Code compiled on a Linux machine can run on a Mac OSX , i.e. portability just relates to hardware (-tp) or other issues are involved?

Hi Alb,

No,unfortuantely there are enough differences between Linux and Mac OSX that a binary build on one OS will not run on another. The “-tp” flag specifies the target processor not the target OS.

  • Mat