JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
March 24, 2023, 07:56:19 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  

Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Developers help / Re: [HELP-JPPF EXECUTION ORDER]
« Last post by lolo on March 25, 2021, 07:46:49 AM »
Hello hoho23,

Please correct me if I'm mistaken, but it looks like you need to specify dependencies between your jobs. This seems ot be a perfect fit for the job dependencies feature of JPPF. Could you try this out and let us know if this works for you? There is also a dedicated sample that may help you get started.

I hope this helps,
-Laurent
32
Developers help / [HELP-JPPF EXECUTION ORDER]
« Last post by hoho23 on March 24, 2021, 04:31:15 PM »
I am working on a project that uses JPPF for optimized Computation. Some times I need to run a code snippet on nodes before receiving a job from the server. The code to run depends on the job type submitted by the client. How can I run the code automatically on nodes before receiving jobs from the server or client taking into consideration the job type?

I need your help and I will be grateful for your help!

Thanks,
hoho23.
33
Forums / very basic question
« Last post by sherry on March 19, 2021, 02:55:15 AM »
Dear guys,

i am a little bit confused between different terminologies such as grid, parallel, distributed computing, cloud and other terminologies. What i am trying to reach is to increase my processing power using a very small testing and learning clusture that has 3 machines, 1 mac, 1 win and 1 linux. But the final program lets say is a black box exe file, i did not write it. I mean it is not written in small jobs concept. I want to get its output. This output needs some common resources and processing power on the different computers that are on the same subnet of the network. Is it possible to scale in future easily.

could you please guide me, tell me what i need? is it distributed or parallel and can i reach it with this program?

thank you
34
Forums / Re: Please post a message when you register
« Last post by sherry on March 19, 2021, 02:50:14 AM »
hello
35
Forums / Re: Please post a message when you register
« Last post by sherry on March 19, 2021, 02:48:27 AM »
hello
36
Developers help / Re: Getting Result from BroadcastJob
« Last post by lolo on February 19, 2021, 05:30:35 PM »
Hello,

Quote
For the two codes below there is no result since the job is set as Broadcast job

That is true, however I meant to say that the 2 methods JPPFClient.submit() and JPPFJob.awaitResults() that you mentiined are blocking, and will only return when the job has completed. I hope this clarifies.

-Laurent
37
Developers help / Re: Getting Result from BroadcastJob
« Last post by hoho23 on February 19, 2021, 09:57:41 AM »
Hello,

For the two codes below there is no result since the job is set as Broadcast job ( jppfJob.getSLA().setBroadcastJob(true); )  :
Code: [Select]
List<Task<?>> results = jppfClient.submit(jppfJob);or
Code: [Select]
jppfClient.submitAsync(jppfJob);
List<Task<?>> results = jppfJob.awaitResults();

In this case,The only way to know whether the job is completed or not is to regsiter a job listener and override its jobEnded() method.

Thank you for your help!

hoho23
38
Developers help / Re: Getting Result from BroadcastJob
« Last post by lolo on February 16, 2021, 07:24:36 AM »
Hello,

If all you need is to know whether the job has completed, then you can use several techniques thart are easy to implement:

- if you submit the job synchrnonously with JPPFClient.submit(), then when the submit() method returns, the job has completed. Thie list of tasks that is returned is the initial list of tasks that were put into the job.
- if you submit the job asynchronusly with JPPFClient.submitAsync(), then you can later use of the JPPFJob.awaitResults() or JPPFJob.get() methods, which will block until completion of the job
- you may also regsiter a job listener and override its jobEnded() method, so that you can trigger an action when notified of the job's completion

I hope this helps,
-Laurent
39
Developers help / Getting Result from BroadcastJob
« Last post by hoho23 on February 15, 2021, 01:11:54 PM »
Hello,

I am using JPPF API to optimize an application executing multiple tasks.
Actually I am using the method "jppfJob.getSLA().setBroadcastJob(true)" since I need to execute a job on all the nodes present in the grid.
At the same time, I need a result from this job, precisely I need to know whether the execution is completed or not (in other words I need to know the state of the execution), nut since the broadcast job didn't return anything I don't know what to do to solve this problem. I need your help to know if there is a solution to implement in order to get result from this job.
Waiting for your interaction, have a nice day!

hoho23.
40
Troubleshooting / Re: Building The ExtendedClassLoading Sample-Failed
« Last post by hoho23 on February 15, 2021, 09:20:54 AM »
Thanks for your help.
The sample is working perfectly  :)
Pages: 1 2 3 [4] 5 6 ... 10
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads