Mozhgan K. Chimeh 4 rokov pred
rodič
commit
7be0af892d
62 zmenil súbory, kde vykonal 164 pridanie a 23 odobranie
  1. 2 0
      .gitignore
  2. 2 0
      hpc/miniprofiler/Dockerfile
  3. 3 3
      hpc/miniprofiler/English/C/jupyter_notebook/.ipynb_checkpoints/profiling-c-lab1-checkpoint.ipynb
  4. 2 0
      hpc/miniprofiler/English/C/source_code/lab1/Makefile
  5. 6 0
      hpc/miniprofiler/English/C/source_code/lab1/miniWeather_serial.cpp
  6. 2 0
      hpc/miniprofiler/English/C/source_code/lab2/Makefile
  7. 6 0
      hpc/miniprofiler/English/C/source_code/lab2/miniWeather_openacc.cpp
  8. 2 0
      hpc/miniprofiler/English/C/source_code/lab3/Makefile
  9. 6 0
      hpc/miniprofiler/English/C/source_code/lab3/miniWeather_openacc.cpp
  10. 2 0
      hpc/miniprofiler/English/C/source_code/lab4/Makefile
  11. 6 0
      hpc/miniprofiler/English/C/source_code/lab4/miniWeather_openacc.cpp
  12. 2 0
      hpc/miniprofiler/English/C/source_code/lab5/Makefile
  13. 6 0
      hpc/miniprofiler/English/C/source_code/lab5/miniWeather_openacc.cpp
  14. 2 0
      hpc/miniprofiler/English/C/source_code/solutions/Makefile
  15. 6 0
      hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc.cpp
  16. 6 0
      hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc_exr2.cpp
  17. 6 0
      hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc_exr3.cpp
  18. 6 0
      hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc_exr4.cpp
  19. 2 2
      hpc/miniprofiler/English/Fortran/jupyter_notebook/.ipynb_checkpoints/profiling-fortran-lab1-checkpoint.ipynb
  20. 1 0
      hpc/miniprofiler/English/Fortran/source_code/lab1/Makefile
  21. 6 0
      hpc/miniprofiler/English/Fortran/source_code/lab1/miniWeather_serial.f90
  22. BIN
      hpc/miniprofiler/English/Fortran/source_code/lab1/nvtx.mod
  23. 1 0
      hpc/miniprofiler/English/Fortran/source_code/lab2/Makefile
  24. 6 0
      hpc/miniprofiler/English/Fortran/source_code/lab2/miniWeather_openacc.f90
  25. BIN
      hpc/miniprofiler/English/Fortran/source_code/lab2/nvtx.mod
  26. 1 0
      hpc/miniprofiler/English/Fortran/source_code/lab3/Makefile
  27. 6 0
      hpc/miniprofiler/English/Fortran/source_code/lab3/miniWeather_openacc.f90
  28. BIN
      hpc/miniprofiler/English/Fortran/source_code/lab3/nvtx.mod
  29. 1 0
      hpc/miniprofiler/English/Fortran/source_code/lab4/Makefile
  30. 6 0
      hpc/miniprofiler/English/Fortran/source_code/lab4/miniWeather_openacc.f90
  31. BIN
      hpc/miniprofiler/English/Fortran/source_code/lab4/nvtx.mod
  32. 1 0
      hpc/miniprofiler/English/Fortran/source_code/lab5/Makefile
  33. 6 0
      hpc/miniprofiler/English/Fortran/source_code/lab5/miniWeather_openacc.f90
  34. BIN
      hpc/miniprofiler/English/Fortran/source_code/lab5/nvtx.mod
  35. 1 0
      hpc/miniprofiler/English/Fortran/source_code/solutions/Makefile
  36. 6 0
      hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc.f90
  37. 6 0
      hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr2.f90
  38. 6 0
      hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr3.f90
  39. 6 0
      hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr4.f90
  40. 6 0
      hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr5.f90
  41. BIN
      hpc/miniprofiler/English/Fortran/source_code/solutions/nvtx.mod
  42. 2 0
      hpc/miniprofiler/Singularity
  43. 1 0
      hpc/openacc/Dockerfile
  44. 1 1
      hpc/openacc/English/C/source_code/lab1/Makefile
  45. 1 1
      hpc/openacc/English/C/source_code/lab1/solutions/Makefile
  46. 1 1
      hpc/openacc/English/C/source_code/lab2/Makefile
  47. 1 1
      hpc/openacc/English/C/source_code/lab2/solutions/Makefile
  48. 1 1
      hpc/openacc/English/C/source_code/lab2/update/Makefile
  49. 1 1
      hpc/openacc/English/C/source_code/lab2/update/solution/Makefile
  50. 1 1
      hpc/openacc/English/C/source_code/lab3/Makefile
  51. 1 1
      hpc/openacc/English/C/source_code/lab3/solutions/collapse/Makefile
  52. 1 1
      hpc/openacc/English/C/source_code/lab3/solutions/tile/Makefile
  53. 1 1
      hpc/openacc/English/Fortran/source_code/lab1/Makefile
  54. 1 1
      hpc/openacc/English/Fortran/source_code/lab1/solutions/Makefile
  55. 1 1
      hpc/openacc/English/Fortran/source_code/lab2/Makefile
  56. 1 1
      hpc/openacc/English/Fortran/source_code/lab2/solutions/Makefile
  57. 1 1
      hpc/openacc/English/Fortran/source_code/lab2/update/Makefile
  58. 1 1
      hpc/openacc/English/Fortran/source_code/lab2/update/solution/Makefile
  59. 1 1
      hpc/openacc/English/Fortran/source_code/lab3/Makefile
  60. 1 1
      hpc/openacc/English/Fortran/source_code/lab3/solutions/collapse/Makefile
  61. 1 1
      hpc/openacc/English/Fortran/source_code/lab3/solutions/tile/Makefile
  62. 2 0
      hpc/openacc/Singularity

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+.ipynb_checkpoints
+*/.ipynb_checkpoints/*

+ 2 - 0
hpc/miniprofiler/Dockerfile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 # To build: $ sudo docker build -t miniprofiler:latest .
 # To run: $ sudo docker run --rm -it --gpus=all -p 8888:8888 miniprofiler:latest
 # Finally, open http://127.0.0.1:8888/

+ 3 - 3
hpc/miniprofiler/English/C/jupyter_notebook/.ipynb_checkpoints/profiling-c-lab1-checkpoint.ipynb

@@ -64,16 +64,16 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "Now, we can **profile** the serial code via Nsight Systems command line (see below example command):\n",
+    "Now, if we **profile** the serial code via Nsight Systems command line (see below example command) and download the report, we can investigate the serial code further.\n",
     "\n",
-    "`nsys profile -t nvtx --stats=true --force-overwrite true -o miniWeather_1 ./miniWeather1`"
+    "`nsys profile -t nvtx --stats=true --force-overwrite true -o miniWeather_1 ./miniWeather`"
    ]
   },
   {
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "We download the profiler output (`miniWeather_1.qdrep`) and open it via the Nsight Systems UI. From the timeline view, checkout the NVTX markers displays as part of threads. **Why are we using NVTX?** Please see the section on [Using NVIDIA Tools Extension (NVTX)](profiling-c.ipynb#Using-NVIDIA-Tools-Extension-(NVTX))\n",
+    "For the example command above, we download the profiler output (`miniWeather_1.qdrep`) and open it via the Nsight Systems UI. From the timeline view, checkout the NVTX markers displays as part of threads. **Why are we using NVTX?** Please see the section on [Using NVIDIA Tools Extension (NVTX)](profiling-c.ipynb#Using-NVIDIA-Tools-Extension-(NVTX))\n",
     "\n",
     "<img src=\"images/e1-nvtx_gui.png\">\n",
     "\n",

+ 2 - 0
hpc/miniprofiler/English/C/source_code/lab1/Makefile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 CC := pgc++
 CFLAGS := -O3 -w -ldl
 ACCFLAGS := -Minfo=accel

+ 6 - 0
hpc/miniprofiler/English/C/source_code/lab1/miniWeather_serial.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 2 - 0
hpc/miniprofiler/English/C/source_code/lab2/Makefile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 CC := pgc++
 CFLAGS := -O3 -w
 ACCFLAGS := -ta=tesla:managed -Minfo=accel

+ 6 - 0
hpc/miniprofiler/English/C/source_code/lab2/miniWeather_openacc.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 2 - 0
hpc/miniprofiler/English/C/source_code/lab3/Makefile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 CC := pgc++
 CFLAGS := -O3 -w
 ACCFLAGS := -ta=tesla:managed -Minfo=accel

+ 6 - 0
hpc/miniprofiler/English/C/source_code/lab3/miniWeather_openacc.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 2 - 0
hpc/miniprofiler/English/C/source_code/lab4/Makefile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 CC := pgc++
 CFLAGS := -O3 -w
 ACCFLAGS := -ta=tesla:managed -Minfo=accel

+ 6 - 0
hpc/miniprofiler/English/C/source_code/lab4/miniWeather_openacc.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 2 - 0
hpc/miniprofiler/English/C/source_code/lab5/Makefile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 CC := pgc++
 CFLAGS := -O3 -w
 ACCFLAGS := -ta=tesla:managed -Minfo=accel

+ 6 - 0
hpc/miniprofiler/English/C/source_code/lab5/miniWeather_openacc.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 2 - 0
hpc/miniprofiler/English/C/source_code/solutions/Makefile

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 CC := pgc++
 CFLAGS := -O3 -w
 ACCFLAGS := -ta=tesla:managed -Minfo=accel

+ 6 - 0
hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 6 - 0
hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc_exr2.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 6 - 0
hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc_exr3.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 6 - 0
hpc/miniprofiler/English/C/source_code/solutions/miniWeather_openacc_exr4.cpp

@@ -5,6 +5,12 @@
 // For documentation, please see the attached documentation in the "documentation" folder
 //////////////////////////////////////////////////////////////////////////////////////////
 
+/*
+** Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+**
+** Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+*/
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>

+ 2 - 2
hpc/miniprofiler/English/Fortran/jupyter_notebook/.ipynb_checkpoints/profiling-fortran-lab1-checkpoint.ipynb

@@ -64,7 +64,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "Now, we can **profile** the serial code via Nsight Systems command line (see below example command):\n",
+    "Now, if we **profile** the serial code via Nsight Systems command line (see below example command) and download the report, we can investigate the serial code further.\n",
     "\n",
     "`nsys profile -t nvtx --stats=true --force-overwrite true -o miniWeather_1 ./miniWeather`"
    ]
@@ -73,7 +73,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "We download the profiler output (`miniWeather_1.qdrep`) and open it via the Nsight Systems UI. From the timeline view, checkout the NVTX markers displays as part of threads. **Why are we using NVTX?** Please see the section on [Using NVIDIA Tools Extension (NVTX)](profiling-fortran.ipynb#Using-NVIDIA-Tools-Extension-(NVTX))\n",
+    "For the example command above, we download the profiler output (`miniWeather_1.qdrep`) and open it via the Nsight Systems UI. From the timeline view, checkout the NVTX markers displays as part of threads. **Why are we using NVTX?** Please see the section on [Using NVIDIA Tools Extension (NVTX)](profiling-fortran.ipynb#Using-NVIDIA-Tools-Extension-(NVTX))\n",
     "\n",
     "<img src=\"images/e1-nvtx_gui.png\">\n",
     "\n",

+ 1 - 0
hpc/miniprofiler/English/Fortran/source_code/lab1/Makefile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgf90
 FCC := pgfortran
 FFLAGS := -fast

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/lab1/miniWeather_serial.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

BIN
hpc/miniprofiler/English/Fortran/source_code/lab1/nvtx.mod


+ 1 - 0
hpc/miniprofiler/English/Fortran/source_code/lab2/Makefile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgf90
 FCC := pgfortran
 FFLAGS := -fast

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/lab2/miniWeather_openacc.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

BIN
hpc/miniprofiler/English/Fortran/source_code/lab2/nvtx.mod


+ 1 - 0
hpc/miniprofiler/English/Fortran/source_code/lab3/Makefile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgf90
 FCC := pgfortran
 FFLAGS := -fast

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/lab3/miniWeather_openacc.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

BIN
hpc/miniprofiler/English/Fortran/source_code/lab3/nvtx.mod


+ 1 - 0
hpc/miniprofiler/English/Fortran/source_code/lab4/Makefile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgf90
 FCC := pgfortran
 FFLAGS := -fast

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/lab4/miniWeather_openacc.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

BIN
hpc/miniprofiler/English/Fortran/source_code/lab4/nvtx.mod


+ 1 - 0
hpc/miniprofiler/English/Fortran/source_code/lab5/Makefile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgf90
 FFLAGS := -fast
 LDFLAGS := -lnvToolsExt 

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/lab5/miniWeather_openacc.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

BIN
hpc/miniprofiler/English/Fortran/source_code/lab5/nvtx.mod


+ 1 - 0
hpc/miniprofiler/English/Fortran/source_code/solutions/Makefile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgf90
 FCC := pgfortran
 FFLAGS := -fast

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr2.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr3.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr4.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

+ 6 - 0
hpc/miniprofiler/English/Fortran/source_code/solutions/miniWeather_openacc_exr5.f90

@@ -6,6 +6,12 @@
 !! For documentation, please see the attached documentation in the "documentation" folder
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+!! Copyright (c) 2018, National Center for Computational Sciences, Oak Ridge National Laboratory.  All rights reserved.
+!!
+!! Portions Copyright (c) 2020, NVIDIA Corporation.  All rights reserved.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 program miniweather
   use nvtx
   !implicit none

BIN
hpc/miniprofiler/English/Fortran/source_code/solutions/nvtx.mod


+ 2 - 0
hpc/miniprofiler/Singularity

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 Bootstrap: docker
 FROM: nvcr.io/hpc/pgi-compilers:ce
 

+ 1 - 0
hpc/openacc/Dockerfile

@@ -1,3 +1,4 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 
 # To build the docker container, run: $ sudo docker build -t openacc-labs:latest .
 # To run: $ sudo docker run --rm -it --gpus=all -p 8888:8888 openacc-labs:latest

+ 1 - 1
hpc/openacc/English/C/source_code/lab1/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS_1 := -fast
 ACCFLAGS_2 := -fast -ta=multicore -Minfo=accel

+ 1 - 1
hpc/openacc/English/C/source_code/lab1/solutions/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS_1 := -fast
 ACCFLAGS_2 := -fast -ta=multicore -Minfo=accel

+ 1 - 1
hpc/openacc/English/C/source_code/lab2/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/C/source_code/lab2/solutions/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/C/source_code/lab2/update/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/C/source_code/lab2/update/solution/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/C/source_code/lab3/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS:= -fast -ta=tesla -Minfo=accel
 

+ 1 - 1
hpc/openacc/English/C/source_code/lab3/solutions/collapse/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS:= -fast -ta=tesla -Minfo=accel
 

+ 1 - 1
hpc/openacc/English/C/source_code/lab3/solutions/tile/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 CC := pgcc
 ACCFLAGS:= -fast -ta=tesla -Minfo=accel
 

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab1/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS_1 := -fast
 ACCFLAGS_2 := -fast -ta=multicore -Minfo=accel

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab1/solutions/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS_1 := -fast
 ACCFLAGS_2 := -fast -ta=multicore -Minfo=accel

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab2/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab2/solutions/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab2/update/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab2/update/solution/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS_1 := -fast -ta=tesla -Minfo=accel
 ACCFLAGS_2 := -fast -ta=tesla:managed -Minfo=accel

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab3/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS:= -fast -ta=tesla -Minfo=accel
 

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab3/solutions/collapse/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS:= -fast -ta=tesla -Minfo=accel
 

+ 1 - 1
hpc/openacc/English/Fortran/source_code/lab3/solutions/tile/Makefile

@@ -1,4 +1,4 @@
-
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
 FC := pgfortran
 ACCFLAGS:= -fast -ta=tesla -Minfo=accel
 

+ 2 - 0
hpc/openacc/Singularity

@@ -1,3 +1,5 @@
+# Copyright (c) 2020 NVIDIA Corporation.  All rights reserved. 
+
 Bootstrap: docker
 From: nvcr.io/hpc/pgi-compilers:ce