cathryn_meyer@yale_edu
Member
Hello,
I am trying to run CCSM3.0 in a linux cluster that only seems to use bash scripts. I am trying to convert the $CASE.$MACH.run script from tcsh to bash syntax, but am having some trouble. I realize this is unsupported, but I am wondering has anybody done this successfully that could help me out?
More specifically, I have converted the foreach ... end loop to a for ... do ... done loop, but I get the error "syntax error near unexpected token 'done' ". Also, large parts of the code appear to be commented out that are between the characters /* and */ . This seems to me to be normal syntax to specify filenames, but apparently in my run script it indicates areas of code to be commented out.
Thanks,
Cathy
I am trying to run CCSM3.0 in a linux cluster that only seems to use bash scripts. I am trying to convert the $CASE.$MACH.run script from tcsh to bash syntax, but am having some trouble. I realize this is unsupported, but I am wondering has anybody done this successfully that could help me out?
More specifically, I have converted the foreach ... end loop to a for ... do ... done loop, but I get the error "syntax error near unexpected token 'done' ". Also, large parts of the code appear to be commented out that are between the characters /* and */ . This seems to me to be normal syntax to specify filenames, but apparently in my run script it indicates areas of code to be commented out.
Thanks,
Cathy