Jump to content
  • Announcements

    • admin

      PBS Forum Has Closed   06/12/17

      The PBS Works Support Forum is no longer active.  For PBS community-oriented questions and support, please join the discussion at http://community.pbspro.org.  Any new security advisories related to commercially-licensed products will be posted in the PBS User Area (https://secure.altair.com/UserArea/). 
Sign in to follow this  
keng

Environment Variable Error when submit a job

Recommended Posts

Hello, I use a programe call cmaq(4.7), it need to set a few environment variable before it run. When I qsub a job, the output show that the environment variable is not set at all. So a strange thing.

I have sucessuflly run another progame which don't need to set the environment.Is there anyone can help me?

Share this post


Link to post
Share on other sites

Hello Keng,

There are a number of environment variables provided to the PBS job. Some are taken from the user’s environment and carried with the job. Others are created by PBS. Still others can be explicitly created by the user for exclusive use by PBS jobs. You can read all about this in the PBS Pro User Guide Section 2.14 Environment Variables.

WRT how you can get your environment passed through to the job, you will want to submit with the -V or -v argument. Please note that case-sensitivity. See PBS Pro User Guide Section 3.13.3 Exporting Environment Variables and 3.13.4 Expanding Environment Variables for more details.

Scott

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×