Picking up an old thread. I ran command qsub -V -b y -cwd -now n -j y env and in the output log it doesn't contain the path in the current shell, which should be: --------------------------------------------- # echo $path /home/sge/sge6.2u6/bin/lx24-amd64 /tools/cadence/virtuoso/IC617.500.0900_20170202/tools/dracula/bin /tools/cadence/virtuoso/IC617.500.0900_20170202/tools/dfII/bin /tools/cadence/virtuoso/IC617.500.0900_20170202/tools/bin /tools/cadence/virtuoso/IC617.500.0900_20170202/bin /home/sge/sge6.1/bin/lx24-amd64 /home/sge/sge6.2u6/bin/lx24-amd64 /bin /usr/bin /usr/local/bin /usr/X11R6/bin /home/johnt/bin . /home/sge/bin /home/DI/TOOLS/bin . /home/IPproj/IOproject/quan/Flatten -----------------------------------------------
Instead this is the output: ------------------------------------------------ johnt@ibm044: /home/johnt/temp # more env.o5032117 |grep -i path MANPATH=/home/sge/sge6.2u6/man:/usr/share/man:/usr/X11R6/man:/usr/kerberos/man PATH=/home/sge/sge6.2u6/bin/lx24-amd64:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/home/johnt/bin:. OPERA_PLUGIN_PATH=/usr/java/jre1.5.0_01/plugin/i386/ns7 NPX_PLUGIN_PATH=/usr/java/jre1.5.0_01/plugin/i386/ns7 LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/lib64:/usr/local/lib64 SGE_BINARY_PATH=/home/sge/sge6.2u6/bin/lx24-amd64 SGE_O_PATH=/home/sge/sge6.2u6/bin/lx24-amd64:/tools/cadence/virtuoso/IC617.500.0900_20170202/tools/dracula/bin:/tools/cadence/virtuoso/IC617.500.0900_20170202/tools/dfII/bin:/tools/cadence/virtuoso/IC617.500.0900_20170202/tools/bin:/tools/cadence/virtuoso/IC617.500.0900_20170202/bin:/home/sge/sge6.1/bin/lx24-amd64:/home/sge/sge6.2u6/bin/lx24-amd64:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/home/johnt/bin:.:/home/sge/bin:/home/DI/TOOLS/bin:.:/home/IPproj/IOproject/quan/Flatten SGE_STDIN_PATH=/dev/null SGE_STDOUT_PATH=/home/johnt/temp/env.o5032117 SGE_STDERR_PATH=/home/johnt/temp/env.o5032117 SGE_CWD_PATH=/home/johnt/temp johnt@ibm044: /home/johnt/temp # -------------------------------------------------------------- Is this a bug of sge6? -----Original Message----- From: Reuti [mailto:re...@staff.uni-marburg.de] Sent: Wednesday, December 21, 2016 7:34 To: John_Tai Cc: users@gridengine.org Subject: Re: [gridengine users] qsub EDA tool > Am 21.12.2016 um 03:52 schrieb John_Tai <john_...@smics.com>: > > 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. Maybe there are other files like ~/.tcshrc which are used instead? It depends on some compile time options of tcsh for the order they are read. > 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 As I mentioned before: -V might get confusing results in a later point when the job finally starts. > # qsub -cwd -V -j y -b y virtuoso > Your job 207 ("virtuoso") has been submitted # cat virtuoso.o207 > -sh: virtuoso: command not found You can investigate this by submitting: $ qsub -V -b y env What's in the output file "env.o…"? -- Reuti > > 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 > 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