with a list of BUDA variant names (i.e. plan classes).
Update as variants are added and deleted.
This is used in project preferences for 'Use NVIDIA' type buttons.
feeder: the shared-mem segment has a list of resources types
for which the project has work.
Need to include BUDA variants also.
Do this by scanning the 'buda_plan_classes' file (see above)
Note: this means that when the set of BUDA variants changes,
we need to restart the project
plan_class_spec.xml.sample:
The 'cuda' class had a max compute capability of 200.
Remove it.
Moved RadioButton definitions closer to the relevant controls.
Locale files now shoulw be defined in the main JSON file.
Add possibility to pass main JSON file as a parameter to the installer.exe.
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
If you make a variant of a BUDA app for a plan class
(e.g. NVIDIA GPU with CUDA)
this ensures that jobs submitted to that variant are sent
only to capable hosts,
and that the host usage and projected FLOPS are set correctly.
On the web side, we add a <plan_class> element to workunit.xml_doc.
This gets sent to the scheduler.
On the scheduler this required some reorganization.
As the scheduler scans jobs, it finds and caches
a BEST_APP_VERSION for each app.
This contains a HOST_USAGE.
In the case of BUDA, the host usage depends on the workunit,
not the app version.
We might scan several BUDA jobs
they'll all use the same APP_VERSION,
but they could have different plan classes
and therefore different HOST_USAGE.
So if we're looking at a job to send,
and the WU has a <plan_class> element,
call app_plan() to check the host capability and get the host usage.
Change add_result_to_reply() so that it takes a HOST_USAGE& argument,
rather than getting it from the BEST_APP_VERSION.
We do this in several places:
- sched_array (old scheduling policy)
- sched_score (new scheduling policy)
- sched_locality (locality scheduling)
- sched_resend (resending lost jobs)
- sched_assign (assigned jobs)
so all these functions work properly with BUDA apps.
-----------------
Also: the input and output templates for a BUDA app variant
depend only on the variant, not on batches or jobs.
So generate them when the variant is created,
and store them in the variant dir,
rather than generating them on batch submission
Also: fix bug in downloading batch output as .zip;
need to do zip -q
client: set up slot dir only at start of job.
This is a little tricky because of async file copy.
Deal with this by creating a 'boinc_setup_complete' file
after all files are copied.
These fixes address a problem where:
- wrapper job starts, unzips its output files, deletes the .zip
- job stops (e.g. client exits)
- job restarts; client sees that .zip file isn't in slot dir,
copies it again.
- wrapper starts, unzips .zip file again.
The fixes address both (new client, old wrapper) and (old client, new wrapper).
With this commit a new platform name 'windows_arm64' added.
Also, according to the https://learn.microsoft.com/en-us/windows/arm/apps-on-arm-x86-emulation, Windows 10 on ARM supports x86 applications, and Windows 11 on ARM supports x64 applications.
That is why we will be checking what version of Windows we are running on, and adding 'windows_intelx86' on Windows 10 and later (I suppose, this is will set always) and 'windows_x86_64' on Windows 11 and later (nothing later at the moment, but we are looking into the future!).
This fixes#5934.
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Specifies cmdline args for all jobs in batch;
you can also specify per-job args, which come after.
create_work: add logic to support the above;
also fix bug involving pointers to stack vars (big no-no)
- Replace icons
- Remove unused dialog
- Remove SetAllUsers.dll
- Remove Print LA action (I don't believe anybody still uses it). If required - it could be always implemented.
- Replace ISSetupAllUsers 3rd-party function
- Remove unused icons
- Convert custom build target to custom build step to fix build of MSI file when only *.json file was changed.
- Remove SFHelper.dll
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
correctly show # of in progress, error, done, unsent jobs
fraction done is frac of success jobs
- Add 'verbose' checkbox for BUDA job submit.
docker_wrapper prints stuff to stderr (can view on result page)
- fix bugs in non-BUDA submit pages