Welcome to MilkyWay@home

Maximum number of task


Advanced search

Message boards : Number crunching : Maximum number of task
Message board moderation

To post messages, you must log in.

AuthorMessage
Alessio Susi
Avatar

Send message
Joined: 8 Mar 15
Posts: 26
Credit: 56,654,765
RAC: 50,555
50 million credit badge4 year member badge
Message 67657 - Posted: 6 Jul 2018, 12:05:46 UTC
Last modified: 6 Jul 2018, 12:06:43 UTC

Is there a way to set a maximum number of tasks running simultaneously?
I have a Ryzen 7 1700 (8 cores, 16 threads) set to work with 15 cores but with M@H it uses all cores for CPU tasks, ignoring GPU ones.
MSI X370 Gaming Plus
AMD Ryzen 7 1700, 8 core / 16 thread 3.9 GHz
AMD Radeon Sapphire RX 480 4GB Nitro+
Nvidia GTX 1080 Ti Gaming X Trio
4x16 GB Corsair Vengeance RGB 3466 MHz

ID: 67657 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
wb8ili

Send message
Joined: 18 Jul 10
Posts: 72
Credit: 302,301,044
RAC: 256,879
300 million credit badge9 year member badgeextraordinary contributions badge
Message 67658 - Posted: 6 Jul 2018, 17:44:53 UTC

Create a file app_config.xml in the milkyway.cs.rpi.edu_milkway directory.

Place the following 3 lines of text in the file and save it.

<app_config>
<project_max_concurrent>4</project_max_concurrent>
</app_config>


On the BOINC Manager screen, under Options, click on Read config files.



Alternatively, on the BOINC Manager screen, under Options, Computing Preferences, Computing, set Use at most 50% of the CPU's
ID: 67658 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Alessio Susi
Avatar

Send message
Joined: 8 Mar 15
Posts: 26
Credit: 56,654,765
RAC: 50,555
50 million credit badge4 year member badge
Message 67659 - Posted: 6 Jul 2018, 18:04:09 UTC

Thank you 😉
MSI X370 Gaming Plus
AMD Ryzen 7 1700, 8 core / 16 thread 3.9 GHz
AMD Radeon Sapphire RX 480 4GB Nitro+
Nvidia GTX 1080 Ti Gaming X Trio
4x16 GB Corsair Vengeance RGB 3466 MHz

ID: 67659 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Thund3rb1rd

Send message
Joined: 8 Apr 08
Posts: 1
Credit: 6,424,547
RAC: 7,433
5 million credit badge10 year member badge
Message 67669 - Posted: 12 Jul 2018, 17:55:57 UTC

I'm trying to do the same thing, but I keep getting this error message:

Milkyway@Home: Notice from BOINC
Missing <app_config> in app_config.xml


I used NotepadXML to create this file:

<?xml version="1.0" encoding="utf-8"?>
<app_config>
<app>
<name>MilkyWay@Home</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>


The first line was inserted by NotepadXML and the <name> line is one of my efforts to resolve the error. Doesn't seem to matter whether either line is there... the same error is returned and the file doesn't seem to work.

Obviously, I'm doing something wrong, but I haven't a clue what.

Any suggestions?
ID: 67669 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
rjs5

Send message
Joined: 18 Nov 10
Posts: 17
Credit: 76,158,375
RAC: 0
50 million credit badge8 year member badge
Message 67684 - Posted: 23 Jul 2018, 16:39:20 UTC - in response to Message 67669.  

I'm trying to do the same thing, but I keep getting this error message:

Milkyway@Home: Notice from BOINC
Missing <app_config> in app_config.xml


I used NotepadXML to create this file:

<?xml version="1.0" encoding="utf-8"?>
<app_config>
<app>
<name>MilkyWay@Home</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>


The first line was inserted by NotepadXML and the <name> line is one of my efforts to resolve the error. Doesn't seem to matter whether either line is there... the same error is returned and the file doesn't seem to work.

Obviously, I'm doing something wrong, but I haven't a clue what.

Any suggestions?


I think the actual names of the M@H apps are: 'milkyway' and 'milkyway_nbody'

Try changing the "MilkyWay@Home" to the app name you are interested in.
ID: 67684 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilemikey
Avatar

Send message
Joined: 8 May 09
Posts: 2254
Credit: 350,109,862
RAC: 950,528
300 million credit badge10 year member badgeextraordinary contributions badge
Message 67685 - Posted: 24 Jul 2018, 10:34:09 UTC - in response to Message 67669.  

I'm trying to do the same thing, but I keep getting this error message:

Milkyway@Home: Notice from BOINC
Missing <app_config> in app_config.xml


I used NotepadXML to create this file:

<?xml version="1.0" encoding="utf-8"?>
<app_config>
<app>
<name>MilkyWay@Home</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>


The first line was inserted by NotepadXML and the <name> line is one of my efforts to resolve the error. Doesn't seem to matter whether either line is there... the same error is returned and the file doesn't seem to work.

Obviously, I'm doing something wrong, but I haven't a clue what.

Any suggestions?


Get rid of the name line and put it in the MilkyWay Project folder under c:\program data\boinc\projects\'milkyway'

You don't need the name line since it only affects milkyway and is in the milkyway folder.
ID: 67685 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Maximum number of task

©2019 Astroinformatics Group