This site is migrating to a new forum software on Tuesday, September 24th 2019, you may experience a short downtime during this transition

Main menu


bash shell issues

1 post / 0 new
bash shell issues


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.$ 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.


Who's new

  • jwolff
  • tinna.gunnarsdo...
  • sarthak2235@...
  • eolivares@...
  • shubham.gandhi@...