Thread 'python question'

Message boards : Questions and problems : python question
Message board moderation

To post messages, you must log in.

AuthorMessage
Matias Salimbene

Send message
Joined: 14 Jun 24
Posts: 7
Message 114369 - Posted: 29 Jul 2024, 13:55:27 UTC

Hello there ...

I need to execute a python script with boinc. I got my server app and running, I been testing create projects and apps. I'm somewhat familiar with Boinc overall. Now I need to setup an app that execute a python script. This script takes an input file, perform a computation and produces an output. Simple stuff.

In regards to executing python apps I've found PyBoinc (https://boinc.berkeley.edu/trac/wiki/PythonApps) although it looks abandoned (broken links, 12 years since last update). I've also read about PyMW here https://github.com/BOINC/boinc/wiki/PyMw, but that also seems abandoned (again, with broken links and old updates).

How could I approach this ? If take care of having python installed on the client devices, can I set up the app to simply execute my script using the clients python cli?

Thanks
ID: 114369 · Report as offensive     Reply Quote
ProfileKeith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 888
United States
Message 114370 - Posted: 29 Jul 2024, 21:10:14 UTC - in response to Message 114369.  

I'd suggest you contact the developers at the GPUGrid project. All of their apps are python based. They are experts at setting up a python environment and Boinc wrapper on client machines. It seems to be as simple as packaging a LARGE python environment for downloading as a task and simply, unpacking it and executing the included python scripts in the package.
ID: 114370 · Report as offensive     Reply Quote
kotenok2000
Avatar

Send message
Joined: 18 Feb 20
Posts: 20
Russia
Message 114686 - Posted: 15 Oct 2024, 11:58:48 UTC

If only it was possible to profile python environment to see what functions are accessed and then delete all files that aren't used.
ID: 114686 · Report as offensive     Reply Quote

Message boards : Questions and problems : python question

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.