Skip to content

Tests not passing with gcc5.3.1 and gcc6.3.1. #299

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

Closed
edu159 opened this issue Jan 12, 2018 · 6 comments
Closed

Tests not passing with gcc5.3.1 and gcc6.3.1. #299

edu159 opened this issue Jan 12, 2018 · 6 comments

Comments

@edu159
Copy link

edu159 commented Jan 12, 2018

Hi! I am having a hard time compiling in CentOS6 with gcc5.3.1 and gcc6.3.1 (from devtoolset-4 and devtoolset-5 respectively) in both 5.1 and 6.1 versions of json-fortran. Those toolsets are a collection of software (https://www.softwarecollections.org/) compiled for RHEL/CentOS as they are used in high performance computing and lot of building is carried out in those platforms to be compatible with HPC(quite old gnu libc). Is this a known issue? Is there any file generated form the tests I can upload to clarify more the issue?

@jacobwilliams
Copy link
Owner

What errors are you seeing?

@edu159
Copy link
Author

edu159 commented Jan 15, 2018

Compiling-wise none. The problem is when I compile and run all the tests and most of them fail. The output I get is limited (only if certain test has passed or not). Is there any way of getting the logs after doing 'make test' so I can paste it here?

@zbeekman
Copy link
Contributor

Are you building with CMake? Or with FoBiS.py? There's a good chance I need to spend some time updating the CMake test infra, because I don't think @jacobwilliams uses it much.

@edu159
Copy link
Author

edu159 commented Jan 16, 2018

It is cmake. Furthermore it is not only the tests which fail. My program segfaults with those versions of the compiler if I include calls to your libraries. I have not looked deep into this since for gcc4.9.* and 7.2.* it works both the tests and my software so there is a correlation there... which, as usual, does not mean causation but...

@jacobwilliams
Copy link
Owner

Note: I'm currently testing the latest version of the library on Travis CI (#414) with gfortran 6.5, 7.4, 8.3, and 9.1. All the tests pass. Do you still have this issue?

@jacobwilliams
Copy link
Owner

Going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants