Update Building Custom Models authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
...@@ -83,21 +83,21 @@ While `rtcds` has appended some additional paths to the `RCG_LIB_PATH` variable, ...@@ -83,21 +83,21 @@ While `rtcds` has appended some additional paths to the `RCG_LIB_PATH` variable,
Now that the environment has been set up, all we need to do is run the `rtcds build <model_name> ` command. Example output for building a model with the mdl filename of [x1iop.mdl](https://git.ligo.org/cds/software/advligorts/-/raw/master/test/x1iop.mdl?inline=false), assuming it has been placed in the `/home/controls/models` directory: Now that the environment has been set up, all we need to do is run the `rtcds build <model_name> ` command. Example output for building a model with the mdl filename of [x1iop.mdl](https://git.ligo.org/cds/software/advligorts/-/raw/master/test/x1iop.mdl?inline=false), assuming it has been placed in the `/home/controls/models` directory:
```shell ```shell
controls@x1cymac:~/models$ rtcds build x1iop controls@x1cymac:~/models$ rtcds build x1iop
### building x1unittest ### building x1iop
Cleaning x1unittest... Cleaning x1iop...
Done Done
Parsing the model x1unittest... Parsing the model x1iop...
Done Done
Building EPICS sequencers... Building EPICS sequencers...
Done Done
Building front-end Linux kernel module x1unittest... Building front-end Linux kernel module x1iop...
Done Done
RCG source code directory: RCG source code directory:
/home/controls/git/advligorts /home/controls/git/advligorts
The following files were used for this build: The following files were used for this build:
/home/controls/models//x1iop.mdl /home/controls/models//x1iop.mdl
Successfully compiled x1unittest Successfully compiled x1iop
*********************************************** ***********************************************
Compile Warnings, found in /var/cache/advligorts/rcg-5.1.2//models/x1iop/logs/x1iop_warnings.log: Compile Warnings, found in /var/cache/advligorts/rcg-5.1.2//models/x1iop/logs/x1iop_warnings.log:
*********************************************** ***********************************************
...@@ -131,4 +131,4 @@ controls@x1cymac:~$ tree -L 1 /var/cache/advligorts/rcg-5.1.2/models/x1unittest/ ...@@ -131,4 +131,4 @@ controls@x1cymac:~$ tree -L 1 /var/cache/advligorts/rcg-5.1.2/models/x1unittest/
| `userspace/` | Stores the userspace build scrips and generated model code | | `userspace/` | Stores the userspace build scrips and generated model code |
# Next Steps # Next Steps
If you are trying to run the module you just build, go to the [Installing Built Models](Installing-Modules) page. If you are trying to run the module you just build, go to the [Installing Built Models](Installing-Modules) page. *** Note you should not install the x1iop module until you have set the hostname= parameter in the `.mdl` file. ***
\ No newline at end of file \ No newline at end of file