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: setup.md
+24-23Lines changed: 24 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ See [lxplus documentation](#lxplus) for information about using lxplus.
65
65
If you have trouble getting access, please reach out to the training team several days ahead of time. Some issues take some time to resolve. Please do not put this off. We cannot help you the day of the tutorial as we are busy doing the tutorial.
66
66
67
67
68
-
## Step 3: Mission setup (rest of this page)
68
+
## Step 3: Mission setup
69
69
70
70
71
71
@@ -84,15 +84,15 @@ Also check out our [Computing FAQ](https://github.com/orgs/DUNE/projects/19/view
84
84
85
85
86
86
87
-
## Basic setup on your computer
87
+
###Basic setup on your computer
88
88
89
89
[Computer Setup]({{ site.baseurl }}/ComputerSetup) goes through how to find a terminal and set up xwindows on MacOS and Windows. You can skip this if already familiar with doing that.
90
90
91
91
> ## Note
92
92
> The instructions directly below are for FNAL accounts. If you do not have a valid FNAL account but a CERN one, go at the bottom of this page to the [Setup on CERN machines](#Setup) section.
93
93
{: .challenge}
94
94
95
-
## Kerberos business
95
+
###Kerberos business
96
96
97
97
<!--**STEP 1**: DUNE Membership
98
98
To follow the tutorial, you must be on the DUNE Collaboration member list. You can check if you are on it [here][dune-collaboration]. If you are not, talk to your Institutional Board representative to get on it.
@@ -203,7 +203,7 @@ Check out the DUNE FAQ for a long list of possible error messages and suggested
203
203
204
204
[DUNE FAQ][DUNE FAQ]
205
205
206
-
## ssh-in
206
+
###ssh-in
207
207
**What is it?** SSH stands for Secure SHell. It uses an encrypted protocol used for connecting to remote machines and it works with Kerberos tickets when configured to do so. The configuration is done in your local file in your home directory:
If you experience long delays in loading programs or graphical output, you can try connecting with VNC. More info: [Using VNC Connections on the dunegpvms][dunegpvm-vnc]. Please remember to shut down your VNC connection at least once/week - the machines can get overrun by zombies.
242
242
243
-
## Get a clean shell
243
+
###Get a clean shell
244
244
To run DUNE software, it is necessary to have a 'clean login'. What is meant by clean here? If you work on other experiment(s), you may have some environment variables defined (for NOvA, MINERvA, MicroBooNE). Theses may conflict with the DUNE environment ones.
245
245
246
246
Two ways to clean your shell once on a DUNE machine:
@@ -287,7 +287,7 @@ A simpler solution would be to rename your login scripts (for instance .bashrc a
287
287
{: .callout}
288
288
289
289
290
-
## Software setup
290
+
## Step 4. Software setup
291
291
### SL7 version
292
292
293
293
@@ -298,7 +298,7 @@ To set up your environment in SL7, the commands are:
298
298
Log into a DUNE machine running Alma9
299
299
300
300
301
-
> ### Launch an SL7 container
301
+
> ####Launch an SL7 container
302
302
>
303
303
> > ## gpvm apptainer
304
304
> > ~~~
@@ -337,7 +337,7 @@ Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
337
337
{: .output}
338
338
339
339
340
-
> ### See if ROOT works
340
+
> #### See if ROOT works
341
341
>
342
342
> > ## Try testing ROOT to make certain things are working
343
343
> > ~~~
@@ -348,18 +348,19 @@ Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
348
348
> > You should see a plot that updates and then terminates. You may need to `export DISPLAY=0:0`.
349
349
> {: .solution}
350
350
{: .challenge}
351
-
<!--
352
351
353
-
### Caveats for later
352
+
### SL7 Caveats for batch submission
353
+
354
+
We haven't covered batch submission yet but ....
354
355
355
356
> ## Note: You cannot submit basic grid jobs from the Container
356
-
> You cannot submit jobsub jobs from the Container - you need to open a separate window. In that window do the minimal [Alma9](#4.2-alma9-version) setup above and submit your jobs from that window.
357
+
> You cannot submit jobsub jobs from the Container - you need to open a separate window. In that window do the minimal [Alma9](#alma9-version) setup below and submit your jobs from that window.
357
358
>
358
-
>You may need to print your submit command to the screen or a file to do so if your submission is done from a script that uses ups.
359
+
>You may need to print your submit command to the screen or a file to do so if your submission is done from a script running on SL7.
359
360
360
361
{: .callout}
361
362
362
-
-->
363
+
363
364
### Alma9 version
364
365
365
366
<!-- Try testing ROOT to make certain things are working
You should see a plot that updates and then terminates. You may need to `export DISPLAY=0:0` .
377
378
378
-
### Caveats for later
379
+
### Caveats for later
379
380
380
381
You cannot submit jobs from the Container - you need to open a separate window, not do the apptainer and submit your jobs from that window.
381
382
382
383
383
-
## 4.2 Setting up DUNE software - Alma9 version
384
+
## 4.2 Setting up DUNE software - Alma9 version
384
385
-->
385
386
386
387
We are moving to the Alma9 version of unix. Not all DUNE code has been ported yet but if you are doing basic root analysis work, try it out.
@@ -422,7 +423,7 @@ Here is how you set up basic DUNE software on Alma 9. We are using the super-com
422
423
{: .callout}
423
424
424
425
425
-
### Caveats
426
+
### Alma9 Caveats
426
427
427
428
We don't have a full ability to rebuild DUNE Software packages such as LArSoft using Spack yet. We will be adding more functionality soon. Unless you are doing simple ROOT based analysis you will need to use the [SL7 Container](#sl7-version) method for now.
428
429
@@ -462,9 +463,9 @@ We don't have a full ability to rebuild DUNE Software packages such as LArSoft u
462
463
463
464
464
465
466
+
## Step 5. Exercises
465
467
466
-
467
-
## Exercise! (For SL7 - it's easy)
468
+
### Exercise! (For SL7 - it's easy)
468
469
This exercise will help organizers see if you reached this step or need help.
469
470
470
471
1) Start in your home area `cd ~` on the DUNE machine (normally CERN or FNAL) and create the file ```dune_presetup_2025_sl7.sh```.
@@ -508,7 +509,7 @@ date >& /exp/dune/app/users/${USER}/my_first_login.txt
508
509
{: .language-bash}
509
510
4) With the above, we will check if you reach this point. However we want to tailor this tutorial to your preferences as much as possible. We will let you decide which animals you would like to see in future material, between: "puppy", "cat", "squirrel", "sloth", "unicorn pegasus llama" (or "prefer not to say" of course). Write your desired option on the second line of the file you just created above.
510
511
511
-
## Exercise! (For AL9 - it's easy)
512
+
### Exercise! (For AL9 - it's easy)
512
513
This exercise will help organizers see if you reached this step or need help.
513
514
514
515
1) Start in your home area `cd ~` on the DUNE machine (normally CERN or FNAL) and create the file ```dune_presetup_2025_al9.sh```.
@@ -543,7 +544,7 @@ date >& /exp/dune/app/users/${USER}/my_first_login.txt
543
544
> If you experience difficulties, please ask for help in the Slack channel [#computing-training-basics](https://dunescience.slack.com/archives/C02TJDHUQPR). Please mention in your message this is about the Setup step 5. Thanks!
544
545
{: .challenge}
545
546
546
-
## Getting setup for streaming and grid access
547
+
## Step 6. Getting authentication for streaming and grid access
547
548
In addition to your kerberos access, you need to be in the DUNE VO (Virtual Organization) to access to global DUNE resources. This is necessary in particular to stream data and submit jobs to the grid. If you are on the DUNE collaboration list and have a Fermilab ID you should have been added automatically to the DUNE VO.
548
549
549
550
<!-- To check if you are on the VO, two commands. The kx509 gets a certificate from your kerberos ticket. On a DUNE machine, type:
@@ -608,7 +609,7 @@ With this done, you should be able to submit jobs and access remote DUNE storage
608
609
609
610
-->
610
611
611
-
### Tokens method <a name="tokens"></a>
612
+
### Tokens method
612
613
613
614
We have moved from proxies to tokens for authentication as of 2025.
614
615
@@ -653,7 +654,7 @@ Storing condor credentials for dune
653
654
654
655
you should only have to do the web thing once/month
655
656
656
-
#### 2. Tell the system where your token is
657
+
#### 2. Tell the system where your token is
657
658
658
659
659
660
~~~
@@ -722,7 +723,7 @@ Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
722
723
723
724
### Getting authentication for data access
724
725
725
-
If you have a Fermilab account already, get a token as described in [tokens](#tokens)
726
+
If you have a Fermilab account already, get a token as described in [tokens](#tokens-method)
0 commit comments