Hi Devs, please could you implement more than 7 dimensions for arrays in the fortran compiler.
Many thanks, have a great day!
Hi Devs, please could you implement more than 7 dimensions for arrays in the fortran compiler.
Many thanks, have a great day!
Thanks, we currently only have partial support for F2008 but are working on full F2018 support as part of our collaboration with the LLVM communities’ Flang F18 project. Once we transition from our current nvfortran to a F18 based nvfortran in the future, features such as increasing the dimension limit to 15, will likely appear then.
Happy post anniversary, is there any news of progress on the number of dimensions? or a rough timeline? This is a very important feature! Thanks and really appreciate the info!
Hi laurjj,
Features like this are being added to our joint effort with the LLVM community’s F18 project, aka “new flang”. llvm-project/flang at main · llvm/llvm-project · GitHub
Once hardened, we plan on productizing flang as part of NVHPC and eventually replace the current nvfortran. Though feel free to downlond and use flang. While still under development, it is in good shape.
-Mat
What’s the status of this?
Thanks. –Bracy
Hi Bracy,
Do you mean the status of the new LLVM based nvfortran?
While I can’t post publicly about specific timelines, it’s coming along. We’ll make an announcement when a Beta version is available.
In the meantime, if you need more than 7 array dimensions, feel free to use the new flang compiler.
-Mat
Hi, Mat. Thank you. Yes, I mean the status of supporting Fortran 2008’s feature allowing declarations of objects with rank greater than 7 (more than 7 dimensions). Looks like that is coming with NVHPC moving to LLVM F18? Just wondering how that’s going and when it might be supported… Thanks –Bracy
Correct, the new LLVM based compiler is expected to have full support for F2018, which would include the F2008 feature of 15 dimensions.
Of course, no need to wait for our Beta release, if you don’t mind using the mainline flang.