Queuing error: Perl lib version (v5.8.9) doesn't match executable version (v5.10.1)

Dear users,
I recently installed MS 2016 on a linux cluster with TORQUE resouece mangement.
When I submit a job via gateway, I receive the following error:
Queuing error: Perl lib version (v5.8.9) doesn't match executable version (v5.10.1) at .../BIOVIA/MaterialsStudio2016/lib/5.8.9/x86_64-linux-thread-multi/Config.pm line 46. Compilation failed in require at .../BIOVIA/MaterialsStudio2016/lib/5.8.9/x86_64-linux-thread-multi/Errno.pm line 8. BEGIN failed--compilation aborted
.../BIOVIA/MaterialsStudio2016/lib/5.8.9/x86_64-linux-thread-multi/Errno.pm line 8. Compilation failed in require at .../BIOVIA/MaterialsStudio2016/lib/5.8.9/English.pm line 187. BEGIN failed--compilation aborted at .../BIOVIA/MaterialsStudio2016/lib/5.8.9/English.pm line 187.

I put a MS perl PATH in my .bashrc file but it still gives the same error.
I retain server files in job control option and I'm able to manually submit torque.sh script in the jobs directory. 

Does anyone have an advice how to resolve this issue?

Thank you!