Git Product home page Git Product logo

Comments (6)

dwillcox avatar dwillcox commented on June 22, 2024

The following test is on merger on development branch of Microphysics using unit_test/test_react with the following compilation flags:

make -j NDEBUG=t MPI= OMP= COMP=gfortran NETWORK_DIR=aprox13 EOS_DIR=helmholtz

with INTEGRATOR_DIR=VODE90 or INTEGRATOR_DIR=VODE.

Due to the recent updates to VODE enforcing limits on mass fractions and T, I'm using commit d98ac7843db80894f78a955f62ca6c3ea282209b from September 12, 2017. The AMReX git commit is 266f31c00dfacb03b58a551006dce04ee6cc60a7 from September 18, 2017.

VODE

[dwillcox@merger test_react]((d98ac78...))$ ./main.Linux.gfortran.exe inputs_aprox13
 MPI initialized with            1  MPI processes
 MPI initialized with            1  threads
 
 Initializing Helmholtz EOS and using Coulomb corrections.
 
 small_temp =    100000.00000000000     
 small_dens =    1.0000000000000000     
 Execution time:    156.29828095436096     
 RHS stats:
   min:            6
   avg:         1522
   max:        23965

VODE90

[dwillcox@merger test_react]((d98ac78...))$ ./main.Linux.gfortran.exe inputs_aprox13
 MPI initialized with            1  MPI processes
 MPI initialized with            1  threads
 
 Initializing Helmholtz EOS and using Coulomb corrections.
 
 small_temp =    100000.00000000000     
 small_dens =    1.0000000000000000     
 Execution time:    160.93007707595825     
 RHS stats:
   min:            6
   avg:         1522
   max:        23965

fcompare

fcompare reports no differences in the plotfiles written by test_react with "PLOTFILES AGREE"

All this suggests that on the CPU the two are pretty comparable with a timing difference relative to VODE of 2.9%.

from microphysics.

dwillcox avatar dwillcox commented on June 22, 2024

I've repeated this test 9 more times for a total of 10, and the average times plus or minus a standard deviation for each integrator are as follows:

VODE: 156.2 +/- 1.2 seconds

VODE90: 159.7 +/- 1.3 seconds

Relative difference wrt VODE: 2.25%

Timing spreadsheet: VODE-vs-VODE90-aprox13.pdf

This suggests there is a performance difference on the CPU but it is relatively small.

from microphysics.

maxpkatz avatar maxpkatz commented on June 22, 2024

Can we get this in a branch and then run the test suite on it to check differences?

from microphysics.

dwillcox avatar dwillcox commented on June 22, 2024

Not quite yet, a few days ago I realized the timing above is for the original VODE90 revisions (on development), before I made the changes needed to make it operable with CUDA Fortran.

When I've run timing between the versions of VODE90 and VODE on the cudadevice branch in serial mode on the CPU I'm getting larger timing differences of ~7% and need to determine why. I should be able to look into this more today.

from microphysics.

maxpkatz avatar maxpkatz commented on June 22, 2024

On development I see 3% performance slowdown for VODE90 on aprox13, but not identical diffs, rather O(1e-10).

from microphysics.

maxpkatz avatar maxpkatz commented on June 22, 2024

Closing as we have already done the merge from VODE90 into VODE.

from microphysics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.