How do I run a task in multiple threads

YE
YE
Joined: 1 Nov 22
Posts: 1
Credit: 3772973
RAC: 7196
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: 4047
Credit: 48206035021
RAC: 33607182

you can't.

you can't.

_________________________________________________________________________

hadron
hadron
Joined: 27 Jan 23
Posts: 63
Credit: 116193253
RAC: 468310

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: 1914
Credit: 1449926144
RAC: 1290294

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: 5024
Credit: 18955965742
RAC: 6432557

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.