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

[develop] UFS-SRW-AQM Build Errors on WCOSS2 #1112

Open
drnimbusrain opened this issue Jul 25, 2024 · 1 comment
Open

[develop] UFS-SRW-AQM Build Errors on WCOSS2 #1112

drnimbusrain opened this issue Jul 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@drnimbusrain
Copy link

Expected behavior

UFS-SRW-AQM [develop] branch should build on WCOSS2.

Current behavior

UFS-SRW-AQM [develop] branch has errors in build on WCOSS2.

Machines affected

WCOSS2

Steps To Reproduce

https://ufs-srweather-app.readthedocs.io/en/develop/UsersGuide/BuildingRunningTesting/AQM.html#quick-start-guide-srw-aqm

git clone -b develop https://github.com/ufs-community/ufs-srweather-app
cd ufs-srweather-app
./app_build.sh -p=wcoss2 -a=ATMAQ --extrn
./manage_externals/checkout_externals
./devbuild.sh -p=wcoss2 -a=ATMAQ

Detailed Description of Fix (optional)

Additional Information (optional)

Possible Implementation (optional)

Output (optional)

/lfs/h2/oar/arl/noscrub/Patrick.C.Campbell/run_ufs_srw_aqm/run_na_test_ufs-srw-app_20240724_develop/sorc/ufs-weather-model/FV3/io/module_write_netcdf.F90(424): error #6404: This name does not have a type, and must have an explicit type.   [NF90_DEF_VAR_ZSTANDARD]
              ncerr = nf90_def_var_zstandard(ncid, varids(i), zstandard_level(grid_id)) ; if (ncerr /= nf90_noerr) write(0,*) "file: ", "module_write_netcdf.F90", " line: ", 424, trim(nf90_strerror(ncerr));     if (ncerr /= nf90_noerr) call ESMF_Finalize(endflag=ESMF_END_ABORT)
----------------------^
/lfs/h2/oar/arl/noscrub/Patrick.C.Campbell/run_ufs_srw_aqm/run_na_test_ufs-srw-app_20240724_develop/sorc/ufs-weather-model/FV3/io/module_write_netcdf.F90(443): error #6404: This name does not have a type, and must have an explicit type.   [NF90_DEF_VAR_QUANTIZE]
              ncerr = nf90_def_var_quantize(ncid, varids(i), quant_mode, quantize_nsd(grid_id)) ; if (ncerr /= nf90_noerr) write(0,*) "file: ", "module_write_netcdf.F90", " line: ", 443, trim(nf90_strerror(ncerr));     if (ncerr /= nf90_noerr) call ESMF_Finalize(endflag=ESMF_END_ABORT)
----------------------^
compilation aborted for /lfs/h2/oar/arl/noscrub/Patrick.C.Campbell/run_ufs_srw_aqm/run_na_test_ufs-srw-app_20240724_develop/sorc/ufs-weather-model/FV3/io/module_write_netcdf.F90 (code 1)
make[5]: *** [FV3/CMakeFiles/fv3atm.dir/build.make:283: FV3/CMakeFiles/fv3atm.dir/io/module_write_netcdf.F90.o] Error 1
make[5]: *** Waiting for unfinished jobs....
/lfs/h2/oar/arl/noscrub/Patrick.C.Campbell/run_ufs_srw_aqm/run_na_test_ufs-srw-app_20240724_develop/sorc/ufs-weather-model/FV3/io/module_write_restart_netcdf.F90(385): error #6404: This name does not have a type, and must have an explicit type.   [NF90_DEF_VAR_ZSTANDARD]
            ncerr = nf90_def_var_zstandard(ncid, varids(i), zstandard_level(1))
--------------------^
/lfs/h2/oar/arl/noscrub/Patrick.C.Campbell/run_ufs_srw_aqm/run_na_test_ufs-srw-app_20240724_develop/sorc/ufs-weather-model/FV3/io/module_write_restart_netcdf.F90(387): error #6404: This name does not have a type, and must have an explicit type.   [NF90_ENOFILTER]
               if (ncerr == nf90_enofilter) then
----------------------------^
compilation aborted for /lfs/h2/oar/arl/noscrub/Patrick.C.Campbell/run_ufs_srw_aqm/run_na_test_ufs-srw-app_20240724_develop/sorc/ufs-weather-model/FV3/io/module_write_restart_netcdf.F90 (code 1)
make[5]: *** [FV3/CMakeFiles/fv3atm.dir/build.make:296: FV3/CMakeFiles/fv3atm.dir/io/module_write_restart_netcdf.F90.o] Error 1
^[[Bmake[4]: *** [CMakeFiles/Makefile2:416: FV3/CMakeFiles/fv3atm.dir/all] Error 2

@chan-hoo

@drnimbusrain drnimbusrain added the bug Something isn't working label Jul 25, 2024
@chan-hoo
Copy link
Collaborator

@drnimbusrain, I am sorry. I don't have access to WCOSS2 any more (other EPIC code managers as well). This may be the module file issue. The module files have not been updated since I left EMC. Moreover, as far as I know, uwtools was not available on WCOSS2 yet. The develop branch will not work correctly without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants