Maybe you can use options “-cwd” Add EDA tool environment to virtuoso_submit_file.sh
example # qsub -cwd -V -j y -b y -cwd /FULL_PATH/virtuoso_submit_file.sh From: users-boun...@gridengine.org [mailto:users-boun...@gridengine.org] On Behalf Of John_Tai Sent: Wednesday, December 21, 2016 1:06 PM To: Bill Deegan <b...@baddogconsulting.com> Cc: users@gridengine.org Subject: Re: [gridengine users] qsub EDA tool Virtuoso was just an example, it can be anything really like calibre, hspice etc… I was wondering if it’s possible to directly start the tool without having to run a separate shell script. Since the -V option is supposed to pass all the environment variables, I thought it should be possible. From: Bill Deegan [mailto:b...@baddogconsulting.com] Sent: Wednesday, December 21, 2016 12:08 To: John_Tai Cc: users@gridengine.org<mailto:users@gridengine.org> Subject: Re: [gridengine users] qsub EDA tool Usually I solve such by creating a shell script to set the environment variables and launch the tool.. Do you really want to launch virtuoso into the grid? Isn't it a GUI based application? On Tue, Dec 20, 2016 at 6:52 PM, John_Tai <john_...@smics.com<mailto:john_...@smics.com>> wrote: I am trying to submit an EDA tool, which is basically a binary. However the path for this tool needs to be set each time, it cannot be written into my ~/.cshrc. So for example before I start virtuoso, I will set its path: set path = ($VIRTUOSO_HOME/bin $path) Now I can type virtuoso and it will find the command. When I try to submit this to SGE, it cannot find the command, even though the path should be exported with qsub –V # qsub -cwd -V -j y -b y virtuoso Your job 207 ("virtuoso") has been submitted # cat virtuoso.o207 -sh: virtuoso: command not found What am I missing? Thanks John ________________________________ This email (including its attachments, if any) may be confidential and proprietary information of SMIC, and intended only for the use of the named recipient(s) above. Any unauthorized use or disclosure of this email is strictly prohibited. If you are not the intended recipient(s), please notify the sender immediately and delete this email from your computer. _______________________________________________ users mailing list users@gridengine.org<mailto:users@gridengine.org> https://gridengine.org/mailman/listinfo/users ________________________________ This email (including its attachments, if any) may be confidential and proprietary information of SMIC, and intended only for the use of the named recipient(s) above. Any unauthorized use or disclosure of this email is strictly prohibited. If you are not the intended recipient(s), please notify the sender immediately and delete this email from your computer.
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users