diff --git a/modulefiles/build_macos_gnu.lua b/modulefiles/build_macos_gnu.lua index 378368712..605500606 100644 --- a/modulefiles/build_macos_gnu.lua +++ b/modulefiles/build_macos_gnu.lua @@ -10,12 +10,12 @@ if mode() == "load" then end -prepend_path("MODULEPATH", "/Users/username/spack-stack/spack-stack-1.8.0/envs/ufs-wm-env/install/modulefiles/Core") +prepend_path("MODULEPATH", "/Users/username/spack-stack/spack-stack-1.8.0/envs/ufs-srw-env/install/modulefiles/Core") stack_gnu_ver=os.getenv("stack_apple_clang_ver") or "15.0.0" load(pathJoin("stack-apple-clang", stack_gnu_ver)) -stack_openmpi_ver=os.getenv("stack_openmpi_ver") or "4.1.6" +stack_openmpi_ver=os.getenv("stack_openmpi_ver") or "5.0.3" load(pathJoin("stack-openmpi", stack_openmpi_ver)) cmake_ver=os.getenv("cmake_ver") or "3.27.9" @@ -40,3 +40,9 @@ setenv("CMAKE_Fortran_COMPILER_ID", "GNU") setenv("CFLAGS","-Wno-implicit-function-declaration ") +if mode() == "load" then + LmodMsgRaw([===[ + Please export these env. variables after the module is successfully loaded: + > export LDFLAGS+=" -L${libjpeg_turbo_ROOT}/lib -ljpeg -Wl,-rpath,$libjpeg_turbo_ROOT}/lib -L${jasper_ROOT}/lib -ljasper -Wl,-rpath,${jasper_ROOT}/lib -L${libpng_ROOT}/lib -lpng -Wl,-rpath,${libpng_ROOT}/lib " + ]===]) +end diff --git a/modulefiles/srw_common.lua b/modulefiles/srw_common.lua index b002b8dca..e39a9727b 100644 --- a/modulefiles/srw_common.lua +++ b/modulefiles/srw_common.lua @@ -4,19 +4,19 @@ load("libpng/1.6.37") load("netcdf-c/4.9.2") load("netcdf-fortran/4.6.1") -load("parallelio/2.5.10") +load("parallelio/2.6.2") load("esmf/8.6.0") -load("fms/2024.01") +load("fms/2024.02") load("bacio/2.4.1") load("crtm/2.4.0.1") load("g2/3.5.1") load("g2tmpl/1.13.0") -load("ip/4.3.0") +load("ip/5.0.0") load("sp/2.5.0") load("w3emc/2.10.0") -load("gftl-shared/1.6.1") +load("gftl-shared/1.9.0") load("mapl/2.40.3-esmf-8.6.0") load("nemsio/2.5.4") @@ -25,4 +25,4 @@ load("sigio/2.3.2") load("w3nco/2.4.1") load("wrf-io/1.2.0") -load_any("wgrib2/2.0.8","wgrib2/3.1.1") +load("wgrib2/3.1.1") diff --git a/ush/config.yaml b/ush/config.yaml new file mode 100644 index 000000000..379c97310 --- /dev/null +++ b/ush/config.yaml @@ -0,0 +1,49 @@ +metadata: + description: + Sample community config +user: + RUN_ENVIR: community + MACHINE: macos + ACCOUNT: an_account +workflow: + USE_CRON_TO_RELAUNCH: false + EXPT_SUBDIR: test_macos + CCPP_PHYS_SUITE: FV3_GFS_v16 + PREDEF_GRID_NAME: RRFS_CONUS_25km + DATE_FIRST_CYCL: '2019061518' + DATE_LAST_CYCL: '2019061518' + FCST_LEN_HRS: 12 + PREEXISTING_DIR_METHOD: rename + VERBOSE: true + COMPILER: intel +task_get_extrn_ics: + EXTRN_MDL_NAME_ICS: FV3GFS + FV3GFS_FILE_FMT_ICS: grib2 + USE_USER_STAGED_EXTRN_FILES: true + EXTRN_MDL_SOURCE_BASEDIR_ICS: "/Users/username/UFS_SRW_data/input_model_data/FV3GFS/grib2/2019061518" +task_get_extrn_lbcs: + EXTRN_MDL_NAME_LBCS: FV3GFS + LBC_SPEC_INTVL_HRS: 6 + FV3GFS_FILE_FMT_LBCS: grib2 + USE_USER_STAGED_EXTRN_FILES: true + EXTRN_MDL_SOURCE_BASEDIR_LBCS: "/Users/username/UFS_SRW_data/input_model_data/FV3GFS/grib2/2019061518" +task_run_fcst: + QUILTING: true + LAYOUT_X: 3 + LAYOUT_Y: 2 + WRTCMP_write_tasks_per_group: 2 +task_plot_allvars: + COMOUT_REF: "" +global: + DO_ENSEMBLE: false + NUM_ENS_MEMBERS: 2 +rocoto: + tasks: + taskgroups: '{{ ["parm/wflow/prep.yaml", "parm/wflow/coldstart.yaml", "parm/wflow/post.yaml", "parm/wflow/plot.yaml"]|include }}' + metatask_run_ensemble: + task_run_fcst_mem#mem#: + walltime: 02:00:00 + task_plot_allvars: + PLOT_FCST_START: 0 + PLOT_FCST_INC: 6 + PLOT_FCST_END: 6 diff --git a/ush/machine/macos.yaml b/ush/machine/macos.yaml index ac65bd658..1da102803 100644 --- a/ush/machine/macos.yaml +++ b/ush/machine/macos.yaml @@ -2,31 +2,31 @@ platform: WORKFLOW_MANAGER: none NCORES_PER_NODE: 8 TASKTHROTTLE: 1 - SCHED: slurm - TEST_CCPA_OBS_DIR: /Users/username/UFS_SRW_data/obs_data/ccpa/proc - TEST_MRMS_OBS_DIR: /Users/username/UFS_SRW_data/obs_data/mrms/proc - TEST_NDAS_OBS_DIR: /Users/username/UFS_SRW_data/obs_data/ndas/proc - TEST_NOHRSC_OBS_DIR: /Users/username/UFS_SRW_data/obs_data/nohrsc/proc - DOMAIN_PREGEN_BASEDIR: /Users/username/UFS_SRW_data/FV3LAM_pregen + SCHED: none + TEST_CCPA_OBS_DIR: /Users/username/DATA/UFS/obs_data/ccpa/proc + TEST_MRMS_OBS_DIR: /Users/username/DATA/UFS/obs_data/mrms/proc + TEST_NDAS_OBS_DIR: /Users/username/DATA/UFS/obs_data/ndas/proc + TEST_NOHRSC_OBS_DIR: /Users/username/DATA/UFS/obs_data/nohrsc/proc + DOMAIN_PREGEN_BASEDIR: /Users/username/DATA/UFS/FV3LAM_pregen RUN_CMD_FCST: mpirun -n ${PE_MEMBER01} RUN_CMD_POST: mpirun RUN_CMD_PRDGEN: mpirun RUN_CMD_SERIAL: time RUN_CMD_UTILS: mpirun PRE_TASK_CMDS: '{ ulimit -a; ulimit -s -S unlimited; }' - TEST_EXTRN_MDL_SOURCE_BASEDIR: /Users/username/UFS_SRW_data/input_model_data - TEST_PREGEN_BASEDIR: /Users/username/UFS_SRW_data/FV3LAM_pregen - TEST_ALT_EXTRN_MDL_SYSBASEDIR_ICS: /Users/username/UFS_SRW_data/dummy_FV3GFS_sys_dir - TEST_ALT_EXTRN_MDL_SYSBASEDIR_LBCS: /Users/username/UFS_SRW_data/dummy_FV3GFS_sys_dir - FIXaer: /Users/username/UFS_SRW_data/fix/fix_aer - FIXgsm: /Users/username/UFS_SRW_data/fix/fix_am - FIXlut: /Users/username/UFS_SRW_data/fix/fix_lut - FIXorg: /Users/username/UFS_SRW_data/fix/fix_orog - FIXsfc: /Users/username/UFS_SRW_data/fix/fix_sfc_climo - FIXshp: /Users/username/UFS_SRW_data/NaturalEarth + TEST_EXTRN_MDL_SOURCE_BASEDIR: /Users/username/DATA/UFS/input_model_data + TEST_PREGEN_BASEDIR: /Users/username/DATA/UFS/FV3LAM_pregen + TEST_ALT_EXTRN_MDL_SYSBASEDIR_ICS: /Users/username/DATA/UFS/dummy_FV3GFS_sys_dir + TEST_ALT_EXTRN_MDL_SYSBASEDIR_LBCS: /Users/username/DATA/UFS/dummy_FV3GFS_sys_dir + FIXaer: /Users/username/DATA/UFS/fix/fix_aer + FIXgsm: /Users/username/DATA/UFS/fix/fix_am + FIXlut: /Users/username/DATA/UFS/fix/fix_lut + FIXorg: /Users/username/DATA/UFS/fix/fix_orog + FIXsfc: /Users/username/DATA/UFS/fix/fix_sfc_climo + FIXshp: /Users/username/DATA/UFS/NaturalEarth EXTRN_MDL_DATA_STORES: aws nomads data: ics_lbcs: FV3GFS: - nemsio: /Users/username/UFS_SRW_data/FV3GFS/nemsio - grib2: /Users/username/UFS_SRW_data/FV3GFS/grib2 + nemsio: /Users/username/DATA/UFS/input_model_data/FV3GFS/nemsio + grib2: /Users/username/DATA/UFS/input_model_data/FV3GFS/grib2