swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Problems installing Drone


From: Rick Riolo
Subject: Re: [Swarm-Support] Problems installing Drone
Date: Wed, 29 Jun 2005 06:28:21 -0400 (EDT)

there is an bug in your program,
or in the drone control file, or both.
eg, parameters are illegal, misspecified, etc.
look to see if you have an errorlogs/ directory,
and if so, see if there are msgs there.
or if you have an experiement-*/* direoctory,
look down in there for stderr.* files.
look for error msgs from your program there.

you could also have problems if you don't have
proper dir permissions for the rootDir.

- r

Rick Riolo                           address@hidden
Center for the Study of Complex Systems (CSCS)
4477 Randall Lab
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://cscs.umich.edu/~rlr

On Tue, 28 Jun 2005, Mukul Patil wrote:

> Date: Tue, 28 Jun 2005 22:00:55 -0400 (EDT)
> From: Mukul Patil <address@hidden>
> Reply-To: Swarm Support <address@hidden>
> To: Swarm Support <address@hidden>
> Subject: Re: [Swarm-Support] Problems installing Drone
>
>
>  Thanks for the reply, I put back the
> APPLIBS=$(EXPTOOLSPATH)/libUM-ExpTools-4.a line (minus -lspace) and now
> 'make' runs beautifully. I already had ExpTools installed. Drone runs fine
> too and all the report files are being generated as expected. However
> there still is a glitch. In the email that I get on completion of the
> experiment, instead of an 'Experiment Finished' and the time taken I get an 
> error, the entire text of which is as follows:
>
> Subject: Experiment experiment-23 ERROR
> Experiment experiment-23: DoLocalCmd: child process exited abnormally
> while executing
> "error "DoLocalCmd: $cmdResult""
>     invoked from within
> "if [catch {eval exec $cmd} cmdResult] {
>         error "DoLocalCmd: $cmdResult"
>     }"
>     (procedure "DoLocalCmd" line 8)
>     invoked from within
> "DoLocalCmd $outputPath $cmd"
>     (procedure "DoOneRun" line 53)
> invoked from within
> "DoOneRun $inputPath $outputPath $run $curSweepValues"
>     (procedure "DoCase" line 18)
>     invoked from within
> "DoCase $curSweepValues"
>     (procedure "DoSweepRecursion" line 23)
>     invoked from within
> "DoSweepRecursion $curVar $curSweepValues"
>     (procedure "DoSweep" line 26)
>     invoked from within
> "DoSweep     "
>
>
>  Everything else seems to be running fine, so what could be the reason for
> this?
>
>  Incidently I still have omitted references to the other dynamic
> libraries, it seems the program doesn't really need them. If I put them
> back I get a complain that all those .so files couldn't be found in
> /usr/lib/swarm/. Infact the only .so file I have in /usr/lib/swarm/ is
> libswarm.so (Version 0.0.0). 'rpm -ql swarm' also shows that as the only
> library file installed. Is that the way it should be or am I missing
> something?
>
>
>                                                       Thank You,
>                                                       Mukul Patil.
>
>
>
> On Mon, 27 Jun 2005, Rick Riolo wrote:
>
> >
> > no, you are not right in deleting all those references.
> > you need most/all of those (depending on which parts
> > of swarm your model uses).
> >
> > first, to clarify one point:
> > - you don't need the Um-ExpTools to use drone.
> >   you just need a program (eg model) that can be run
> >   in the way the drone doc says it runs programs.
> >
> > What you need to do to fix the error msg you describe below:
> >
> > - the UM-ExpTools lib has classes to make processing
> >   of run-time parameters easier and "drone compliant".
> >   To use that lib you need to
> >     - compile the lib
> >     - in the makefile for your model, you set
> >            EXPTOOLSPATH=
> >       the path where you compiled the lib
> >       then put that line back in:
> >          APPLIBS=$(EXPTOOLSPATH)/libUM-ExpTools-4.a"
> >       except leave the lspace off the line.
> >       THat was there because at one time Swarm itself had
> >       a separate lib for space related classes, but that
> >       stuff is in the basic swarm libs now.
> >
> > - r
> >
> > Rick Riolo                           address@hidden
> > Center for the Study of Complex Systems (CSCS)
> > 4477 Randall Lab
> > University of Michigan         Ann Arbor MI 48109-1120
> > Phone: 734 763 3323                  Fax: 734 763 9267
> > http://cscs.umich.edu/~rlr
> >
> > On Mon, 27 Jun 2005, Mukul Patil wrote:
> >
> > > Date: Mon, 27 Jun 2005 16:32:35 -0400 (EDT)
> > > From: Mukul Patil <address@hidden>
> > > Reply-To: Swarm Support <address@hidden>
> > > To: Swarm Support <address@hidden>
> > > Subject: Re: [Swarm-Support] Problems installing Drone
> > >
> > >
> > >  Thanks for the reply, installing from the RPM worked.
> > >  Now I have another question:
> > >  When I 'make' my model I get two warnings multiple number of times:
> > >  1) undefined reference to `GlobalRDebug'
> > >    This occurs whenever the code uses the DMSG() function
> > >  2) undefined reference to `uniformDR'
> > >    This occurs whenever that line in the code uses the getUniformD()
> > > function
> > >
> > >  Finally at the end of the nake process I get:
> > >  collect2: ld returned 1 exit status
> > >  make: *** [team] Error 1
> > >
> > >  Surprisingly inspite of the error the .o files are being generated.
> > >
> > >  This model runs fine on another machine with an older version of Swarm.
> > > While running it with Swarm 2.2-5 I had to delete the "APPLIBS=-lspace
> > > $(EXPTOOLSPATH)/libUM-ExpTools-4.a" line from the Makefile. I have also
> > > deleted all references in the code to the libspace.so, libanalysis.so,
> > > libsimtoolsgui.so, libsimtools.so, librandom.so, libtkobjc.so,
> > > libtclobjc.so, libobjectbase.so, libactivity.so, libdefobj.so,
> > > libcollections.so, libmisc.so and libobjc.so libraries as the only library
> > > the has been installed in /usr/lib/swarm/ is the libswarm library.
> > >
> > > Am I correct in deleting those references to the other libraries?, Are all
> > > of them now included in libswarm?
> > >
> > >
> > >                                                    Thank You,
> > >                                                    Mukul Patil.
> > >
> > >
> > >
> > >
> > >
> > > On Thu, 23 Jun 2005, Paul Johnson wrote:
> > >
> > > > I don't have RH EL4, but I do have Fedora Core 4, which is closely
> > > > related.  I'd suggest you do not try to build Expect yourself, but
> > > > rather install the expect rpm.  If RH EL does not have it, get the one
> > > > from Fedora.  After installing, you will have this:
> > > >
> > > > # rpm -ql expect
> > > > /usr/bin/autoexpect
> > > > /usr/bin/dislocate
> > > > /usr/bin/expect
> > > > /usr/bin/ftp-rfc
> > > > /usr/bin/kibitz
> > > > /usr/bin/lpunlock
> > > > /usr/bin/mkpasswd
> > > > /usr/bin/passmass
> > > > /usr/bin/rftp
> > > > /usr/bin/rlogin-cwd
> > > > /usr/bin/timed-read
> > > > /usr/bin/timed-run
> > > > /usr/bin/unbuffer
> > > > /usr/bin/weather
> > > > /usr/bin/xkibitz
> > > >
> > > > In the drone script, the top has
> > > >
> > > > #!/usr/bin/expect --
> > > > # You'll have to change the above line to match your installation
> > > >
> > > >
> > > > I'm still using the old drone, version 1.03.  There is nothing to
> > > > compile with that one, so I don't understand the rest of your question.
> > > >
> > > >
> > > > Mukul Patil wrote:
> > > > >  Hi,
> > > > >     I am trying to install drone on a RedHat Enterprise Linux 
> > > > > (version 4)
> > > > > machine. I have installed tcl 8.4.0 amd expect 5.43.
> > > > >     I changed the path to expect in the drone file. Compiling drone 
> > > > > with
> > > > > 'make install CC=gcc' seems to run fine with no errors. The output I 
> > > > > get
> > > > > on making is:
> > > > >
> > > > > make[1]: Entering directory `/home/mpatil/drone-1.03/examples/stublet'
> > > > > make[1]: Nothing to be done for `install'.
> > > > > make[1]: Leaving directory `/home/mpatil/drone-1.03/examples/stublet'
> > > > > (cd examples/gawrap; make install)
> > > > > make[1]: Entering directory `/home/mpatil/drone-1.03/examples/gawrap'
> > > > > chmod +x gawrap
> > > > > make[1]: Leaving directory `/home/mpatil/drone-1.03/examples/gawrap'
> > > > > (cd examples/lilgpwrap; make install)
> > > > > make[1]: Entering directory 
> > > > > `/home/mpatil/drone-1.03/examples/lilgpwrap'
> > > > > chmod +x lilgpwrap
> > > > > make[1]: Leaving directory 
> > > > > `/home/mpatil/drone-1.03/examples/lilgpwrap'
> > > > > chmod +x drone
> > > > >
> > > > > But when I try to run 'drone -v' I get an error:
> > > > > address@hidden drone-1.03]# ./drone -v
> > > > > bash: ./drone: /usr/local/bin/expect-5.43: bad interpreter: Permission
> > > > > denied
> > > > >
> > > > > I am running this as the root user and moreover I have set the 
> > > > > permissions
> > > > > for the expect directory to +777 for all files so I do not see why I 
> > > > > am
> > > > > getting a Permission denied error.
> > > > >
> > > > > I would appreciate if anyone could help me in this installation.
> > > > >
> > > > >
> > > > >                                                             Thank You,
> > > > >                                                            Mukul 
> > > > > Patil.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Support mailing list
> > > > > address@hidden
> > > > > http://www.swarm.org/mailman/listinfo/support
> > > > >
> > > >
> > > >
> > > > --
> > > > Paul E. Johnson                       email: address@hidden
> > > > Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
> > > > 1541 Lilac Lane, Rm 504
> > > > University of Kansas                  Office: (785) 864-9086
> > > > Lawrence, Kansas 66044-3177           FAX: (785) 864-5700
> > > > _______________________________________________
> > > > Support mailing list
> > > > address@hidden
> > > > http://www.swarm.org/mailman/listinfo/support
> > > >
> > > _______________________________________________
> > > Support mailing list
> > > address@hidden
> > > http://www.swarm.org/mailman/listinfo/support
> > >
> > _______________________________________________
> > Support mailing list
> > address@hidden
> > http://www.swarm.org/mailman/listinfo/support
> >
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]