How do I run a task in multiple threads

YE
YE
Joined: 1 Nov 22
Posts: 1
Credit: 3612890
RAC: 0
Topic 231379

I want to run a task in 8 or 16 threads instead of a thread per task, how do I do that

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3965
Credit: 47214362642
RAC: 65388748

you can't.

you can't.

_________________________________________________________________________

hadron
hadron
Joined: 27 Jan 23
Posts: 62
Credit: 103802356
RAC: 633996

2300511685 wrote: I want to

2300511685 wrote:

I want to run a task in 8 or 16 threads instead of a thread per task, how do I do that

It is possible only if the tasks are written so they may be run in more than just one thread. AFAIK no Einstein tasks can do so.

If you are running such tasks (such as ATLAS or CMS from LHC), you need to create an app_config.xml file in the appropriate directory, eg (for LHC) /var/lib/boinc/projects/lhcathome.cern.ch_lhcathome/

How to set up such a file is discussed here: https://boinc.berkeley.edu/wiki/Client_configuration#Project-level_configuration If you ever encounter such a project, and need help setting up the app_config.xml file, look me up either here or on LHC@Home, and I'll go through it with you. It's actually very simple and easy to understand.

MAGIC Quantum Mechanic
MAGIC Quantum M...
Joined: 18 Jan 05
Posts: 1891
Credit: 1415061107
RAC: 1167285

But you only have to do that

But you only have to do that with Linux and with Windows there is no directory work and you just tell it to do that in your account *Preferences for this project* 

 

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4969
Credit: 18771869002
RAC: 7226390

Preferences or directories

Preferences or directories are beside the point.  You can't run ANY Einstein task as multithreaded since NO Einstein app is coded for that behavior.

You can't do anything about that in any preference or directory setting.

As Ian posted in the 1st reply.

Nope, it isn't possible.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.