From 7ed9c321a523443c0f855c8504a95176032a92e2 Mon Sep 17 00:00:00 2001
From: Anna Wellmann <a.wellmann@tu-bs.de>
Date: Tue, 23 Nov 2021 14:40:58 +0100
Subject: [PATCH] Add comment on how to profle on Phoenix

---
 apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt b/apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt
index 18c16abe1..b33d3d621 100644
--- a/apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt
+++ b/apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt
@@ -1,5 +1,8 @@
 # Phoenix
 # mpirun -np 2 "./VirtualFluids_dev/build/bin/SphereScaling" "./VirtualFluids_dev/apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt"
+# Profiling Phoenix
+# nsys profile --trace=cuda,mpi --mpi-impl=mpich --output=./nsysprofiles/nsys.sphereScaling.np2 --force-overwrite=true mpirun -np 2 "./VirtualFluids_dev/build/bin/SphereScaling" "./VirtualFluids_dev/apps/gpu/LBM/SphereScaling/configPhoenix2GPU.txt"
+
 ##################################################
 #GPU Mapping
 ##################################################
@@ -34,5 +37,5 @@ GridPath=/work/y0078217/Grids/GridSphereScaling/SphereScaling2GPU/
 #simulation parameter
 ##################################################
 TimeEnd=100000
-TimeOut=100000 
+TimeOut=100000
 #TimeStartOut=0
\ No newline at end of file
-- 
GitLab