problem with setenv
by vemaparna from LinuxQuestions.org on (#578YA)
I have been trying to install software and I am stuck with the below problem. Tried to check with similar solutions in the forum, but in vain. Can someone help me out with this
aparrna@dsls:~/Documents/Software/gromacs-2020.3/build$ source /usr/local/gromacs/bin/GMXRC
aparrna@dsls:~/Documents/Software/gromacs-2020.3/build$ GMXRC
/usr/local/gromacs/bin/GMXRC: line 14: return: can only `return' from a function or sourced script
/usr/local/gromacs/bin/GMXRC: line 17: CSH:: command not found
/usr/local/gromacs/bin/GMXRC.csh: line 8: syntax error near unexpected token `setenv'
/usr/local/gromacs/bin/GMXRC.csh: line 8: `if (! $?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH ""'


aparrna@dsls:~/Documents/Software/gromacs-2020.3/build$ source /usr/local/gromacs/bin/GMXRC
aparrna@dsls:~/Documents/Software/gromacs-2020.3/build$ GMXRC
/usr/local/gromacs/bin/GMXRC: line 14: return: can only `return' from a function or sourced script
/usr/local/gromacs/bin/GMXRC: line 17: CSH:: command not found
/usr/local/gromacs/bin/GMXRC.csh: line 8: syntax error near unexpected token `setenv'
/usr/local/gromacs/bin/GMXRC.csh: line 8: `if (! $?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH ""'