Welcome, Guest
Username: Password: Remember me

TOPIC: can Telemac computation be speed up by using GPU?

can Telemac computation be speed up by using GPU? 1 week 2 days ago #44948

I just wonder, can Telemac computation be speed up by using GPU directly?
thank you for your possible answer.
The administrator has disabled public write access.

can Telemac computation be speed up by using GPU? 1 week 2 days ago #44949

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3670
  • Thank you received: 1018
Hi
The answer is no, at least for the moment...
Using GPU efficiently require a lot of change in the code, just compiling the code as it is will not give good results (probably worse).
Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: lian-edwin

can Telemac computation be speed up by using GPU? 6 days 7 hours ago #44971

  • Renault
  • Renault's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 108
  • Thank you received: 29
Hi Lian,

I have had the same question before, but from what I now understand, TELEMAC (and most other hydrodynamic simulations) aren't well suited to massive parallelization. There is too much interdependence at the boundaries of mesh partitions, let alone within each partition, which introduces overhead where different sub-processes have to communicate.

For example, I ran a test of how long it took to run the same simulation with 1, 2, 3, ... , 12 cores. The domain was relatively small, so in this case, the quickest simulation ran with 5 or 6 cores.

That said, my understanding of GPU vs CPU could well be incorrect, maybe each mesh node could be treated in parallel on a GPU? I'm not a computer scientist...

André Renault
The administrator has disabled public write access.
The following user(s) said Thank You: lian-edwin, TelemacUser1

can Telemac computation be speed up by using GPU? 5 days 13 hours ago #44979

  • nicogodet
  • nicogodet's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 133
  • Thank you received: 33
Hi André,
Regarding your little benchmark, it may be normal that you have a minimum at 5 or 6 core on a 6C/12T CPU (if I read between the lines of your message).
See : gitlab.nicodet.fr/nicogodet/telemac-mascaret-benchmark
Best performances are obtain whih hyperthreading OFF (only physical core should be used, not threads).
The administrator has disabled public write access.

can Telemac computation be speed up by using GPU? 5 days 7 hours ago #44983

  • Renault
  • Renault's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 108
  • Thank you received: 29
Hi Nicolas,

You have a point there... I indeed have 6 cores 12 threads.

(also... « le rêve » :lol:)
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.