From: Jonathan M. <jon...@bs...> - 2009-03-17 15:24:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I don't use gridletSubmit, instead of it, I use: int resourceID = << initialize this with the resource id you want to submit the gridlet to >> super.send(resourceID, 0, DataGridTags.DATAGRIDLET_SUBMIT, g); (Note that this is for DataGridlets, but basic GridSim package also has a definition for GRIDLET_SUBMIT) And afterwards I get the returning code: Sim_type_p tag = new Sim_type_p(GridSimTags.GRIDLET_RETURN); Sim_event ev = new Sim_event(); super.sim_get_next(tag, ev); That's all user grid escribió: > > > ---------- Forwarded message ---------- > From: *user grid* <use...@gm... <mailto:use...@gm...>> > Date: Mon, Mar 16, 2009 at 7:34 PM > Subject: help > To: gridsim-users <gri...@li... > <mailto:gri...@li...>> > > > I'm using gridsim 4.0 toolkit for my project. > i hav just now created the resources,users and gridlets in the grid > environment. > my next step would be to schedule the gridlets and allocate to resources. > > > my question is HOW TO SUBMIT A GRIDLET TO A RESOURCE? IS THERE ANY > FUNCTION IN THE TOOLKIT? > > i hav already tried gridletSubmit(Gridlet gl,int resourceID) > function..but i get errors..pl say how to give the gridlet to a > resource..pl... > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users - -- - ----------------------------------------------------------------------- Jonathan Martí Fraiz Storage Systems Research Group - Computer Sciences Department Barcelona Supercomputing Center - Centro Nacional de Supercomputación www : http://www.bsc.es/StorageSystems email : jonathan(dot)marti(at)bsc(dot)es phone : (0034) 934054281 - ----------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm/wKUACgkQ4cH1a6R2mCt1hACeKT/2jW893f+roPwmqwxqT61H OocAoLe9Ut/GyDej2oKoPVz8F+KWicgE =FJY6 -----END PGP SIGNATURE----- |