[GE users] qmake and Unknown option -inherit

christophe.caron at jouy.inra.fr christophe.caron at jouy.inra.fr
Mon Apr 11 08:17:53 BST 2005


Hello


Yes it seems there was conflict with qt qmake !
Now i m using the sge qmake but i've another message after the sarting
qmake


#/home/sge/bin/lx24-x86/qmake -cwd   -verbose -pe make 1-3 --
dynamic task allocation mode
sge_argv[0] = /home/sge/bin/lx24-x86/qmake
sge_argv[1] = -cwd
sge_argv[2] = -verbose
sge_argv[3] = -pe
sge_argv[4] = make
sge_argv[5] = 1-3
gmake_argv[0]  = /home/sge/bin/lx24-x86/qmake
determine qmake startmode
setting default options: -l arch=lx24-x86
creating scheduled qmake: 16
argv[  0] = qrsh
argv[  1] = -noshell
argv[  2] = -cwd
argv[  3] = -verbose
argv[  4] = -pe
argv[  5] = make
argv[  6] = 1-3
argv[  7] = -l
argv[  8] = arch=lx24-x86
argv[  9] = /home/sge/bin/lx24-x86/qmake
argv[ 10] = -inherit
argv[ 11] = -verbose
argv[ 12] = -cwd
argv[ 13] = -l
argv[ 14] = arch=lx24-x86
argv[ 15] = --
waiting for interactive job to be scheduled ...
Your interactive job 34339 has been successfully scheduled.
Establishing /usr/bin/ssh session to host n33.jouy.inra.fr ...
sge_argv[0] = /home/sge/bin/lx24-x86/qmake
sge_argv[1] = -inherit
sge_argv[2] = -verbose
sge_argv[3] = -cwd
sge_argv[4] = -l
sge_argv[5] = arch=lx24-x86
gmake_argv[0]  = /home/sge/bin/lx24-x86/qmake
determine qmake startmode
inserting -j option from NSLOTS environment: -j 3
sge hostfile = /home/sge/default/spool/n33/active_jobs/34339.1/pe_hostfile
qmake  hostfile = /tmp/34339.1.make/qmake_hostfile
qmake  lockfile = /tmp/34339.1.make/qmake_lockfile
creating qmake hostfile
number of slots for qmake execution is 3
enabling next task to be executed as Grid Engine parallel task
/home/sge/bin/lx24-x86/qmake  all-recursive
detected recursive make - starting on local machine
n33.jouy.inra.fr
starting job:
args[  0] = /home/sge/bin/lx24-x86/qmake
args[  1] = -verbose
args[  2] = -inherit
args[  3] = -cwd
args[  4] = --
args[  5] = all-recursive
gmake requesting status of dead child processes
waiting for child failed: timeout
gmake requesting status of dead child processes
sge_argv[0] = /home/sge/bin/lx24-x86/qmake
sge_argv[1] = -verbose
sge_argv[2] = -inherit
sge_argv[3] = -cwd
gmake_argv[0]  = /home/sge/bin/lx24-x86/qmake
gmake_argv[1]  = all-recursive
determine qmake startmode
inserting -j option from NSLOTS environment: -j 3
sge hostfile = /home/sge/default/spool/n33/active_jobs/34339.1/pe_hostfile
qmake  hostfile = /tmp/34339.1.make/qmake_hostfile
qmake  lockfile = /tmp/34339.1.make/qmake_lockfile
creating qmake hostfile
number of slots for qmake execution is 3
enabling next task to be executed as Grid Engine parallel task

this call might lead to a recursive qmake call:
set fnord $MAKEFLAGS; amf=$2;  dot_seen=no;  target=`echo all-recursive |
sed s/-recursive//`;  list='lib zlib diff src man doc contrib tools
windows-NT os2 emx vms'; for subdir in $list; do  echo "Making $target in
$subdir";  if test "$subdir" = "."; then  dot_seen=yes;
local_target="$target-am";  else  local_target="$target";  fi;  (cd
$subdir && /home/sge/bin/lx24-x86/qmake  $local_target)  || case "$amf" in
*=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test
"$dot_seen" = "no"; then  /home/sge/bin/lx24-x86/qmake  "$target-am" ||
exit 1;  fi; test -z "$fail"
starting on local machine

n33.jouy.inra.fr
saving sge options: RECURSIVE_QMAKE_OPTIONS=-inherit
-cwd
-verbose
starting job:
args[  0] = /bin/sh
args[  1] = -c
args[  2] = set fnord $MAKEFLAGS; amf=$2;  dot_seen=no;  target=`echo
all-recursive | sed s/-recursive//`;  list='lib zlib diff src man doc
contrib tools windows-NT os2 emx vms'; for subdir in $list; do  echo
"Making $target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes;
local_target="$target-am";  else  local_target="$target";  fi;  (cd
$subdir && /home/sge/bin/lx24-x86/qmake  $local_target)  || case "$amf" in
*=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test
"$dot_seen" = "no"; then  /home/sge/bin/lx24-x86/qmake  "$target-am" ||
exit 1;  fi; test -z "$fail"
gmake requesting status of dead child processes
waiting for child failed: timeout
gmake requesting status of dead child processes
Making all in lib
sge_argv[0] = -inherit
sge_argv[1] = -cwd
sge_argv[2] = -verbose
gmake_argv[0]  = /home/sge/bin/lx24-x86/qmake
gmake_argv[1]  = all
determine qmake startmode
inserting -j option from NSLOTS environment: -j 3
sge hostfile = /home/sge/default/spool/n33/active_jobs/34339.1/pe_hostfile
qmake  hostfile = /tmp/34339.1.make/qmake_hostfile
qmake  lockfile = /tmp/34339.1.make/qmake_lockfile
creating qmake hostfile
number of slots for qmake execution is 3
enabling next task to be executed as Grid Engine parallel task
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/kerberos/include    -g
-O2 -MT argmatch.o -MD -MP -MF ".deps/argmatch.Tpo" \
  -c -o argmatch.o `test -f 'argmatch.c' || echo './'`argmatch.c; \
then mv -f ".deps/argmatch.Tpo" ".deps/argmatch.Po"; \
else rm -f ".deps/argmatch.Tpo"; exit 1; \
fi
obtained lock to qmake lockfile
clearing lock to hostfile
n33.jouy.inra.fr
next host for qmake job is n33.jouy.inra.fr
starting job:
args[  0] = qrsh
args[  1] = -noshell
args[  2] = -verbose
args[  3] = -inherit
args[  4] = -cwd
args[  5] = n33.jouy.inra.fr
args[  6] = /bin/sh
args[  7] = -c
args[  8] = if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/kerberos/include    -g -O2 -MT argmatch.o -MD -MP -MF
".deps/argmatch.Tpo"  -c -o argmatch.o `test -f 'argmatch.c' || echo
'./'`argmatch.c;  then mv -f ".deps/argmatch.Tpo" ".deps/argmatch.Po";
else rm -f ".deps/argmatch.Tpo"; exit 1;  fi
qmake: *** wait: No child processes.  Stop.
qmake: *** Waiting for unfinished jobs....
qmake: *** wait: No child processes.  Stop.
gmake requesting status of dead child processes
obtained lock to qmake lockfile
unlock_hostentry 0
clearing lock to hostfile
qmake: *** [argmatch.o] Error 2
cleanup of remote mechanism
qmake: *** [all-recursive] Error 1
cleanup of remote mechanism
qmake: *** [all] Error 2
cleanup of remote mechanism
/usr/bin/ssh exited with exit code 0
reading exit code from shepherd ... 2


If you have any idea ?
thanks

cc


> You're using TrollTech's QT qmake (a makefile pre-parser i believe). Make sure
> the SGE qmake is in your path before QT's qmake and you should be fine.
> - Marcel
>
>
> christophe.caron at jouy.inra.fr wrote:
> > Below the same command in verbose mode
> >
> > The problems seems to be with qrsh ?
> >
> > $ qmake -verbose -pe make 1-3 --
> > dynamic task allocation mode
> > sge_argv[0] = qmake
> > sge_argv[1] = -verbose
> > sge_argv[2] = -pe
> > sge_argv[3] = make
> > sge_argv[4] = 1-3
> > gmake_argv[0]  = qmake
> > determine qmake startmode
> > setting default options: -l arch=lx24-x86
> > creating scheduled qmake: 14
> > argv[  0] = qrsh
> > argv[  1] = -noshell
> > argv[  2] = -verbose
> > argv[  3] = -pe
> > argv[  4] = make
> > argv[  5] = 1-3
> > argv[  6] = -l
> > argv[  7] = arch=lx24-x86
> > argv[  8] = qmake
> > argv[  9] = -inherit
> > argv[ 10] = -verbose
> > argv[ 11] = -l
> > argv[ 12] = arch=lx24-x86
> > argv[ 13] = --
> > waiting for interactive job to be scheduled ...
> > Your interactive job 34318 has been successfully scheduled.
> > Establishing /usr/bin/ssh session to host n34.jouy.inra.fr ...
> > ***Unknown option -inherit
> > Usage: qmake [mode] [options] [files]
> >
> >
> >
> >
> >    QMake has two modes, one mode for generating project files based on
> > some heuristics, and the other for generating makefiles. Normally you
> > shouldn't need to specify a mode, as makefile generation is the default
> > mode for qmake, but you may use this to test qmake on an existing
> > project
> >
> > Mode:
> >         -project       Put qmake into project file generation mode
> >                        In this mode qmake interprets files as files to
> >                        be built,
> >                        defaults to *.cpp; *.l; *.y; *.ui
> >         -makefile      Put qmake into makefile generation mode (default)
> >                        In this mode qmake interprets files as project
> > files to
> >                        be processed, if skipped qmake will try to find a
> > project
> >                        file in your current working directory
> >
> > Warnings Options:
> >         -Wnone         Turn off all warnings
> >         -Wall          Turn on all warnings
> >         -Wparser       Turn on parser warnings
> >         -Wlogic        Turn on logic warnings
> >
> > Options:
> >          * You can place any variable assignment in options and it will
> > be     *
> >          * processed as if it was in [files]. These assignments will be
> > parsed *
> >          * before [files].
> >       *
> >         -o file        Write output to file
> >         -unix          Run in unix mode
> >         -win32         Run in win32 mode
> >         -macx          Run in Mac OS X mode
> >         -d             Increase debug level
> >         -t templ       Overrides TEMPLATE as templ
> >         -tp prefix     Overrides TEMPLATE so that prefix is prefixed
> > into the value
> >         -help          This help
> >         -v             Version information
> >         -after         All variable assignments after this will be
> >                        parsed after [files]        [makefile mode only]
> >         -cache file    Use file as cache           [makefile mode only]
> >         -spec spec     Use spec as QMAKESPEC       [makefile mode only]
> >         -nocache       Don't use a cache file      [makefile mode only]
> >         -nodepend      Don't generate dependencies [makefile mode only]
> >         -nomoc         Don't generate moc targets  [makefile mode only]
> >         -nopwd         Don't look for files in pwd [ project mode only]
> >         -norecursive   Don't do a recursive search [ project mode only]
> > /usr/bin/ssh exited with exit code 0
> > reading exit code from shepherd ... 154
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >>Can you put add -verbose in the qmake option??
> >>
> >>Rayson
> >>
> >>
> >>
> >>>I've some erros with qmake :
> >>>#qmake -pe make 1-15 --
> >>>***Unknown option -inherit
> >>
> >>---------------------------------------------------------
> >>Get your FREE E-mail account at http://www.eseenet.com !
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> >>For additional commands, e-mail: users-help at gridengine.sunsource.net
> >>
> >
> >
> >
> > Prenez note de ma nouvelle adresse : christophe.caron at jouy.inra.fr
> >
> > -----------------------------------------------------------
> >  Christophe Caron
> >  Mathematique, Informatique et Genome
> >  INRA - Domaine de Vilvert 78350 Jouy-en-Josas
> >  Tel: 01-34-65-28-88  Email: christophe.caron at jouy.inra.fr
> > -----------------------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> > For additional commands, e-mail: users-help at gridengine.sunsource.net
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>


Prenez note de ma nouvelle adresse : christophe.caron at jouy.inra.fr

-----------------------------------------------------------
 Christophe Caron
 Mathematique, Informatique et Genome
 INRA - Domaine de Vilvert 78350 Jouy-en-Josas
 Tel: 01-34-65-28-88  Email: christophe.caron at jouy.inra.fr
-----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list