Skip to content
Snippets Groups Projects
Commit ebdb9fc2 authored by Christoph Alt's avatar Christoph Alt
Browse files

added the profiling

parent b59aa1ed
No related branches found
No related tags found
1 merge request!7Add a new benchmark case
Pipeline #709227 passed
Pipeline: cx-test

#709228

    ......@@ -18,10 +18,10 @@ basename_exe=$(basename ${EXECUTABLE})
    profile_file="ncuprofile_channelflow_${basename_exe}_${dev_name}"
    # with profling
    # cmdChannelFlow="${PROFILING} -o $profile_file $MPIRUN $FULL_EXECUTABLE $FULL_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"
    cmdChannelFlow="${PROFILING} -o $profile_file $MPIRUN $FULL_EXECUTABLE $FULL_ARGUMENT -NumericalSetup.timeSteps=2 -NumericalSetup.useParticles=false"
    export DB_FILE="gpu_profile_percolation_${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 $FULL_EXECUTABLE $FULL_ARGUMENT -NumericalSetup.useParticles=false"
    ......@@ -33,12 +33,12 @@ $cmdChannelFlow || echo "$cmdChannelFlow failed"
    profile_file="ncuprofile_percolation_${basename_exe}_${dev_name}"
    # with profling
    # cmdPercolation="${PROFILING} -o $profile_file $MPIRUN $FULL_EXECUTABLE $FULL_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"
    cmdPercolation="${PROFILING} -o $profile_file $MPIRUN $FULL_EXECUTABLE $FULL_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
    # without profiling
    cmdPercolation="$MPIRUN $FULL_EXECUTABLE $FULL_ARGUMENT"
    echo "Runing $cmdPercolation"
    export DB_FILE="gpu_benchmark_percolation_${dev_name}.sqlite3"
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment