Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cx-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christoph Alt
cx-test
Commits
7cbf3830
Commit
7cbf3830
authored
11 months ago
by
Christoph Alt
Browse files
Options
Downloads
Patches
Plain Diff
added a new benchmark
parent
e256b6bc
No related branches found
Branches containing commit
No related tags found
1 merge request
!7
Add a new benchmark case
Pipeline
#679697
passed
11 months ago
Stage: generate_child_pipeline
Stage: execute_child_pipeline
Pipeline: cx-test
#679698
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks.json
+11
-0
11 additions, 0 deletions
benchmarks.json
jobscript/benchmarks/percolationgpu.sh
+43
-0
43 additions, 0 deletions
jobscript/benchmarks/percolationgpu.sh
with
54 additions
and
0 deletions
benchmarks.json
+
11
−
0
View file @
7cbf3830
...
...
@@ -55,6 +55,17 @@
"!reference [.export_variables, before_script]"
,
"!reference [.upload, script]"
]
},
{
"name"
:
"percolationgpu"
,
"type"
:
"GPU"
,
"buildpath"
:
"apps/benchmarks/Percolation"
,
"jobscript"
:
"jobscript/benchmarks/percolationgpu.sh"
,
"datafile"
:
"gpu_benchmark_*.sqlite3"
,
"processingtype"
:
""
,
"branch_regex"
:
""
,
"project_id_regex"
:
"kemmler/particle_coupling_GPU"
,
"after_script"
:
[
]
}
]
}
This diff is collapsed.
Click to expand it.
jobscript/benchmarks/percolationgpu.sh
0 → 100644
+
43
−
0
View file @
7cbf3830
DIR
=
'apps/benchmarks/Percolation'
PROFILING
=
"ncu --set=full"
ARGUMENT
=
"benchmark.prm"
CORES
=
$(
nproc
--all
)
MPIRUN
=
""
export
CUDA_VISIBLE_DEVICES
=
${
VISABLE_DEVICE
}
EXECUTABLE
=
Percolation
dev_name
=
$(
nvidia-smi
--id
=
${
VISABLE_DEVICE
}
--query-gpu
=
gpu_name
--format
=
csv,noheader 2> /dev/null |
tr
-d
'[:blank:]'
||
echo
"GPU_
${
VISABLE_DEVICE
}
"
)
# first test case channelflow
basename_exe
=
$(
basename
${
EXECUTABLE
}
)
profile_file
=
"ncuprofile_channelflow_
${
basename_exe
}
_
${
dev_name
}
"
# with profling
cmdChannelFlow
=
"
${
PROFILING
}
-o
$profile_file
$MPIRUN
$EXECUTABLE
${
BUILD_DIR
}
/
${
DIR
}
/
$ARGUMENT
-NumericalSetup.timeSteps=2 -NumericalSetup.useParticles=false"
export
DB_FILE
=
"gpu_profile_channel_flow_
${
dev_name
}
.sqlite3"
echo
"Runing
$cmdChannelFlow
"
$cmdChannelFlow
&&
ncu
-i
"
${
profile_file
}
.ncu-rep"
--csv
--page
=
raw
>
"
$(
basename
-s
".ncu-rep"
${
profile_file
}
)
"
.csv
||
echo
"
${
cmdChannelFlow
}
failed"
# without profling
cmdChannelFlow
=
"
$MPIRUN
$executable
${
BUILD_DIR
}
/
${
DIR
}
/
$ARGUMENT
-NumericalSetup.useParticles=false"
echo
"Runing
$cmdChannelFlow
"
export
DB_FILE
=
"gpu_benchmark_channel_flow_
${
dev_name
}
.sqlite3"
$cmdChannelFlow
||
echo
"
$cmdChannelFlow
failed"
# second test case percolation
profile_file
=
"ncuprofile_percolation_
${
basename_exe
}
_
${
dev_name
}
"
# with profling
cmdPercolation
=
"
${
PROFILING
}
-o
$profile_file
$MPIRUN
$EXECUTABLE
${
BUILD_DIR
}
/
${
DIR
}
/
$ARGUMENT
-NumericalSetup.timeSteps=2"
export
DB_FILE
=
"gpu_profile_percolation_
${
dev_name
}
.sqlite3"
echo
"Runing
$cmdPercolation
"
$cmdPercolation
&&
ncu
-i
"
${
profile_file
}
.ncu-rep"
--csv
--page
=
raw
>
"
$(
basename
-s
".ncu-rep"
${
profile_file
}
)
"
.csv
||
echo
"
${
cmdPercolation
}
failed"
# without profling
cmdPercolation
=
"
$MPIRUN
$executable
${
BUILD_DIR
}
/
${
DIR
}
/
$ARGUMENT
"
echo
"Runing cmdPercolation"
export
DB_FILE
=
"gpu_benchmark_percolation_
${
dev_name
}
.sqlite3"
$cmdPercolation
||
echo
"
$cmdPercolation
failed"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment