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

Code won't compile under Cray compilers #104

Open
pbartholomew08 opened this issue Jun 25, 2024 · 0 comments
Open

Code won't compile under Cray compilers #104

pbartholomew08 opened this issue Jun 25, 2024 · 0 comments
Labels
bug Something isn't working core Issue affecting core mechanisms of the software

Comments

@pbartholomew08
Copy link
Member

pbartholomew08 commented Jun 25, 2024

Attempted to build using Cray compilers on ARCHER2 (CCE 15) and after configuring CMake the build failed with

cmake --build build/
Scanning dependencies of target x3d2
[  2%] Building Fortran object src/CMakeFiles/x3d2.dir/common.f90.o
[  5%] Building Fortran object src/CMakeFiles/x3d2.dir/field.f90.o
[  7%] Building Fortran object src/CMakeFiles/x3d2.dir/mesh.f90.o
[ 10%] Building Fortran object src/CMakeFiles/x3d2.dir/allocator.f90.o


ftn-855 ftn: ERROR M_ALLOCATOR, File = ../../../mnt/lustre/a2fs-work1/work/e01/e01/ptbe01/src/x3d2/src/allocator.f90, Line = 1, Column = 8 
  The compiler has detected errors in module "M_ALLOCATOR".  No module information file will be created for this module.


ftn-1873 ftn: ERROR GET_BLOCK, File = ../../../mnt/lustre/a2fs-work1/work/e01/e01/ptbe01/src/x3d2/src/allocator.f90, Line = 133, Column = 49 
  POINTER dummy argument "NEXT" is not polymorphic so its associated actual argument must not be polymorphic.

Cray Fortran : Version 15.0.0 (20221026200610_324a8e7de6a18594c06a0ee5d8c0eda2109c6ac6)
Cray Fortran : Compile time:  0.0156 seconds
Cray Fortran : 207 source lines
Cray Fortran : 2 errors, 0 warnings, 0 other messages, 0 ansi
Cray Fortran : "explain ftn-message number" gives more information about each message.
gmake[2]: *** [src/CMakeFiles/x3d2.dir/build.make:75: src/CMakeFiles/x3d2.dir/allocator.f90.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:136: src/CMakeFiles/x3d2.dir/all] Error 2
gmake: *** [Makefile:101: all] Error 2
@pbartholomew08 pbartholomew08 added bug Something isn't working core Issue affecting core mechanisms of the software labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Issue affecting core mechanisms of the software
Projects
None yet
Development

No branches or pull requests

1 participant