CEMPD / SMOKE

Create emissions inputs for multiple air quality modeling systems with unmatched speed and flexibility
https://www.cmascenter.org/smoke/
48 stars 22 forks source link

(Emission Modeling Platform) Issue with using shebang "#!/bin/csh" in emf scripts #118

Open hnqtran opened 1 month ago

hnqtran commented 1 month ago

Currently most of scripts under $RUNSCRIPTS/emf/*.csh are using #!/bin/csh On debian-base OS such as Ubuntu, #!/bin/csh is not truly exist but a link to an alternative csh version which cause source: Too many arguments error when $RUNSCRIPTS/emf/*.csh are called. This issue has been reported on CMAS forum in several occasions, such as here and here

On certain Linus OS system such as RedHat/CentOS #!/bin/csh is a soft link to #!/bin/tcsh and the error did not occur.

It is recommended that all $RUNSCRIPTS/emf/*.csh should use #!/bin/tcsh shebang instead