Skip to content

Commit 7c17a7c

Browse files
AndyLHCbchrisburr
andauthored
Apply Chris's suggestions
Co-authored-by: Chris Burr <chrisburr@users.noreply.github.com>
1 parent ac4c779 commit 7c17a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

second-analysis-steps/containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The previously-used operating systems used by lxplus are listed below.
1919
If not RHEL9, the OS you need will almost certainly be one of thse two:
2020

2121
* Centos7 - Retired in 2023
22-
* Scientific linux 6 (SL6) - Retired in 2018
22+
* Scientific Linux CERN 6 (SLC6) - Retired in 2018
2323

2424
{% callout "Running simulation" %}
2525

@@ -41,7 +41,7 @@ Containers are [virtualisation](https://en.wikipedia.org/wiki/OS-level_virtualiz
4141
The software used on lxplus to jump from one OS to another is called `apptainer`. To be able to run centos7 software on a RHEL9 machine the following command can be used and adapted:
4242

4343
```bash
44-
apptainer exec -B /eos -B /afs/cern.ch/work -B /cvmfs -e /cvmfs/lhcb.cern.ch/containers/os-base/centos7-devel/prod/amd64 bash --rcfile /cvmfs/lhcb.cern.ch/lib/group_login.sh
44+
apptainer exec --env LBENV_SOURCED= -B /eos -B /afs/cern.ch/work -B /cvmfs -e /cvmfs/lhcb.cern.ch/containers/os-base/centos7-devel/prod/amd64 bash --rcfile /cvmfs/lhcb.cern.ch/lib/LbEnv
4545
```
4646

4747
We can break down this command in the following way:

0 commit comments

Comments
 (0)