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

MPAS-O doesn't build with GCC/13.2 on Derecho #79

Open
gdicker1 opened this issue Oct 28, 2024 · 2 comments
Open

MPAS-O doesn't build with GCC/13.2 on Derecho #79

gdicker1 opened this issue Oct 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working EW specific This has to do with EarthWorks only - files, goals, code that probably won't be wanted upstream

Comments

@gdicker1
Copy link
Contributor

When trying to upgrade the software stack in #77, I discovered that the mpas_ocn_okubo_weiss.F doesn't seem to be buildable with the Derecho software stack using the gcc/13.2 module. As I post this, it is a low priority item.

I started the normal ew-pr test category using create_test and saw that only the CHAOS2000dev tests that use GCC (test name contains "_gnu") failed to build. Examining the bld/*.bldlog* files for the cases showed the following output.

From CHAOS2000dev gcc/13.2 bld/ocn.bldlog*file for a CHAOS2000dev build (reposted from EarthWorksOrg/ccs_config_cesm PR#29)

/glade/derecho/scratch/gdicker/ew-pr_2024Oct24105100/ewm-2.3.009-77/ERP_Ln9_P256_Vnuopc.mpasa120_oQU120.CHAOS2000dev.derecho_gnu.GC.20241024_105301_2k3ufv/bld/ocn/source/mpas_ocn_okubo_weiss.F:74:21:

   74 |          type(c_ptr), value       :: array
      |                     1
Error: Type name 'c_ptr' at (1) is ambiguous
/glade/derecho/scratch/gdicker/ew-pr_2024Oct24105100/ewm-2.3.009-77/ERP_Ln9_P256_Vnuopc.mpasa120_oQU120.CHAOS2000dev.derecho_gnu.GC.20241024_105301_2k3ufv/bld/ocn/source/mpas_ocn_okubo_weiss.F:77:24:

   77 |          type(c_funptr), value    :: compare ! int (*compare)(const void*, const void*)
      |                        1
Error: Type name 'c_funptr' at (1) is ambiguous
f951: Warning: Nonexistent include directory '/glade/derecho/scratch/gdicker/ew-pr_2024Oct24105100/ewm-2.3.009-77/ERP_Ln9_P256_Vnuopc.mpasa120_oQU120.CHAOS2000dev.derecho_gnu.GC.20241024_105301_2k3ufv/bld/gnu/mpich/nodebug/threads/finclude' [-Wmissing-include-dirs]
/glade/derecho/scratch/gdicker/ew-pr_2024Oct24105100/ewm-2.3.009-77/ERP_Ln9_P256_Vnuopc.mpasa120_oQU120.CHAOS2000dev.derecho_gnu.GC.20241024_105301_2k3ufv/bld/ocn/source/mpas_ocn_okubo_weiss.F:1159:87:

 1159 |       call qsort(c_loc(stats(1)), elemCount, elemSize, c_funloc(compareRealDescending))
      |                                                                                       1
Error: Type mismatch in argument 'array' at (1); passed TYPE(c_ptr) to REAL(4)
/glade/derecho/scratch/gdicker/ew-pr_2024Oct24105100/ewm-2.3.009-77/ERP_Ln9_P256_Vnuopc.mpasa120_oQU120.CHAOS2000dev.derecho_gnu.GC.20241024_105301_2k3ufv/bld/ocn/source/mpas_ocn_okubo_weiss.F:1159:87:

 1159 |       call qsort(c_loc(stats(1)), elemCount, elemSize, c_funloc(compareRealDescending))
      |                                                                                       1
Error: Type mismatch in argument 'compare' at (1); passed TYPE(c_funptr) to REAL(4)
@gdicker1 gdicker1 added bug Something isn't working EW specific This has to do with EarthWorks only - files, goals, code that probably won't be wanted upstream labels Oct 28, 2024
@dazlich
Copy link
Contributor

dazlich commented Oct 28, 2024 via email

@gdicker1
Copy link
Contributor Author

Sounds good! Just stressing again this isn't pressing - I don't think we need to fix this in the next couple of weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EW specific This has to do with EarthWorks only - files, goals, code that probably won't be wanted upstream
Projects
None yet
Development

No branches or pull requests

2 participants