Failed to run source

Dear everyone,

I just move to another workstation and re-install Pylith package.
But when I run the source , I obtained this notification :

hp6-clima-2:/scratch/akuncoro/2021/software/pylith> source
pylith=/scratch/akuncoro/2021/software/pylith: Command not found.
if: Expression Syntax.
then: Command not found.

Is there any way to fix this?

Thank you in advance.
Alvina K K

It looks like source is being executed using csh instead of bash. As noted in the PyLith manual this script only works in a bash shell. The workarounds are to (1) change your default shell to bash, (2) run /bin/bash to get a bash shell before running source, or (3) translate so it works with csh.

It’s working.

Thank you for your help.

Alvina K K