On Friday, January 29, 2021 at 2:25:40 PM UTC-5,
m...@szymki.net wrote:
> .. the weird crash of the compiler, I started to wonder whether the code in the example is valid. There are so many 'kind'-s in the first parameter definition that I really got *kinda* confused.
> ..
@Michal,
Your code is valid. It's just that the PDT facility in GCC/gfortran is a limited implementation only and which itself has a *lot* of outstanding bug reports.
If you want to try PDTs in Fortran, I suggest you try Intel Fortran compiler i.e., the IFORT Classic in Intel oneAPI HPC toolkit which is now free for users:
https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html
Also, for additional questions with PDTs, I suggest you use the Fortran Discourse site because it will be easier to include code snippets with Fortran *syntax highlighting*, to include images, attachments, etc. and to engage with a growing community that is using more and more modern tools for computing using Fortran:
https://fortran-lang.discourse.group/