CPU parallel on multi-computers

I noted DualSPHysics is based on OpenMP, can this tool also support CPU parallel calculations on multi-computers?

Comments

  • I cannot exactly answer this question but I can write down a reply I got when I asked about MPI parallelization capabilities:
    Before going to MPI, you have to be sure that you really need that...
    First: OpenMP allows you to use 8-16 cores of a good CPU as the current ones...
    Second: You can use the GPU version of our code.. that will be always more efficicent and chepar than machines with MPI.... you can buy a good GPU card for 500-600 euros...

    We have only worked with MPI in the past in order to communicate different GPU cards hosted by different CPU that need MPI...
    Based on this, 1. MPI is not implemented. MPI is often used for implementing parallelization on computational clusters. 2. OpenMP is only intended to communicate between different cores on a singular CPU. 3. GPU performs considerably better than a CPU (For me a factor 6 faster).

    I hope this helps somewhat otherwise you will have to wait for someone more experienced to answer.
  • @bladomas1 Many thanks for the kind advice. I search on line and found a presentation on this topic. It seems there is some thing on this topic.

    http://www.archer.ac.uk/training/virtual/2018-01-24/Presentation_ecse_pdf.pdf

    In the presentation, It mentioned the reasons why MPI is necessary.
  • but in that work, UMAN team had access to a large cluster machine where they can use MPI...

    in your case, what are you going to use as a execution device? a PC or a cluster?
  • @Alex My university has a cluster that I can use. I heard from some colleague that the CPU core is more powerful than GPU core. Is that possible is the MPI implementstion can be shared so I can do comparations between CPU cluster and GPU?
  • @kevinxmu could you get this? im also looking for a version where i could run dualsphysics at the cluster in my university. i found the same presentation you saw on google and was wondering if version 4.4 runs it.

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('@bladomas1 Many...', 'Gdn_Format::for...')
#3 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Html/HtmlEnhancer.php(59): Gdn_Format::mentions('@bladomas1 Many...')
#4 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Formats/TextExFormat.php(40): Vanilla\Formatting\Html\HtmlEnhancer->enhance('@bladomas1 Many...')
#5 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/FormatService.php(34): Vanilla\Formatting\Formats\TextExFormat->renderHTML('@bladomas1 Many...')
#6 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1464): Vanilla\Formatting\FormatService->renderHTML('@bladomas1 Many...', 'textex')
#7 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::textEx('@bladomas1 Many...')
#8 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('@bladomas1 Many...', 'TextEx')
#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), 2)
#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('1506', 'cpu-parallel-on...', '')
#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}
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('@Alex My univer...', 'Gdn_Format::for...')
#3 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Html/HtmlEnhancer.php(59): Gdn_Format::mentions('@Alex My univer...')
#4 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/Formats/TextExFormat.php(40): Vanilla\Formatting\Html\HtmlEnhancer->enhance('@Alex My univer...')
#5 /var/www/forums-dual-sphysics-org/library/Vanilla/Formatting/FormatService.php(34): Vanilla\Formatting\Formats\TextExFormat->renderHTML('@Alex My univer...')
#6 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1464): Vanilla\Formatting\FormatService->renderHTML('@Alex My univer...', 'textex')
#7 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::textEx('@Alex My univer...')
#8 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('@Alex My univer...', 'TextEx')
#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('1506', 'cpu-parallel-on...', '')
#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}
Notice
rich is deprecated. Use FormatService::renderHtml($content, Formats\RichFormat::FORMAT_KEY) instead.

#0 [internal function]: gdn_ErrorHandler(16384, 'rich is depreca...', '/var/www/forums...', 950, Array)
#1 /var/www/forums-dual-sphysics-org/library/core/functions.general.php(950): trigger_error('rich is depreca...', 16384)
#2 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1729): deprecated('rich', 'FormatService::...')
#3 /var/www/forums-dual-sphysics-org/library/core/class.format.php(1479): Gdn_Format::rich('[{"insert":{"me...')
#4 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(24): Gdn_Format::to('[{"insert":{"me...', 'Rich')
#5 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/helper_functions.php(170): formatBody(Object(stdClass))
#6 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/comments.php(19): writeComment(Object(stdClass), Object(DiscussionController), Object(Gdn_Session), 5)
#7 /var/www/forums-dual-sphysics-org/applications/vanilla/views/discussion/index.php(53): include('/var/www/forums...')
#8 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(778): include('/var/www/forums...')
#9 /var/www/forums-dual-sphysics-org/library/core/class.controller.php(1382): Gdn_Controller->fetchView('', false, false)
#10 /var/www/forums-dual-sphysics-org/library/core/class.pluggable.php(217): Gdn_Controller->xRender()
#11 /var/www/forums-dual-sphysics-org/applications/vanilla/controllers/class.discussioncontroller.php(310): Gdn_Pluggable->__call('render', Array)
#12 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(862): DiscussionController->index('1506', 'cpu-parallel-on...', '')
#13 /var/www/forums-dual-sphysics-org/library/core/class.dispatcher.php(279): Gdn_Dispatcher->dispatchController(Object(Gdn_Request), Array)
#14 /var/www/forums-dual-sphysics-org/index.php(29): Gdn_Dispatcher->dispatch()
#15 {main}