Created
May 5, 2017 19:19
-
-
Save PeterCaldwell/ed4e2caa11501ccc6b994a9e5a8c0812 to your computer and use it in GitHub Desktop.
Run script demonstrating that ending EXEROOT with a slash causes MCT build to fail.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/csh | |
#Minimal code reproducing mct build failure on Anvil. | |
#Note that problem seems to be ending slash in specification of EXEROOT | |
set case_name=master.mintest1.ne4np4_oQU240 | |
cd ~/ACME_code/master/cime/scripts/ | |
./create_newcase --case /lcrc/group/acme/${USER}/ACME_simulations/${case_name}/case_scripts --compset A_WCYCL1850 --res n\ | |
e4np4_oQU240 --pecount M --handle-preexisting-dirs u --output-root /lcrc/group/acme/${USER}/ACME_simulations/ | |
cd /lcrc/group/acme/${USER}/ACME_simulations/${case_name}/case_scripts | |
#Adding a '/' on the end of build in the line below causes the build to fail. | |
#try deleting the ending slash and re-running to see that this really is the problem. | |
./xmlchange EXEROOT=/lcrc/group/acme/${USER}/ACME_simulations/${case_name}/build/ | |
./xmlchange RUNDIR=/lcrc/group/acme/${USER}/ACME_simulations/${case_name}/run | |
./case.setup --reset | |
./case.build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment