"This is interesting — it’s also the first time I’ve come across the use of an include statement in this context.
nvfortran -stdpar=gpu -gpu=cc61 -gpu=mem:managed main.f90 -o main.out
./main.out
Program executed successfully. First element p(1,1): 0.9079230
Single command: The other interesting part is that a single command is enough to build and run the whole program — no separate compilation step needed."