Mozhgan K. Chimeh преди 4 години
родител
ревизия
4332d773f8

+ 3 - 3
hpc/miniprofiler/English/C/jupyter_notebook/profiling-c-lab1.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",

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

@@ -1,5 +1,5 @@
 CC := pgc++
-CFLAGS := -O3 -w
+CFLAGS := -O3 -w -ldl
 ACCFLAGS := -Minfo=accel
 NVTXLIB := -I/opt/pgi/linux86-64-llvm/2019/cuda/10.1/include/
 

+ 2 - 2
hpc/miniprofiler/English/Fortran/jupyter_notebook/profiling-fortran-lab1.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",