From 33c111236eb5e339d68826885c7c8e35a613e7ea Mon Sep 17 00:00:00 2001 From: Anna Wellmann <a.wellmann@tu-bs.de> Date: Tue, 7 Dec 2021 09:52:56 +0100 Subject: [PATCH] Add more config files for scaling --- apps/gpu/LBM/SphereScaling/SphereScaling.cpp | 2 +- .../configPhoenix1GPU_1LevStrongStream.txt | 42 +++++++++++++++++++ .../configPhoenix8GPU_1LevStrongStream.txt | 4 +- .../configPhoenix4GPU_2LevStrongStream.txt | 42 +++++++++++++++++++ .../configPhoenix8GPU_2LevWeakStream.txt | 4 +- 5 files changed, 89 insertions(+), 5 deletions(-) create mode 100644 apps/gpu/LBM/SphereScaling/configPhoenix1GPU_1LevStrongStream.txt create mode 100644 apps/gpu/LBM/SphereScaling1/configPhoenix4GPU_2LevStrongStream.txt diff --git a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp index 65c3f0ce2..b0ead7181 100644 --- a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp +++ b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp @@ -120,7 +120,7 @@ void multipleLevel(const std::string& configPath) bool useGridGenerator = true; bool useLevels = false; - std::string scalingType = "weak"; // "strong" // "weak" + std::string scalingType = "strong"; // "strong" // "weak" // bool useStreams = true; // para->useReducedCommunicationAfterFtoC = true; bool useStreams = para->getUseStreams(); diff --git a/apps/gpu/LBM/SphereScaling/configPhoenix1GPU_1LevStrongStream.txt b/apps/gpu/LBM/SphereScaling/configPhoenix1GPU_1LevStrongStream.txt new file mode 100644 index 000000000..b467cb84c --- /dev/null +++ b/apps/gpu/LBM/SphereScaling/configPhoenix1GPU_1LevStrongStream.txt @@ -0,0 +1,42 @@ +################################################## +#GPU Mapping +################################################## +Devices="0 1 2 3" +NumberOfDevices=1 + +################################################## +#informations for Writing +################################################## +Path=/work/y0078217/Results/SphereScalingResults/1GPU/ +#Path="F:/Work/Computations/out/SphereScaling/" +#Prefix="SphereScaling" +#WriteGrid=true +################################################## +#informations for reading +################################################## +GridPath=/work/y0078217/Grids/GridSphereScaling/SphereScaling1GPU/ +#GridPath="C:" + +################################################## +#number of grid levels +################################################## +#NOGL=1 + +################################################## +#LBM Version +################################################## +#D3Qxx=27 +#MainKernelName=CumulantK17CompChim + +################################################## +#simulation parameter +################################################## +TimeEnd=100000 +TimeOut=100000 +#TimeStartOut=0 + +################################################## +# CUDA Streams and optimized communication (only used for multiple GPUs) +################################################## +useStreams = true +useReducedCommunicationInInterpolation = true \ No newline at end of file diff --git a/apps/gpu/LBM/SphereScaling/configPhoenix8GPU_1LevStrongStream.txt b/apps/gpu/LBM/SphereScaling/configPhoenix8GPU_1LevStrongStream.txt index 85dc351c9..40c8b9d37 100644 --- a/apps/gpu/LBM/SphereScaling/configPhoenix8GPU_1LevStrongStream.txt +++ b/apps/gpu/LBM/SphereScaling/configPhoenix8GPU_1LevStrongStream.txt @@ -31,8 +31,8 @@ GridPath=/work/y0078217/Grids/GridSphereScaling/SphereScaling8GPU/ ################################################## #simulation parameter ################################################## -TimeEnd=100 -TimeOut=100 +TimeEnd=100000 +TimeOut=100000 #TimeStartOut=0 ################################################## diff --git a/apps/gpu/LBM/SphereScaling1/configPhoenix4GPU_2LevStrongStream.txt b/apps/gpu/LBM/SphereScaling1/configPhoenix4GPU_2LevStrongStream.txt new file mode 100644 index 000000000..8ec0c6c69 --- /dev/null +++ b/apps/gpu/LBM/SphereScaling1/configPhoenix4GPU_2LevStrongStream.txt @@ -0,0 +1,42 @@ +################################################## +#GPU Mapping +################################################## +Devices="0 1 2 3" +NumberOfDevices=4 + +################################################## +#informations for Writing +################################################## +Path=/work/y0078217/Results/SphereScalingResults/4GPU/2LevStrongStream/ +#Path="F:/Work/Computations/out/SphereScaling/" +#Prefix="SphereScaling" +#WriteGrid=true +################################################## +#informations for reading +################################################## +GridPath=/work/y0078217/Grids/GridSphereScaling/SphereScaling4GPU/ +#GridPath="C:" + +################################################## +#number of grid levels +################################################## +#NOGL=1 + +################################################## +#LBM Version +################################################## +#D3Qxx=27 +#MainKernelName=CumulantK17CompChim + +################################################## +#simulation parameter +################################################## +TimeEnd=100 +TimeOut=100 +#TimeStartOut=0 + +################################################## +# CUDA Streams and optimized communication (only used for multiple GPUs) +################################################## +useStreams = true +useReducedCommunicationInInterpolation = true \ No newline at end of file diff --git a/apps/gpu/LBM/SphereScaling1/configPhoenix8GPU_2LevWeakStream.txt b/apps/gpu/LBM/SphereScaling1/configPhoenix8GPU_2LevWeakStream.txt index ed85622c9..1cba9317f 100644 --- a/apps/gpu/LBM/SphereScaling1/configPhoenix8GPU_2LevWeakStream.txt +++ b/apps/gpu/LBM/SphereScaling1/configPhoenix8GPU_2LevWeakStream.txt @@ -31,8 +31,8 @@ GridPath=/work/y0078217/Grids/GridSphereScaling/SphereScaling8GPU/ ################################################## #simulation parameter ################################################## -TimeEnd=100000 -TimeOut=100000 +TimeEnd=100 +TimeOut=100 #TimeStartOut=0 ################################################## -- GitLab