Parallel GPU Processing

edited January 2019 in DualSPHysics v4.2
I am trying to run a simulation of 15 million particles using Amazon GPU instances. There are system with multiple GPU's which costs high and it came to my attention that DualSPH only uses one GPU at a time. If that's true then renting system with multiple GPU would be a waste of money. Does multiple GPU (4* 16 Gb) will be faster than (1*16 Gb)?

Comments

  • Hi,

    Renting multiple GPU solution seems a waste of money in my opinion, since DSPH can only use one.
    When the code will be updated to multi-GPU, given that they are on the same machine (the code will not permit cloud GPU computing, only multi GPU on one local machine), 4 GPUs will be faster than than just one that is the whole point of multi GPU.
    But in the mean time, it won't make a difference.
    Nice day
  • Is that complicate to implement the multi-GPU function? If It is not complicate, may be we can start to implement it and share the workload with DualSPH team.
  • I don't know ! However, from my experience, it shouldn't be that trivial if you want it to be efficient (managing splitting of calculations, memory usage and sharing)...
    From what the DSPH team told me, they are not a private club ! So if you are willing and competent enough, you can join them and improve the code... I suggest you get in touch with them. Multi-GPU code is definitely part of their plan http://dual.sphysics.org/index.php/features/
  • edited May 2019
    @swaraj1112 was the setup using Amazon GPU hassle free or did you need to do a lot of small hacks?

    Sorry, if I revive a thread which is a bit "too old", but it just seemed relevant.
Sign In or Register to comment.

Debug Trace

Notice
Cannot assign an empty string to a string offset

#0 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1203): gdn_ErrorHandler(2, 'Cannot assign a...', '/var/www/forums...', 1203, Array)
#1 /var/www/forums-dual-sphysics-org/library/core/class.format.php(958): Gdn_Format::formatMentionsCallback('')
#2 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1292): Gdn_Format::tagContent('@swaraj1112 was...', 'Gdn_Format::for...')
#3 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Html/HtmlEnhancer.php(59): Gdn_Format::mentions('@swaraj1112 was...')
#4 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Formats/HtmlFormat.php(74): Vanilla\Formatting\Html\HtmlEnhancer->enhance('@swaraj1112 was...')
#5 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/FormatService.php(34): Vanilla\Formatting\Formats\HtmlFormat->renderHtml('@swaraj1112 was...')
#6 /var/www/forums-dual-sphysics-org/library/core/class.format.php(769): Vanilla\Formatting\FormatService->renderHTML('@swaraj1112 was...', 'html')
#7 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::html('@swaraj1112 was...')
#8 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('@swaraj1112 was...', 'Html')
#9 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(170): formatBody(Object(stdClass))
#10 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/comments.php(19): writeComment(Object(stdClass), Object(DiscussionController), Object(Gdn_Session), 4)
#11 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/index.php(53): include('/var/www/forums...')
#12 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(778): include('/var/www/forums...')
#13 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(1382): Gdn_Controller->fetchView('', false, false)
#14 /var/www/forums-dual-sphysics-org/library/core/class.pluggable.php(217): Gdn_Controller->xRender()
#15 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(310): Gdn_Pluggable->__call('render', Array)
#16 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('1499', 'parallel-gpu-pr...', '')
#17 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#18 /var/www/forums-dual-sphysics-org/index.php(29): Gdn_Dispatcher->dispatch()
#19 {main}