-
Notifications
You must be signed in to change notification settings - Fork 252
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
baseline check is not working as expected on Hercules #2245
Comments
Let me test this on Derecho. I'll update you about it. |
Hercules, need to check the permissions for the baseline files. |
@DusanJovic-NOAA I double check and I think that permissions are fine. Can you try to read the files in |
Might be also related following closed issue - #2015 |
I see the differences in the compiler_flags global attribute:
If I'm looking at correct output files. |
@DusanJovic-NOAA Thanks for checking. That is really helpful. I am not sure why I am not seeing this in the nccmp output. If this is the case, since these are ROMS global attributes and related with the compile flags, the baseline needs to be created again even if the data itself are fine. I think there is also way to check just data not the attributes but I am not sure that is the way that we need to go. Let me check the create baseline and check again on Hercules. Thanks again for your help. |
You are not seeing the differences because of |
@DusanJovic-NOAA Thanks. It is good to know. I added |
Description
I am trying to compare a set of netcdf files for the regression test defined in ufs-coastal. This is CDEPS data atmosphere coupled ROMS configuration and produces three netcdf files. The output of the regression test is something like following on Hercules,
It indicates that the test is failed in the step of baseline configuration. Actually, if I run the
nccmp -d -S -q -f -g -B --Attribute=checksum --warn=format /work2/noaa/nems/tufuk/RT/NEMSfv3gfs/develop-20240417/coastal_irene_atm2roms_intel/irene_his.nc /work2/noaa/stmp/tufuk/stmp/tufuk/FV3_RT/rt_2701396/coastal_irene_atm2roms_intel/irene_his.nc > log 2>&1 && d=$? || d=$?; echo $d
command manually. The log file is empty but$d
has value of1
and the regression testing thinks that the test is failed. I also compared the files with NCAR'scprnc
tool and it seems that the files are identical.So, I am not sure why but
rt_utils.sh
thinks that the files are not identical. Any suggestion? Is this a bug? Since the script is used by multiple tests and seems robust but I am not sure. There could be still issue with the RT baseline check step.I also test this on Frontera and got similar results (oceanmodeling/roms#3) but of course that is not a officially supported Teir 1 platform and also with little bit old version of model (maybe not using nccmp).
To Reproduce:
This can be reproduced on Hercules using ufs-coastal.
./rt.sh -l rt_coastal.conf -a nems -e
since there is a bug in rt.sh (rt.sh is not working properly when -l and -n used together. #2244) there is n o way to run single test likecoastal_irene_atm2roms
butrt_coastal.conf
can be edited to keep onlycoastal_irene_atm2roms
.Additional context
None
Output
None
The text was updated successfully, but these errors were encountered: