You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,20 +50,22 @@ No more steps are needed as AFS can handle the I/O permissions for the Xboinc se
50
50
51
51
**Important!!! If you are using EOS, you need to set the proper permissions for the Xboinc server to access your folder!!**
52
52
53
-
You can do this by accessing the desired folder from the CERNBox web interface, right-clicking on the folder and selecting "Share", then adding the user `a:sixtadm` (n.b. this is the Xboinc service account) with the "Write" permission. It should look like this:
53
+
You can do this by accessing the desired folder from the CERNBox web interface, right-clicking on the folder and selecting "Share", then adding the user `a:sixtadm` (n.b. this is the Xboinc service account) and invite as editor. It should look like this:
54
54
55
55

56
56
57
57
After that, you can register your username with the Xboinc server by running the following command:
Note that specifying `permissions_given=True` assumes that you have already set the appropriate permissions for the Xboinc service account on the specified EOS path. Not doing so will result in a `NotImplementedError` as we currently cannot manipulate EOS ACLs directly.
65
+
64
66
## Submit a job
65
67
66
-
To submit a job to the LHC@home project, you can use the `JobManager` class from the `xboinc` package. With `JobManager`, you can create a study, which will contain a set of jobs to be executed. Ideally, you should create a study for a single line to track, with multiple jobs for spreading the number of particles to track. However, it is also possible to create a study with multiple lines.
68
+
To submit a job to the LHC@home project, you can use the `JobSubmitter` class from the `xboinc` package. With `JobSubmitter`, you can create a study, which will contain a set of jobs to be executed. Ideally, you should create a study for a single line to track, with multiple jobs for spreading the number of particles to track. However, it is also possible to create a study with multiple lines.
67
69
68
70
Here is an example of how to submit a job:
69
71
@@ -75,7 +77,7 @@ import xboinc as xb
75
77
line = xt.Line.from_json("path/to/your/line.json")
76
78
77
79
# create a job manager
78
-
job_manager = xb.JobManager(
80
+
job_manager = xb.JobSubmitter(
79
81
user="mycernshortname",
80
82
study_name="a_relevant_study_name",
81
83
line=line,
@@ -107,12 +109,12 @@ Note that the jobs will be executed on a single CPU core from a volunteer comput
107
109
108
110
## Retrieve the results
109
111
110
-
When the jobs are completed, the Xboinc server will store the results in your allocated folder in compressed tar files. You can decompress and explore them by using the `ResultRetriever` class from the `xboinc` package. The simplest way to do that is:
112
+
When the jobs are completed, the Xboinc server will store the results in your allocated folder in compressed tar files. You can decompress and explore them by using the `JobRetriever` class from the `xboinc` package. The simplest way to do that is:
111
113
112
114
```python
113
115
import xboinc as xb
114
116
115
-
for job_name, result_particles in xb.ResultRetriever.iterate("mycernshortname", "a_relevant_study_name", dev_server=True):
117
+
for job_name, result_particles in xb.JobRetriever.iterate("mycernshortname", "a_relevant_study_name", dev_server=True):
116
118
print(f"Job {job_name} completed with particles: {result_particles.to_dict()}")
0 commit comments