Skip to content

QU240wISC test broken #658

Closed
Closed

Description

@xylar

The QU240wISC test case no longer works on the latest ocean/develop (1550912).

On Grizzly, I built using the following setup:

echo "Loading modules for grizzly with intel and scorpio"
module purge
module use /usr/projects/climate/SHARED_CLIMATE/modulefiles/all/
module load git
if [ -f "load_compass_env.sh" ]; then
    source load_compass_env.sh
else
    source /usr/projects/climate/SHARED_CLIMATE/anaconda_envs/base/etc/profile.d/conda.sh
    conda activate compass_0.1.8
fi

module load friendly-testing
module load intel/19.0.4 intel-mpi/2019.4 hdf5-parallel/1.8.16 pnetcdf/1.11.2 netcdf-h5parallel/4.7.3 mkl/2019.0.4 scorpio/pio2/1.10.1
export I_MPI_CC=icc
export I_MPI_CXX=icpc
export I_MPI_F77=ifort
export I_MPI_F90=ifort
export CORE=ocean
export USE_PIO2=true
export AUTOCLEAN=true

export  HDF5_USE_FILE_LOCKING=FALSE

I did a make clean and make ifort (as usual).

When I run the initial_state step of the test case, I see:

forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source             
ocean_model        0000000000C3D2C3  for__signal_handl     Unknown  Unknown
libpthread-2.17.s  00002AC8E88DC630  Unknown               Unknown  Unknown
ocean_model        000000000098B709  Unknown               Unknown  Unknown
ocean_model        000000000075B8E8  Unknown               Unknown  Unknown
ocean_model        00000000007662C6  Unknown               Unknown  Unknown
ocean_model        000000000060051F  Unknown               Unknown  Unknown
ocean_model        00000000006F7BD2  Unknown               Unknown  Unknown
ocean_model        0000000000412CA7  Unknown               Unknown  Unknown
ocean_model        0000000000412C2E  Unknown               Unknown  Unknown
ocean_model        0000000000412BD2  Unknown               Unknown  Unknown
libc-2.17.so       00002AC8E9011555  __libc_start_main     Unknown  Unknown
ocean_model        0000000000412AE9  Unknown               Unknown  Unknown

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 11120 RUNNING AT gr0014
=   EXIT STATUS: 174
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 11121 RUNNING AT gr0014
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 2 PID 11122 RUNNING AT gr0014
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 3 PID 11123 RUNNING AT gr0014
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================
Traceback (most recent call last):
  File "./run.py", line 30, in <module>
    subprocess.check_call(['mpirun', '-n', '4', './ocean_model', '-n',
  File "/usr/projects/climate/SHARED_CLIMATE/anaconda_envs/base/envs/compass_0.1.8/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mpirun', '-n', '4', './ocean_model', '-n', 'namelist.ocean', '-s', 'streams.ocean']' returned non-zero exit status 255.

Activity

  1. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    @mark-petersen, are you not using QU240wISC as part of your testing before you update ocean/develop? If not, how do we know if new merges break ice-shelf cavities? Just the 2D ice-shelf test case? If so, that seems to likely not be sufficient.

    I will try to track down when this was introduced but could use your help.

  2. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    I am currently going back to 4b1650c (when #643 was merged) to see if things worked then.

  3. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    Same error. I'm going back further to 37815ff when #635 was added.

  4. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    Trying:

  5. mark-petersen commented on Aug 21, 2020

    @mark-petersen
    Contributor

    OK. I'm testing the head of ocean/develop with debug on, will see if I can find the problem directly.

  6. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    That would be great! I have a test working as of May 25th, not working as of 25 days ago. I'll keep looking for when it broke.

  7. mark-petersen commented on Aug 21, 2020

    @mark-petersen
    Contributor

    We moved the config flags to a module so we didn't have to define and retrieve them. I'm getting an error with intel/debug in the ocean initial_state that config_global_ocean_topography_smooth_iterations is not defined. I'll fix and retest it now.

  8. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    Okay, sounds like a reasonably easy thing to fix. How can we go about making sure QU240wISC is part of your testing in the future?

  9. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    Also, I assume the other global_ocean test cases besides QU240 haven't been tested in awhile either. I need them all working in order to know if I have broken something in #563.

  10. mark-petersen commented on Aug 21, 2020

    @mark-petersen
    Contributor

    This fixed it. Putting it here to be quick, I'll put it in a PR where I check for similar omissions:

    --- a/src/core_ocean/mode_init/mpas_ocn_init_global_ocean.F
    +++ b/src/core_ocean/mode_init/mpas_ocn_init_global_ocean.F
    @@ -1057,9 +1057,6 @@ contains
            integer, pointer :: nCells
            integer, dimension(:), pointer :: maxLevelCell, landIceMask, modifySSHMask
    
    -       real (kind=RKIND), pointer :: config_global_ocean_topography_smooth_weight
    -       integer, pointer :: config_global_ocean_topography_smooth_iterations
    
  11. mark-petersen commented on Aug 21, 2020

    @mark-petersen
    Contributor

    I can put the QU240wISC in the nightly regression suite.

  12. xylar commented on Aug 21, 2020

    @xylar
    CollaboratorAuthor

    I can put the QU240wISC in the nightly regression suite.

    Yes, please do. If it's too slow, let's try to solve that problem somehow.

  13. added a commit that references this issue on Aug 22, 2020
    f3c9b53
  14. mark-petersen commented on Aug 24, 2020

    @mark-petersen
    Contributor

    This is now fixed by #659

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions