Author Topic: SPM_HOST not being seen  (Read 8426 times)

dball

  • Full Member
  • ***
  • Posts: 13
SPM_HOST not being seen
« on: June 17, 2009, 12:07:16 PM »
Hi,

If I send a client bash command of qbsub env I can see my SPM_HOST=10.1.9.198  If however I submit a GUI cmdline job of env, using Qube 5.4.5 GUI, SPM_HOST=10.1.9.198 doesn't show. The result is my Mental ray jobs fail. This is with the Export Environment flag ticked in the client settings.

Whats the fix for this?

Dave

dball

  • Full Member
  • ***
  • Posts: 13
Re: SPM_HOST not being seen
« Reply #1 on: June 17, 2009, 12:37:02 PM »
I'm getting the feeling that most of my problems are with environment variables. How should these be set up? I have read the brief mention in the FAQ about Maya's env vars but what about Mental Ray standalone.

Everything works fine on the worker machine if I submit the job in a bash shell, as soon as I add the qbsub command the job fails because Qube isn't reading the ~/.profile. Should these variable be placed somewhere other than ~/.profile.

Dave

dball

  • Full Member
  • ***
  • Posts: 13
Re: SPM_HOST not being seen
« Reply #2 on: June 18, 2009, 09:08:03 AM »
It turns out that the SPM_HOST needs to be set in a tcsh shell and not bash. I put mine into ~/.tcshrc with setenv and all works fine now.
« Last Edit: September 23, 2009, 02:33:14 PM by dball »