Dear all,
I am trying to run DART data assimilation within CESM on Ubuntu 22.04, but I encounter a shell error when specifying a tcsh assimilation script.
When I run ./case.submit , I get:
Running /root/cases/fwscdart/assimilate.csh
/bin/sh: 1: Syntax error: Bad fd number
ERROR: /root/cases/fwscdart/assimilate.csh /root/cases/fwscdart 0 >& /root/output/fwscdart/run/da.log.251014-222608 FAILED, cat /root/output/fwscdart/run/da.log.251014-222608
But this file does not exist.
I set
./xmlchange DATA_ASSIMILATION_SCRIPT="/bin/tcsh /root/cases/fwscdart/assimilate.csh"
or create a new bash with
#!/bin/bash
/bin/tcsh /root/cases/fwscdart/assimilate.csh "$@"
But neither of them works.
This seems to be related to my operating system.
echo $SHELL
/bin/bash
So I tried changing SHELL to /bin/tcsh, but I still get the same error; it seems Bash is still being used.
Which part of the cime code should I modify? Thank you in advance for guidance!
Mark
I am trying to run DART data assimilation within CESM on Ubuntu 22.04, but I encounter a shell error when specifying a tcsh assimilation script.
When I run ./case.submit , I get:
Running /root/cases/fwscdart/assimilate.csh
/bin/sh: 1: Syntax error: Bad fd number
ERROR: /root/cases/fwscdart/assimilate.csh /root/cases/fwscdart 0 >& /root/output/fwscdart/run/da.log.251014-222608 FAILED, cat /root/output/fwscdart/run/da.log.251014-222608
But this file does not exist.
I set
./xmlchange DATA_ASSIMILATION_SCRIPT="/bin/tcsh /root/cases/fwscdart/assimilate.csh"
or create a new bash with
#!/bin/bash
/bin/tcsh /root/cases/fwscdart/assimilate.csh "$@"
But neither of them works.
This seems to be related to my operating system.
echo $SHELL
/bin/bash
So I tried changing SHELL to /bin/tcsh, but I still get the same error; it seems Bash is still being used.
Which part of the cime code should I modify? Thank you in advance for guidance!
Mark