Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.physics > #533548

Re: The US Department of Energy needs to port their code to C.

Date 2015-11-16 11:53 -0700
From GreyCloud <cumulus@mist.com>
Newsgroups sci.physics, comp.os.linux.advocacy
Subject Re: The US Department of Energy needs to port their code to C.
References <EtGdnXJGkp-w79vLnZ2dnUU7-fkAAAAA@giganews.com> <ec58298b-7b3c-48f7-93c6-ec6b2b1709d9@googlegroups.com> <Jeff-Relf.Me@Nov.15{2.02P.Seattle.2015}>
Message-ID <LMmdnf0j8d2Gu9fLnZ2dnUU7-TWdnZ2d@bresnan.com> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


On 11/15/15 15:02, Jeff-Relf.Me wrote:
>
> Re: LLVM to get Fortran compiler that targets parallel GPUs in clusters.
>    http://arstechnica.com/information-technology/2015/11/llvm-to-get-fortran-compiler-that-targets-parallel-gpus-in-clusters/
>
> The US Department of Energy needs to port their code to C.

What for?  Fortran was designed to signal a numerical inaccuracy inside 
loops.  C does not.  You'd have a lot of coding to do to detect 
numerical drift from what it should be.

All they have to do with the fortran code is to recompile it, that is of 
course if LLVM can do the parallelisms for you without any extra coding.

>
> To take advantage of "parallel GPUs", you need "Threads";
> MicroSoft C, Apple's CLANG, and GNU gcc, have had them for decades.
> US National Labs is "mostly using [their] CLANG C/C++ compiler".
>
> To run "Legacy Code", written in Fortran, you'd have to modify it;
> and, right now, it can't be done.

Yes, it can be done.  But then that is LLVMs challenge.

>
> Most likely, it will _never_ be done;
> the US Department of Energy is wasting money.

They want us in our homes cold and dark.


-- 
My problem is that I don't have enough middle fingers.

Back to sci.physics | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

LLVM to get Fortran compiler that targets parallel GPUs in clusters Sam Wormley <swormley1@gmail.com> - 2015-11-13 17:28 -0600
  Re: LLVM to get Fortran compiler that targets parallel GPUs in clusters Double-A <double-a3@hush.com> - 2015-11-15 12:38 -0800
    Re: LLVM to get Fortran compiler that targets parallel GPUs in clusters jimp@specsol.spam.sux.com - 2015-11-15 20:53 +0000
      Re: LLVM to get Fortran compiler that targets parallel GPUs in clusters Double-A <double-a3@hush.com> - 2015-11-16 13:29 -0800
        Re: LLVM to get Fortran compiler that targets parallel GPUs in clusters Puppet_Sock <puppet_sock@hotmail.com> - 2015-11-16 13:39 -0800
    Re: The US Department of Energy needs to port their code to C. GreyCloud <cumulus@mist.com> - 2015-11-16 11:53 -0700

csiph-web