Skip to content
Snippets Groups Projects
Commit 83962db2 authored by kpetersn's avatar kpetersn
Browse files

Added FAQ section. Clarified that APS computers should run RHEL.

parent 8ed5357d
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ This repo contains instructions for Session 2 of the Practical Beamline Controls
## Assumptions
* The instructions assume the user is logged into an APS-maintained Linux computer.
* The APS-maintained linux computer has access to /APSshare
* The instructions assume the user is logged into an APS-maintained Red Hat Enterprise Linux (RHEL) computer.
* The APS-maintained Red Hat Enterprise Linux (RHEL) computer has access to /APSshare
## Outline
......@@ -29,3 +29,27 @@ $ ./quickstart.sh
```
Then copy and paste the output from the script into the terminal and proceed to the "Deploy a new IOC" section.
## FAQ
#### Why isn't mkioc used to create the training IOC?
mkioc renames files and directories (references to xxx are replaced with the desired IOC name). This makes it impossible to have a **solution** branch in the git repo that works for everyone.
#### How does the training IOC differ from one created with mkioc?
There will be **fewer build errors** when building an IOC created by mkioc.
The training IOC required some [customization to allow the IOC's prefix to be overridden](https://git.aps.anl.gov/practical_beamline_controls_training/session_2/xxx/-/commit/65cbe6b5f1e99442606ea7cb2efa5f2a602b9caa):
* **st.cmd.Linux** sources **override.iocsh**, which overrides the default IOC prefix, `xxx:`, without requiring **settings.iocsh** to be edited.
* the caQtDM (and MEDM) start scripts open **my-xxx.ui** (and **my-xxx.adl**) instead of **xxx.ui** (and **xxx.adl**)
* A **newPrefix.sh** script was added to simplify the creation of **override.iocsh**, **my-xxx.ui** and **my-xxx.adl**
#### Should I deploy beamline IOCs based on the traiing IOC?
No. Just use **mkioc**.
#### Can I complete this exercise on a computer other than an APS-maintained RHEL computer?
No.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment