News for hackers. Stuff that matters.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by londons_explore on Friday October 06, 2023 @02:44PM (#37794575)
> just because the code hasn’t been ported,

Seems stupid to use millions of dollars of supercomputer time just because you can't be bothered to get a few phd students to spend a few months rewriting in CUDA...

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by bee_rider on Friday October 06, 2023 @03:41PM (#37795292)
>> just because the code hasn’t been ported, sometimes because it’s just not something that a GPU can do well.

> Seems stupid to use millions of dollars of supercomputer time just because you can't be bothered to get a few phd students to spend a few months rewriting in CUDA...

Rewriting code in CUDA won’t magically make workloads well suited to GPGPU.

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by wang_li on Friday October 06, 2023 @04:16PM (#37795764)
It's highly likely that a workload that is suitable to run on hundreds of disparate computers with thousands of CPU cores is going to be equally well suited for running on tens of thousands of GPU compute threads.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by atq2119 on Friday October 06, 2023 @05:38PM (#37796778)
Not necessarily. GPUs simply aren't optimized around branch-heavy or pointer-chasey code. If that describes the inner loop of your workload, it just doesn't matter how well you can parallelize it at a higher level, CPU cores are going to be better than GPU cores at it.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by monocasa on Friday October 06, 2023 @05:45PM (#37796845)
They're not that disparate; the workloads are normally very dependent on the low latency interconnect of most supercomputers.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by mlyle on Friday October 06, 2023 @03:24PM (#37795082)
A supercomputer might cost $200M and use $6M of electricity per year.

Amortizing the supercomputer over 5 years, a 12 hour job on that supercomputer may cost $63k.

If you want it cheaper, your choices are:

A) run on the supercomputer as-is, and get your answer in 12 hours (+ scheduling time based on priority)

B) run on a cheaper computer for longer-- an already-amortized supercomputer, or non-supercomputing resources (pay calendar time to save cost)

C) try to optimize the code (pay human time and calendar time to save cost) -- how much you benefit depends upon labor cost, performance uplift, and how much calendar time matters.

Not all kinds of problems get much uplift from CUDA, anyways.

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by jonwachob91 on Friday October 06, 2023 @04:16PM (#37795777)
>> A supercomputer might cost $200M and use $6M of electricity per year.

I'm curious, what university has a $200MM super computer?

I know governments have numerous Supercomputers that blow past $200MM in build price, but what universities do?

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by sophacles on Friday October 06, 2023 @05:38PM (#37796771)
University of Illinois had Blue Waters ($200+MM, built in ~2012, decomissioned in the last couple years).

https://www.ncsa.illinois.edu/research/project-highlights/bl...

https://en.wikipedia.org/wiki/Blue_Waters

They have always had a lot of big compute around.

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by mlyle on Friday October 06, 2023 @05:46PM (#37796851)
> I know governments have numerous Supercomputers that blow past $200MM in build price, but what universities do?

Even when individual universities don't-- governments have supercomputing centers that universities are a primary user of and often charge back value of computing time to the university or it is a separate item that is competitively granted.

Here we're talking about Jupiter, which is a ~$300M supercomputer where research universities will be a primary user.

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by otabdeveloper4 on Friday October 06, 2023 @03:24PM (#37795084)
CUDA is buggy proprietary shit that doesn't work half the time or segfaults with compiler errors.

Basically, unless you have a very specific workload that NVidia has specifically tested, I wouldn't bother with it.

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by brnt on Friday October 06, 2023 @03:32PM (#37795157)
The JSC employs a good number of people doing exactly this.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by cmdrk on Friday October 06, 2023 @02:53PM (#37794695)
sometimes the code is deeply complex stuff that has accumulated for over 30 years. to _just_ rewrite it in CUDA can be a massive undertaking that could easily produce subtly incorrect results that end up in papers could propagate far into the future by way of citations etc
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by londons_explore on Friday October 06, 2023 @02:56PM (#37794730)
All the more reason to rewrite it... You don't want some mistake in 30 year old COBOL code to be making your 2023 experiment to have wrong results.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by mlyle on Friday October 06, 2023 @03:25PM (#37795088)
The whole point is in these older numerical codes is that they're proven and there's a long history of results to compare against.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by gmueckl on Friday October 06, 2023 @03:12PM (#37794930)
That's the complete opposite of what is actually the case: some of that really old code in these programs is battle-tested and verified. Any rewrite of such parts would just destroy that work for no good reason.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by dpe82 on Friday October 06, 2023 @03:54PM (#37795456)
*FORTRAN.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by _a_a_a_ on Friday October 06, 2023 @04:20PM (#37795825)
Why don't YOU take some old code and rewrite it. I tried it for some 30+ year old HPC code and it was a grim experience and I failed hard. So why not keep your lazy, fatuous suggestions to yourself.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by throwaway10965 on Friday October 06, 2023 @02:55PM (#37794719)
Sounds like a great job for LLMs. Are there any public repositories of this code? I want to try.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by mlyle on Friday October 06, 2023 @05:50PM (#37796887)
Sounds like a -terrible- job for LLMs, because this is all about attention to detail. Order of operations and specific constructs of how floating point work in the codes in question are usually critical.

Have fun: https://www.qsl.net/m5aiq/nec-code/nec2-1.2.1.2.f

Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by throwaway10965 on Saturday October 07, 2023 @06:13AM (#37800487)
Attention to detail can come later when there's something that humans can get started with. I did not mean that LLM could do it all alone.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by mlyle on Saturday October 07, 2023 @01:20PM (#37803577)
A human has to have the knowledge of what the code is trying to do and what the requisites are for accuracy and numerical stability. There's no substitute for that. Having a translation aid doesn't help at all unless it's perfect: it's more work to verify the output from a flawed tool than to do it right in this case.
Re:EU Grabs ARM for First ExaFLOP Supercomputer, x86 Misses Out by hulitu on Saturday October 07, 2023 @04:56PM (#37805485)
CUDA ? I thought rust was the future. /s