3232# install/register cylc plugin
3333pip install .
3434cylc version --long
35- exit 1
35+ # exit 1
3636# #################################
3737
3838get_user_input () {
@@ -101,15 +101,21 @@ fre_pp_steps () {
101101 # Not sure if needed because if no global.cylc found, cylc uses default, which utilizes background jobs anyway ...
102102 # export CYLC_CONF_PATH=/mnt/cylc-src/${name}/generic-global-config/
103103
104- # # Configure the rose-suite and rose-app files for the workflow
105- echo -e " \nRunning fre pp configure-yaml, combining separate yaml configs into one, then writing rose-suite/app config files ..."
106- fre -vv pp configure-yaml -e ${expname} -p ${plat} -t ${targ} -y ${yamlfile}
107- check_exit_status " CONFIGURE-YAML"
108-
109- # # Validate the configuration files
110- echo -e " \nRunning fre pp validate, validating rose-suite/app config files ..."
111- fre -vv pp validate -e ${expname} -p ${plat} -t ${targ}
112- check_exit_status " VALIDATE"
104+ # ## Configure the rose-suite and rose-app files for the workflow
105+ # echo -e "\nRunning fre pp configure-yaml, combining separate yaml configs into one, then writing rose-suite/app config files ..."
106+ # fre -vv pp configure-yaml -e ${expname} -p ${plat} -t ${targ} -y ${yamlfile}
107+ # check_exit_status "CONFIGURE-YAML"
108+ echo -e " \nRunning fre yamltools combine-yamls"
109+ fre -vv yamltools combine-yamls -e ${expname} -p ${plat} -t ${targ} -y ${yamlfile} --use pp -o config.yaml
110+ check_exit_status " COMBINE-YAMLS"
111+ # move yaml to cylc-src
112+ mv config.yaml /mnt/cylc-src/${name} /
113+ # ############
114+
115+ # ## Validate the configuration files
116+ # echo -e "\nRunning fre pp validate, validating rose-suite/app config files ..."
117+ # fre -vv pp validate -e ${expname} -p ${plat} -t ${targ}
118+ # check_exit_status "VALIDATE"
113119
114120 # Install
115121 echo -e " \nRunning fre pp install, installing workflow in ${HOME} /cylc-run/${name} ..."
@@ -121,6 +127,10 @@ fre_pp_steps () {
121127 cylc play --no-detach --debug -s ' STALL_TIMEOUT="PT0S"' ${name}
122128 # check_exit_status "PLAY" # if cylc play fails and this is not commented, log uploading does not work
123129
130+ # ####
131+ cat /mnt/cylc-run/${name} /log/config/flow-processed.cylc
132+ # ####
133+
124134 # # SUMMARY
125135 echo -e " \nWorkflow ended, final task states from workflow-state are ..."
126136 cylc workflow-state -v ${name}
0 commit comments