this doesn't run the code which I used to run a program called Design compiler which need some environment variable from bashrc.
`ssh -X mohamed@mohamed 'cd /usr/synopsys/H-2013.03/bin; sh dc_shell'`

Alternatively, when I run each command individually it runs successfully as observed in the pictures.
[the desired code error picture](http://i.stack.imgur.com/mv0VW.png)  

[commands individually picture](http://i.stack.imgur.com/vogaM.png)