Skip to content

Commit 6d32a55

Browse files
committed
fix links in setup
1 parent b6ceb71 commit 6d32a55

2 files changed

Lines changed: 37 additions & 38 deletions

File tree

_includes/setup.toc.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,22 @@
77
- [Step 2: Getting accounts](#step-2-getting-accounts)
88
- [With FNAL](#with-fnal)
99
- [With CERN](#with-cern)
10-
- [Step 3: Mission setup (rest of this page)](#step-3-mission-setup-(rest-of-this-page))
11-
- [Basic setup on your computer](#basic-setup-on-your-computer)
12-
- [Kerberos business](#kerberos-business)
13-
- [ssh-in](#ssh-in)
14-
- [Get a clean shell](#get-a-clean-shell)
15-
- [Software setup](#software-setup)
10+
- [Step 3: Mission setup](#step-3-mission-setup)
11+
- [Basic setup on your computer](#basic-setup-on-your-computer)
12+
- [Kerberos business](#kerberos-business)
13+
- [ssh-in](#ssh-in)
14+
- [Get a clean shell](#get-a-clean-shell)
15+
- [Step 4. Software setup](#step-4.-software-setup)
1616
- [SL7 version](#sl7-version)
17-
- [Caveats for later](#caveats-for-later)
17+
- [SL7 Caveats for batch submission](#sl7-caveats-for-batch-submission)
1818
- [Alma9 version](#alma9-version)
19-
- [Caveats for later](#caveats-for-later)
20-
- [4.2 Setting up DUNE software - Alma9 version](#4.2-setting-up-dune-software---alma9-version)
21-
- [Caveats](#caveats)
22-
- [Exercise! (For SL7 - it's easy)](#exercise!-(for-sl7---it's-easy))
23-
- [Exercise! (For AL9 - it's easy)](#exercise!-(for-al9---it's-easy))
24-
- [Getting setup for streaming and grid access](#getting-setup-for-streaming-and-grid-access)
25-
- [Tokens method <a name="tokens"></a>](#tokens)
19+
- [Alma9 Caveats](#alma9-caveats)
20+
- [Step 5. Exercises](#step-5.-exercises)
21+
- [Exercise! (For SL7 - it's easy)](#exercise!-(for-sl7---it's-easy))
22+
- [Exercise! (For AL9 - it's easy)](#exercise!-(for-al9---it's-easy))
23+
- [Step 6. Getting authentication for streaming and grid access](#step-6.-getting-authentication-for-streaming-and-grid-access)
24+
- [Tokens method](#tokens-method)
2625
- [Get and store your token](#get-and-store-your-token)
27-
- [2. Tell the system where your token is](#2.-tell-the-system-where-your-token-is)
2826
- [Set up on CERN machines](#set-up-on-cern-machines)
2927
- [Setup in Alma9](#setup-in-alma9)
3028
- [For SL7](#for-sl7)

setup.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ See [lxplus documentation](#lxplus) for information about using lxplus.
6565
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.
6666

6767

68-
## Step 3: Mission setup (rest of this page)
68+
## Step 3: Mission setup
6969

7070

7171

@@ -84,15 +84,15 @@ Also check out our [Computing FAQ](https://github.com/orgs/DUNE/projects/19/view
8484

8585

8686

87-
## Basic setup on your computer
87+
### Basic setup on your computer
8888

8989
[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.
9090

9191
> ## Note
9292
> 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.
9393
{: .challenge}
9494

95-
## Kerberos business
95+
### Kerberos business
9696

9797
<!--**STEP 1**: DUNE Membership
9898
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
203203

204204
[DUNE FAQ][DUNE FAQ]
205205

206-
## ssh-in
206+
### ssh-in
207207
**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:
208208

209209
~~~
@@ -240,7 +240,7 @@ ssh username@dunegpvmXX.fnal.gov
240240
where XX is a number from 01 to 15.
241241
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.
242242

243-
## Get a clean shell
243+
### Get a clean shell
244244
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.
245245

246246
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
287287
{: .callout}
288288

289289

290-
## Software setup
290+
## Step 4. Software setup
291291
### SL7 version
292292

293293

@@ -298,7 +298,7 @@ To set up your environment in SL7, the commands are:
298298
Log into a DUNE machine running Alma9
299299

300300

301-
> ### Launch an SL7 container
301+
> #### Launch an SL7 container
302302
>
303303
> > ## gpvm apptainer
304304
> > ~~~
@@ -337,7 +337,7 @@ Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
337337
{: .output}
338338
339339
340-
> ### See if ROOT works
340+
> #### See if ROOT works
341341
>
342342
> > ## Try testing ROOT to make certain things are working
343343
> > ~~~
@@ -348,18 +348,19 @@ Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
348348
> > You should see a plot that updates and then terminates. You may need to `export DISPLAY=0:0`.
349349
> {: .solution}
350350
{: .challenge}
351-
<!--
352351
353-
### Caveats for later
352+
### SL7 Caveats for batch submission
353+
354+
We haven't covered batch submission yet but ....
354355
355356
> ## 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.
357358
>
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.
359360
360361
{: .callout}
361362
362-
-->
363+
363364
### Alma9 version
364365
365366
<!-- Try testing ROOT to make certain things are working
@@ -375,12 +376,12 @@ root -l -q $ROOTSYS/tutorials/dataframe/df013_InspectAnalysis.C
375376
376377
You should see a plot that updates and then terminates. You may need to `export DISPLAY=0:0` .
377378
378-
### Caveats for later
379+
### Caveats for later
379380
380381
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.
381382
382383
383-
## 4.2 Setting up DUNE software - Alma9 version
384+
## 4.2 Setting up DUNE software - Alma9 version
384385
-->
385386
386387
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
422423
{: .callout}
423424
424425
425-
### Caveats
426+
### Alma9 Caveats
426427
427428
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.
428429
@@ -462,9 +463,9 @@ We don't have a full ability to rebuild DUNE Software packages such as LArSoft u
462463
463464
464465
466+
## Step 5. Exercises
465467
466-
467-
## Exercise! (For SL7 - it's easy)
468+
### Exercise! (For SL7 - it's easy)
468469
This exercise will help organizers see if you reached this step or need help.
469470
470471
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
508509
{: .language-bash}
509510
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.
510511
511-
## Exercise! (For AL9 - it's easy)
512+
### Exercise! (For AL9 - it's easy)
512513
This exercise will help organizers see if you reached this step or need help.
513514
514515
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
543544
> 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!
544545
{: .challenge}
545546
546-
## Getting setup for streaming and grid access
547+
## Step 6. Getting authentication for streaming and grid access
547548
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.
548549
549550
<!-- 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
608609
609610
-->
610611
611-
### Tokens method <a name="tokens"></a>
612+
### Tokens method
612613
613614
We have moved from proxies to tokens for authentication as of 2025.
614615
@@ -653,7 +654,7 @@ Storing condor credentials for dune
653654
654655
you should only have to do the web thing once/month
655656
656-
#### 2. Tell the system where your token is
657+
#### 2. Tell the system where your token is
657658
658659
659660
~~~
@@ -722,7 +723,7 @@ Setting up DUNE UPS area... /cvmfs/dune.opensciencegrid.org/products/dune/
722723
723724
### Getting authentication for data access
724725
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)
726727
727728
728729

0 commit comments

Comments
 (0)