Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures for GCC 8 #447

Closed
rouson opened this issue Sep 13, 2017 · 8 comments
Closed

Test failures for GCC 8 #447

rouson opened this issue Sep 13, 2017 · 8 comments

Comments

@rouson
Copy link
Member

rouson commented Sep 13, 2017

Avg response time
Issue Stats

Defect/Bug Report

Today, @zbeekman and I merged the master branch of the GCC git mirror of into the teams branch of the Sourcery Institute fork of GCC. I just used that branch to build MPICH 3.2 and OpenCoarrays 1.9.1 and observed the following test failures:

The following tests FAILED:
	 11 - async_comp_alloc_2 (Failed)
	 12 - comp_allocated_1 (Failed)
	 13 - comp_allocated_2 (Failed)
	 14 - get_array (Failed)
	 15 - get_self (Failed)
	 16 - send_array (Failed)
	 17 - get_with_offset_1d (Failed)
	 18 - whole_get_array (Failed)
	 19 - strided_get (Failed)
	 20 - strided_sendget (Failed)
	 31 - co_reduce_string (Failed)
	 37 - coarray_burgers_pde (Failed)
	 41 - convert-before-put (Failed)
	 42 - put-alloc-comp (Failed)
	 43 - get-put-alloc-comp (Failed)
Errors while running CTest
  • OpenCoarrays Version: 1.9.1

  • Fortran Compiler: gcc 8.0.0

  • C compiler used for building lib: gfortran 8.0.0

  • Installation method: ./install.sh -M /opt/mpich/3.2/gnu/8.0.0/ --install-prefix /opt/opencoarrays/1.9.1/gnu/8.0.0 -y -z

  • Output of uname -a: Linux Sourcery-Linux-VM 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  • MPI library being used: 3.2

  • Machine architecture and number of physical cores: 2.7 GHz Intel Core i7

  • Version of CMake: 3.7.0

Observed Behavior

See above.

@vehre
Copy link
Collaborator

vehre commented Sep 13, 2017

Really? Gfortran 8 changed the array descriptor. As long as you don't adapt, gfortran 8 will not function properly. That's the downside of carrying your own declaration of the array descriptor.

@zbeekman
Copy link
Collaborator

@vehre:

  1. is it just lib-caf-gfortran-descriptor.h that needs to change?
  2. Could we use GFortran's copy of the array descriptor?
  3. Is it included in an installed header file somewhere?

A quick search through my install tree is having trouble finding any gfortran specific header files containing array descriptors

@rouson
Copy link
Member Author

rouson commented Sep 14, 2017

Applying the attached patch that @zbeekman provided reduces the test failures to the following with OPENCOARRAYS_DEVELOPER=ON:

The following tests FAILED:
	 12 - comp_allocated_1 (Failed)
	 13 - comp_allocated_2 (Failed)
	 41 - convert-before-put (Failed)
	 42 - put-alloc-comp (Failed)
	 43 - get-put-alloc-comp (Failed)

I think these are all the expected failures. Correct? I'll submit a pull request later this evening that applies the patch and closes this issue.
patch-array-descriptor.txt

@zbeekman
Copy link
Collaborator

zbeekman commented Sep 14, 2017 via email

@rouson
Copy link
Member Author

rouson commented Sep 14, 2017

@zbeekman Building with GCC 8 after export OPENCOARRAYS_DEVELOPER=ON gives

The following tests FAILED:
	 12 - comp_allocated_1 (Failed)
	 13 - comp_allocated_2 (Failed)

By contrast, the above two tests pass when I build with GCC 7.2.0. Hmm... we might need some input from @vehre to resolve this

@rouson
Copy link
Member Author

rouson commented Sep 19, 2017

@vehre Any updates on this or any chance of looking at it this week? In the interim, @zbeekman will publish a release with the updated descriptor. We don't yet know the cause of the two new failures mentioned in my most recent comment: comp_allocated_1 and comp_allocated_2. These work with GCC 7 but not with GCC 8.

@vehre
Copy link
Collaborator

vehre commented Sep 21, 2017

Have a look at the pull request for the descriptor fix: #448

@rouson
Copy link
Member Author

rouson commented Sep 21, 2017

We're all set. I just tested the master branch built with GCC 8 and the comp_allocated_1 and comp_allocated_2 tests pass. Thanks, @vehre.

@zbeekman please generate a new release at your earliest convenience. I'll close this issue.

@rouson rouson closed this as completed Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants