[gridengine users] Exporting environment variables using -V doesn't work from RHEL7 to RHEL6
reuti at staff.uni-marburg.de
Fri Jan 19 10:09:31 UTC 2018
> Am 05.01.2018 um 09:02 schrieb srinivas.chakravathi at wipro.com:
> We have recently upgraded one submit host from RHEL6.7 to RHEL7.2.
> Most of our grid execution servers are RHEL6.7, with a few RHEL6.3 servers. When we run any jobs by using “-V” option to export environment variables, it does not work and the job fails.
In case it's still relevant: can you put an:
in the job script. Usually the coreutils applications's programs are at a default location and should be found. I wonder whether these location changed between different RHEL releases. Otherwise it could really happen that -V does work, but distribute wrong paths (similar to submitting to a Linux node from an AIX machine with a different directory layout). What is your setting of:
in the queue definition.
> As an example examine a simple job:
> echo "Sleeping now"
> sleep $1
> When we run this job without exporting environment variables, it works fine. But exporting environment variables causes errors as shown below:
> <BASE_PATH>/job_scripts/2666843: line 3: date: command not found
> <BASE_PATH>/job_scripts/2666843: line 5: sleep: command not found
> Of course, this issue is persistent in interactive jobs also, which causes applications not working properly.
> Is there any way to circumvent this issue?
> Thanks and regards,
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> users mailing list
> users at gridengine.org
More information about the users