[Swift-devel] swift tree getting build options from cog?

Mihael Hategan hategan at mcs.anl.gov
Mon May 24 20:58:35 CDT 2010


Now clearly when you try to breed a giraffe with a pig, you are unlikely
to get a pony.

But you could do a diff between trunk and branch and try to select only
the necessary features. You will need the hook(s) for the CDM stuff, but
you can probably add noops for the stage-in/out code (i.e. just copy the
channel argument definitions or remove their use in swift trunk).

On Mon, 2010-05-24 at 20:52 -0500, Allan Espinosa wrote:
> It seems that swift-trunk depends on specific cog-trunk coasters
> classes that are not compatible and thus still breaks the build:
> 
>      [echo] [swift]: COMPILE
>     [mkdir] Created dir: /autonfs/home/aespinosa/swift/cogkit/modules/swift/buil
> d
>     [javac] Compiling 357 source files to /autonfs/home/aespinosa/swift/cogkit/m
> odules/swift/build
>     [javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/globus/sw
> ift/data/policy/AllocationHook.java:6: cannot find symbol
>     [javac] symbol  : class Hook
>     [javac] location: package org.globus.cog.abstraction.coaster.service.job.man
> ager
>     [javac] import org.globus.cog.abstraction.coaster.service.job.manager.Hook;
>     [javac]                                                               ^
>     [javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/globus/swift/data/policy/AllocationHook.java:13:
> cannot find symbol
>     [javac] symbol: class Hook
>     [javac] public class AllocationHook extends Hook
>     [javac]                                     ^
>     [javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/griphyn/vdl/karajan/lib/Execute.java:37:
> cannot find symbol
>     [javac] symbol  : variable C_STAGEIN
>     [javac] location: class org.griphyn.vdl.karajan.lib.Execute
>     [javac]                             A_REPLICATION_CHANNEL,
> A_JOBID, C_STAGEIN, C_STAGEOUT, C_CLEANUP });
>     [javac]                                                                 ^
>     [javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/griphyn/vdl/karajan/lib/Execute.java:37:
> cannot find symbol
>     [javac] symbol  : variable C_STAGEOUT
>     [javac] location: class org.griphyn.vdl.karajan.lib.Execute
>     [javac]                             A_REPLICATION_CHANNEL,
> A_JOBID, C_STAGEIN, C_STAGEOUT, C_CLEANUP });
>     [javac]
>                 ^
>     [javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/griphyn/vdl/karajan/lib/Execute.java:37:
> cannot find symbol
>     [javac] symbol  : variable C_CLEANUP
>     [javac] location: class org.griphyn.vdl.karajan.lib.Execute
>     [javac]                             A_REPLICATION_CHANNEL,
> A_JOBID, C_STAGEIN, C_STAGEOUT, C_CLEANUP });
>     [javac]
>                             ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
> 
> 
> 2010/5/24 Mihael Hategan <hategan at mcs.anl.gov>:
> > Re: [Swift-devel] swift tree getting build options from cog?
> >
> > That's right. Edit modules/../mbuild.xml and change force.java.version
> > to 1.5.
> >
> > On Mon, 2010-05-24 at 20:04 -0500, Allan Espinosa wrote:
> > [...]





More information about the Swift-devel mailing list