From c9881c33a046476891adaaf523c4395de5ef3eee Mon Sep 17 00:00:00 2001 From: Michael Deakin Date: Mon, 10 Apr 2017 15:09:04 -0600 Subject: [PATCH] Remove redundant anvil chgrp section. Add a comment explaining the weird xmlchange append syntax. Remove setting the BFBFLAG, as it's the default for CIME. Also fix the acme_print alias --- run_acme.template.csh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/run_acme.template.csh b/run_acme.template.csh index efdbc47b3924..cdb99ebefbb9 100755 --- a/run_acme.template.csh +++ b/run_acme.template.csh @@ -217,7 +217,7 @@ set script_ver = 3.0.5 alias lowercase "echo \!:1 | tr '[A-Z]' '[a-z]'" #make function which lowercases any strings passed to it. alias uppercase "echo \!:1 | tr '[a-z]' '[A-Z]'" #make function which uppercases any strings passed to it. -alias acme_print 'echo run_acme: !*' +alias acme_print 'echo run_acme: \!*' alias acme_newline "echo ''" #=========================================== @@ -844,12 +844,9 @@ set input_data_dir = `$xmlquery_exe DIN_LOC_ROOT --value` #$xmlchange_exe --id CAM_CONFIG_OPTS --val "-phys cam5 -chem linoz_mam3" ## Chris Golaz: build with COSP +#NOTE: xmlchange has a bug which requires append to be specified with quotes and a leading space $xmlchange_exe --id CAM_CONFIG_OPTS --append -val " -cosp" -# Chris Golaz: Set BFBFLAG to true by default -#PMC: this is the default on master as of March 2017, so this can be deleted soon -$xmlchange_exe --id BFBFLAG --val TRUE - #=========================== # SET THE PARTITION OF NODES #=========================== @@ -888,13 +885,6 @@ acme_newline set run_root_dir = `cd $case_run_dir/..; pwd -P` -if ( `lowercase $machine` == anvil ) then - set run_root_dir = `$xmlquery_exe --value RUNDIR` - chgrp climate $run_root_dir - chmod g+s $run_root_dir - chgrp climate $case_scripts_dir -endif - #both run_root_dir and case_scripts_dir are created by create_newcase, #so run_root_dir group isn't inherited for case_scripts_dir