diff --git a/ecf/scripts/gdas/atmos/post/.gitignore b/ecf/scripts/gdas/atmos/post/.gitignore index 4dc1865dd3..851760300f 100644 --- a/ecf/scripts/gdas/atmos/post/.gitignore +++ b/ecf/scripts/gdas/atmos/post/.gitignore @@ -1,2 +1,3 @@ # Ignore these +jgdas_atmos_post_anl.ecf jgdas_atmos_post_f*.ecf diff --git a/ecf/scripts/gdas/atmos/post/jgdas_atmos_post_anl.ecf b/ecf/scripts/gdas/atmos/post/jgdas_atmos_post_anl.ecf deleted file mode 100755 index e98b928e0e..0000000000 --- a/ecf/scripts/gdas/atmos/post/jgdas_atmos_post_anl.ecf +++ /dev/null @@ -1,66 +0,0 @@ -#PBS -S /bin/bash -#PBS -N gdas_atmos_post_%FHR%_%CYC% -#PBS -j oe -#PBS -q %QUEUE% -#PBS -A %PROJ%-%PROJENVIR% -#PBS -l walltime=00:12:00 -#PBS -l place=vscatter,select=2:mpiprocs=64:ompthreads=1:ncpus=64 -#PBS -l place=excl -#PBS -l debug=true - -model=gfs -%include -%include - -set -x - -export NET=%NET:gfs% -export RUN=%RUN% -export CDUMP=%RUN% - -############################################################ -# Load modules -############################################################ -module load PrgEnv-intel/${PrgEnv_intel_ver} -module load craype/${craype_ver} -module load intel/${intel_ver} -module load cray-mpich/${cray_mpich_ver} -module load cray-pals/${cray_pals_ver} -module load cfp/${cfp_ver} -module load libjpeg/${libjpeg_ver} -module load hdf5/${hdf5_ver} -module load netcdf/${netcdf_ver} -module load grib_util/${grib_util_ver} -module load crtm/${crtm_ver} -module load g2tmpl/${g2tmpl_ver} -module load wgrib2/${wgrib2_ver} - -module list - -############################################################# -# WCOSS environment settings -############################################################# -export FHR=%FHR% -export post_times=%HR% -export FHRGRP=%FHRGRP% -export FHRLST=%FHRLST% -export cyc=%CYC% -export cycle=t%CYC%z -export USE_CFP=YES -export g2tmpl_ver=v${g2tmpl_ver} - -############################################################ -# CALL executable job script here -############################################################ -$HOMEgfs/jobs/JGLOBAL_ATMOS_NCEPPOST - -if [ $? -ne 0 ]; then - ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***" - ecflow_client --abort - exit -fi - -%include -%manual - -%end diff --git a/ecf/scripts/gfs/atmos/post/.gitignore b/ecf/scripts/gfs/atmos/post/.gitignore index f80e805181..01d641c46d 100644 --- a/ecf/scripts/gfs/atmos/post/.gitignore +++ b/ecf/scripts/gfs/atmos/post/.gitignore @@ -1,2 +1,3 @@ # Ignore these +jgfs_atmos_post_anl.ecf jgfs_atmos_post_f*.ecf diff --git a/ecf/scripts/gfs/atmos/post/jgfs_atmos_post_anl.ecf b/ecf/scripts/gfs/atmos/post/jgfs_atmos_post_anl.ecf deleted file mode 100755 index 3948840316..0000000000 --- a/ecf/scripts/gfs/atmos/post/jgfs_atmos_post_anl.ecf +++ /dev/null @@ -1,70 +0,0 @@ -#PBS -S /bin/bash -#PBS -N gfs_atmos_post_%FHR%_%CYC% -#PBS -j oe -#PBS -q %QUEUE% -#PBS -A %PROJ%-%PROJENVIR% -#PBS -l walltime=00:20:00 -#PBS -l place=vscatter,select=10 -#PBS -l debug=true - -model=gfs -%include -%include - -set -x - -export NET=%NET:gfs% -export RUN=%RUN% -export CDUMP=%RUN% - -export FHRGRP=%FHRGRP% -export FHRLST=%FHRLST% -export FHR=%FHR% -export post_times=%HR% - -############################################################ -# Load modules -############################################################ -module load PrgEnv-intel/${PrgEnv_intel_ver} -module load craype/${craype_ver} -module load intel/${intel_ver} -module load cray-mpich/${cray_mpich_ver} -module load cray-pals/${cray_pals_ver} -module load cfp/${cfp_ver} -module load libjpeg/${libjpeg_ver} -module load hdf5/${hdf5_ver} -module load netcdf/${netcdf_ver} -module load grib_util/${grib_util_ver} -module load crtm/${crtm_ver} -module load g2tmpl/${g2tmpl_ver} -module load wgrib2/${wgrib2_ver} - -module list - -############################################################# -# WCOSS environment settings -############################################################# -export FHR=%FHR% -export post_times=%HR% -export FHRGRP=%FHRGRP% -export FHRLST=%FHRLST% -export cyc=%CYC% -export cycle=t%CYC%z -export USE_CFP=YES -export g2tmpl_ver=v${g2tmpl_ver} - -############################################################ -# CALL executable job script here -############################################################ -$HOMEgfs/jobs/JGLOBAL_ATMOS_NCEPPOST - -if [ $? -ne 0 ]; then - ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***" - ecflow_client --abort - exit -fi - -%include -%manual - -%end diff --git a/ecf/setup_ecf_links.sh b/ecf/setup_ecf_links.sh index 4982002409..b0dce50cc5 100755 --- a/ecf/setup_ecf_links.sh +++ b/ecf/setup_ecf_links.sh @@ -27,12 +27,16 @@ link_master_to_fhr "jenkfgdas_post" "$fhrs" # GDAS post files cd $ECF_DIR/scripts/gdas/atmos/post echo "Linking gdas/atmos/post ..." +rm -f jgdas_atmos_post_anl.ecf +ln -sf jgdas_atmos_post_master.ecf jgdas_atmos_post_anl.ecf fhrs=($(seq 0 9)) link_master_to_fhr "jgdas_atmos_post" "$fhrs" # GFS post files cd $ECF_DIR/scripts/gfs/atmos/post echo "Linking gfs/atmos/post ..." +rm -f jgfs_atmos_post_anl.ecf +ln -sf jgfs_atmos_post_master.ecf jgfs_atmos_post_anl.ecf fhrs=($(seq 0 1 120) $(seq 123 3 384)) link_master_to_fhr "jgfs_atmos_post" "$fhrs"