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
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 causesource: 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 hereOn 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