Comments (8)
Hi @szaghi
Flang supports those features today. Of course let us know if you run into any problems using them.
from flang.
Following up on the comment of @jeffhammond, as the flang team starts to consider adding the parallel features of Fortran 2008/2015, a good next step after do concurrent
is to support the class of embarrassingly parallel problems that don't necessitate declaring a coarray. I have encountered numerous research groups whose parallel programming needs are completely served by
- Synchronization:
sync all
andsync images
, - Error termination:
error stop
, and - Collective subroutines:
co_sum
,co_broadcast
,co_min
,co_max
, andco_reduce
. - Image enumeration:
this_image()
andnum_images()
Each of these could be obtained at relatively low cost by linking to OpenCoarrays and the OpenCoarrays team could work with the flang team on making any necessary adjustments such translating data descriptors and such.
from flang.
DO CONCURRENT
, which is trivial to do using whatever you have already forFORALL
and straightforward to do as an OpenMPDO
loop (i.e. implicitly pre-pend!$omp parallel do [simd]
)NORM2
, which should be trivial.- Fortran 2008 + TS 29113 features required to support MPI 3.1 Fortran 2008 bindings (see e.g.
Implementing the MPI-3.0 Fortran 2008 Binding for details). - coarrays, as noted previously.
I apologize if any of these have been fixed since my last Flang build (May 22). I have not tested 3 yet because the lack of other Fortran 2008 features made me pessimistic.
Related
from flang.
I also tried to compile some of my code and noticed, that execute_command_line, which is part of the 2008 standard, is not supported, but system works.
from flang.
Hi,
We saw your other open issue on Open CoArrays Support. Which other modern Fortran features are you looking for?
from flang.
Dear @mleair
Thank you very much for your kind reply.
My Fortran programs are mainly based on OOP, in particular:
- abstract types with deferred bindings, especially operators overloading;
- polymorphic procedures at runtime;
- finalizer (low usage indeed);
I think these are the minimal requirements in order to build FOODIE that is one of my main project. There are others F2003/2008 that I use, but the above are the most important.
My best regards.
My best regards.
from flang.
Thanks! Tomorrow I'll try build FOODIE and I'll report my feedback.
My best regards.
from flang.
Just a funny note: I failed this morning to install flang... its sources and compiled object filled my 15 GB residuals opt
storage 😄 I was not conscious llvm is so big... later today I'll accommodate more space into a dedicated partition 😄
from flang.
Related Issues (20)
- [OMP_OFFLOAD_LLVM] Crash due to gbl.ompaccfile is NULL HOT 4
- [OMP_OFFLOAD_LLVM] Undefined references to .omp_offloading symbols HOT 3
- Regression caused by #PR1076 HOT 3
- Fix 'dllimport' code generation for opaque type
- Error while build classic flang with llvm 16.04 HOT 2
- SPEC2017 521_r run error HOT 14
- error: expected '(' HOT 2
- Incorrect information when the type-spec for the dimension of the function result contains the UBOUND intrinsic. HOT 2
- flang bug about cbind HOT 2
- Flang about its LLVM IR HOT 3
- The 'contiguous' attribute does not enforce an array passed to a subroutine to be contiguous
- flang-new version 17 and 18 compiler crash HOT 2
- 521.wrf_r segfaults when built with -flto=full -O2 HOT 17
- flang always produces debuginfo HOT 2
- [from discourse] Wrong understanding of the rules for lbound and ubound for non-pointer dummy arguments HOT 6
- Uninitialized stack variable during string initialization in a function that returns a string of the parametrized length
- `malloc(): corrupted top size` after allocating array of polymorphic data type elements
- [regression] An ICE while building libmbd after PR #1422 HOT 3
- ICE while building libmbd HOT 1
- Port Classic Flang to RISC-V HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flang.