public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* Update on shared memory coarrays
@ 2020-11-29 19:09 dhumieres.dominique
  2020-11-30  6:21 ` Thomas Koenig
  0 siblings, 1 reply; 45+ messages in thread
From: dhumieres.dominique @ 2020-11-29 19:09 UTC (permalink / raw)
  To: koenigni; +Cc: fortran

Hi Nocolas,

> * Use of pthread_barrier_t and associated functions has been removed,
> so there is a chance that the library compiles on MacOS now.

I confirmed that the new version bootstrap on MacOS (Big Sur).

I have run make check-fortran and got the following failures:

FAIL: gfortran.dg/assumed_type_9.f90   -O2  execution test
FAIL: gfortran.dg/assumed_type_9.f90   -Os  execution test
FAIL: gfortran.dg/backtrace_1.f90   -O0  execution test
FAIL: gfortran.dg/backtrace_1.f90   -O1  execution test
FAIL: gfortran.dg/backtrace_1.f90   -O2  execution test
FAIL: gfortran.dg/backtrace_1.f90   -O3 -fomit-frame-pointer 
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/backtrace_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/backtrace_1.f90   -Os  execution test
FAIL: libgomp.fortran/examples-4/simd-2.f90   -O1  (internal compiler 
error)
FAIL: libgomp.fortran/examples-4/simd-2.f90   -O1  (test for excess 
errors)
FAIL: libgomp.fortran/examples-4/simd-2.f90   -Os  (internal compiler 
error)
FAIL: libgomp.fortran/examples-4/simd-2.f90   -Os  (test for excess 
errors)
FAIL: libgomp.fortran/examples-4/simd-3.f90   -O1  execution test
FAIL: gfortran.dg/widechar_intrinsics_9.f90   -O0  execution test
FAIL: gfortran.dg/widechar_intrinsics_9.f90   -O1  execution test
FAIL: gfortran.dg/widechar_intrinsics_9.f90   -O2  execution test
FAIL: gfortran.dg/widechar_intrinsics_9.f90   -O3 -fomit-frame-pointer 
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/widechar_intrinsics_9.f90   -O3 -g  execution test
FAIL: gfortran.dg/widechar_intrinsics_9.f90   -Os  execution test

The tests gfortran.dg/assumed_type_9.f90 and 
libgomp.fortran/examples-4/simd-* are now fixed.
The failures for gfortran.dg/backtrace_1.f90 and 
widechar_intrinsics_9.f90 are probably due to Big Sur (pr97865).

AFAIU no test for -lcaf_shared is actually run in the test suite, so I 
tried to do some testing manually
and my tests failed: zillion calls to _gfortrani_shared_memory_init.

For testing one could try to add

     foreach flags $option_list {
	verbose "Testing $nshort (libcaf_shared), $flags" 1
         set gfortran_aux_module_flags "-fcoarray=lib $flags 
-lcaf_shared"
	dg-test $test "-fcoarray=lib $flags -lcaf_shared $maybe_atomic_lib" ""
	cleanup-modules ""
     }

near the end of gfortran.dg/coarray/caf.exp.

It would also nice to have all the carry tests in gfortran.dg moved to 
the coarray subdirectory.

One could also use the tests in opencoarray.

Thanks for the work,

Dominique


^ permalink raw reply	[flat|nested] 45+ messages in thread
* Update on shared memory coarrays
@ 2020-11-29 13:10 Nicolas König
  0 siblings, 0 replies; 45+ messages in thread
From: Nicolas König @ 2020-11-29 13:10 UTC (permalink / raw)
  To: GCC-Fortran-ML, gcc

Hello world,

here is an update for the coarray_native branch.

TL;DR: New stuff and bugfixes, need help with testsuite integration.

Toon's test case has provided the opportunity to fix numerous
bugs; it now runs correctly.  It can be found at
http://moene.org/~toon/random-weather .

Here's a list of the major changes since the last email:

* According to popular demand, the library has been renamed
   cas_shared, and any references to "native coarrays" have been expunged
   (except for the branch name, which we cannot change). the directory under
   libgfortran has been moved to cas_shared and the prefix in the front 
end and
   library has been changed to cas (for coarray_shared).  The option is also
   called -fcoarray=shared now.

* Use of pthread_barrier_t and associated functions has been removed, so 
there
   is a chance that the library compiles on MacOS now.

* STAT and ERRMSG have been implemented.

So, generally, the branch seems to be in a usable state now. Major
missing features at the moment are:

* allocatable components in coarrays
* teams
* gcc testsuite integration and testcases

Since I'd like to get the branch merged as quickly as possible, any
help with the testsuite would be greatly appreciated.

So, if you could give it a spin (especially to test if there are
platforms where it does not bootstrap), that would be great.

   Nicolas

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2021-01-06 16:56 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29 19:09 Update on shared memory coarrays dhumieres.dominique
2020-11-30  6:21 ` Thomas Koenig
2020-11-30 15:41   ` dhumieres.dominique
2020-11-30 22:13     ` Thomas Koenig
2020-12-02 17:41       ` dhumieres.dominique
2020-12-03  7:27         ` Thomas Koenig
2020-12-21 12:24           ` dhumieres.dominique
2020-12-21 13:04             ` Thomas Koenig
2020-12-22 12:28               ` dhumieres.dominique
2020-12-22 15:10                 ` Thomas Koenig
2020-12-22 16:12                   ` Paul Richard Thomas
2020-12-23  9:09                     ` Thomas Koenig
2020-12-23  9:38                       ` Paul Richard Thomas
2020-12-23 10:47                         ` Thomas Koenig
2020-12-26 12:10                           ` Paul Richard Thomas
2020-12-26 13:01                             ` Thomas Koenig
2020-12-27 15:38                             ` Thomas Koenig
2020-12-23 16:42                         ` Nicolas König
2020-12-23 17:25                   ` dhumieres.dominique
2020-12-27 17:10                     ` Nicolas König
2021-01-01 13:51                       ` dhumieres.dominique
2021-01-01 16:16                         ` Thomas Koenig
2021-01-01 16:41                           ` dhumieres.dominique
2021-01-02 20:45                             ` Thomas Koenig
2021-01-02 20:55                               ` Iain Sandoe
2021-01-02 21:43                                 ` Thomas Koenig
2021-01-02 22:37                                 ` Nicolas König
2021-01-02 21:44                                   ` Iain Sandoe
2021-01-02 22:09                                     ` Iain Sandoe
2021-01-03 10:46                                       ` Iain Sandoe
2021-01-03 14:54                                         ` Iain Sandoe
2021-01-03 15:42                                           ` Iain Sandoe
2021-01-03 21:53                                             ` Thomas Koenig
2021-01-04  2:34                                               ` Iain Sandoe
2021-01-04 18:54                                                 ` Nicolas König
2021-01-05 13:11                                                   ` Iain Sandoe
2021-01-05 13:23                                                     ` Iain Sandoe
2021-01-05 13:27                                                     ` Thomas Koenig
2021-01-05 13:34                                                       ` Iain Sandoe
2021-01-05 14:54                                                     ` Nicolas König
2021-01-05 14:28                                                       ` Iain Sandoe
2021-01-05 15:45                                                         ` Nicolas König
     [not found]                                                           ` <BAD6EA1D-BB9F-4905-ADD1-76FA1D6B9591@sandoe.co.uk>
2021-01-05 17:11                                                             ` Nicolas König
2021-01-06 16:56                                                               ` Iain Sandoe
  -- strict thread matches above, loose matches on Subject: below --
2020-11-29 13:10 Nicolas König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).