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

Open MPI fortran configury has at least one bad test code #12875

Open
hppritcha opened this issue Oct 22, 2024 · 0 comments
Open

Open MPI fortran configury has at least one bad test code #12875

hppritcha opened this issue Oct 22, 2024 · 0 comments

Comments

@hppritcha
Copy link
Member

I am pretty certain that the Cray FTN compiler is fortran 2018 compliant. Yet our configury is claimin its missing numerous features.
I think its more likely we have bad fortran code in our configury tests.

Here's the output of the cray fortran compiler for our test that checks for storage size:

(ompi-docs-venv) hpp@ro-rfe4[]:~>crayftn -c storage_size.f90

    size = storage_size(x) / 8
                        ^      
ftn-412 ftn: ERROR STORAGE_SIZE_COMPLEX32_R1, File = storage_size.f90, Line = 32, Column = 25 
  This whole array reference of an assumed-size array is not allowed.

    size = storage_size(x) / 8
                        ^      
ftn-412 ftn: ERROR STORAGE_SIZE_INT32_R1, File = storage_size.f90, Line = 48, Column = 25 
  This whole array reference of an assumed-size array is not allowed.

    size = storage_size(x) / 8
                        ^      
ftn-412 ftn: ERROR STORAGE_SIZE_REAL32_R1, File = storage_size.f90, Line = 64, Column = 25 
  This whole array reference of an assumed-size array is not allowed.

Looks like an audit is needed of all of our fortran test cases, particularly those testing for Fortran 2008 and later features.

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

1 participant