3 ms·
Are you saying that computational science boils down to parallel multiplication of arrays? That makes sense to me intuitively, but I’m just checking here.
by comfypotato 4y ago
Are you saying that computational science boils down to parallel multiplication of arrays? That makes sense to me intuitively, but I’m just checking here.
- kergonath 4y agoWell, quite often yes. At least in the areas I know (computational physics, quantum chemistry, weather and climate modelling, engineering, things like that). Two other usage patterns I can think of are large strings processing (think bioinformatics and genetics), and things with neural networks (which to be fair would be a natural fit for Fortran, if the libraries were not mainly developed in C++ and accessed from Python). Still, on the HPC facilities I use, number crunching in large arrays dominates used CPU time, and I would say about half of them are in Fortran.
- myself248 4y agoDoes Fortran run on GPUs?
- dagw 4y agohttps://developer.nvidia.com/cuda-fortran https://developer.nvidia.com/cuda-fortran
- TheRealKing 4y agoThere is also Intel oneAPI Fortran.
- kergonath 4y agoCUDA-Fortran is actually great. The added bits of syntax fit very well in the language, much better than standard CUDA in C or C++. It’s a shame I never really was in a situation to use it in a real program (also, you had to use PGI, which I have always found sub par), but I have tinkered with it over the years and it is very pleasant to use.