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

MAPL2 OpenMP Test fails with NAG on Linux #3436

Open
mathomp4 opened this issue Feb 18, 2025 · 4 comments
Open

MAPL2 OpenMP Test fails with NAG on Linux #3436

mathomp4 opened this issue Feb 18, 2025 · 4 comments
Assignees

Comments

@mathomp4
Copy link
Member

With the introduction of the OpenMP tests from @aoloso in #3401, my NAG MAPL builds on discover are failing with:

The following tests FAILED:
	 75 - GetHorzIJIndex_NO_OMP (Failed)
	 76 - GetHorzIJIndex_OMP_1_thread (Failed)
	 77 - GetHorzIJIndex_OMP_4_thread (Failed)
Errors while running CTest

The NoOMP seems to die with:

    Start 75: GetHorzIJIndex_NO_OMP
1/3 Test #75: GetHorzIJIndex_NO_OMP ............***Failed    1.23 sec
      MAPL: No configure file specified for logging layer.  Using defaults.
 Starting pFIO input server on Clients
 Starting pFIO output server on Clients
      MAPL: Running with MOAB library for ESMF Mesh: F
     SHMEM: NumCores per Node = 6
     SHMEM: NumNodes in use   = 1
     SHMEM: Total PEs         = 6
     SHMEM: NumNodes in use  = 1
 Integer*4 Resource Parameter: BEG_DATE:20070801 0
 Integer*4 Resource Parameter: END_DATE:29990302 210000
pe=00005 FAIL at line=00318    MAPL_CapGridComp.F90                     <status=51>
pe=00005 FAIL at line=00856    MAPL_CapGridComp.F90                     <status=51>
pe=00005 FAIL at line=00349    MAPL_Cap.F90                             <status=51>
pe=00005 FAIL at line=00258    MAPL_Cap.F90                             <status=51>
pe=00005 FAIL at line=00192    MAPL_Cap.F90                             <status=51>
pe=00005 FAIL at line=00169    MAPL_Cap.F90                             <status=51>
pe=00005 FAIL at line=00018    driver.F90                               <status=51>

and the other seem to fail on the same line.

I'm testing now on Bucy to see if it happens there.

@mathomp4 mathomp4 assigned mathomp4, acollow, aoloso and tclune and unassigned acollow Feb 18, 2025
@mathomp4
Copy link
Member Author

Odd thing is. That line it's not happy with is "find HEARTBEAT_DT"

@mathomp4 mathomp4 changed the title MAPL2 OpenMP Test fails with NAG on Discover MAPL2 OpenMP Test fails with NAG on Linux Feb 18, 2025
@mathomp4
Copy link
Member Author

Confirmed that it fails on Bucy as well:

The following tests FAILED:
	 75 - GetHorzIJIndex_NO_OMP (Failed)
	 76 - GetHorzIJIndex_OMP_1_thread (Failed)
	 77 - GetHorzIJIndex_OMP_4_thread (Failed)

So this is at least NAG-on-Linux.

@mathomp4
Copy link
Member Author

Discussed with @bena-nasa and it looks like NAG is somehow getting the wrong cap pointer. Will definitely need @tclune help with this.

@tclune
Copy link
Collaborator

tclune commented Feb 18, 2025

My first thought is that we compile several bits of Baselibs (GFE) without OpenMP for NAG. So maybe NAG fundamentally cannot handle this test. OTOH, the NO_OMP case ought to work even then, right?

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

4 participants