Forgive me if this is the wrong forum for this. I’m a little confused as to what the difference is between the two compilers. I’ve been writing CUDA FORTRAN code and so far I’ve just been testing it on a cluster which has pgfortran installed. Unfortunately not every machine has pgfortran installed whereas far more people I know how nvfortran installed, so I was wondering what the difference is and what I need to be careful of if I’m using one but not the other.
Can code written and compiled on one be compiled on the other? Or are they for different things and work completely differently? I haven’t really been able to find any clear answers in all the documentation I’ve read.