Update Building Custom Models authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
...@@ -79,11 +79,10 @@ CDS_IFO_SRC=/home/controls/advligorts/src/include/ ...@@ -79,11 +79,10 @@ CDS_IFO_SRC=/home/controls/advligorts/src/include/
``` ```
While `rtcds` has appended some additional paths to the `RCG_LIB_PATH` variable, the path we added (`/home/controls/models/`) is present in the list. Now when we run `rtcds build <model_name>`, `rtcds` will look in `/home/controls/models/` for a file named `<model_name>.mdl` While `rtcds` has appended some additional paths to the `RCG_LIB_PATH` variable, the path we added (`/home/controls/models/`) is present in the list. Now when we run `rtcds build <model_name>`, `rtcds` will look in `/home/controls/models/` for a file named `<model_name>.mdl`
# Building Custom Models (CyMAC Usecase) # Building Models
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 `x1unittest.mdl`: 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)[https://git.ligo.org/cds/software/advligorts/-/raw/master/test/x1iop.mdl?inline=false]:
```shell ```shell
controls@x1cymac:~/models$ rtcds build x1unittest controls@x1cymac:~/models$ rtcds build x1iop
WARNING: RTS_VERSION=cymac-build does not match version found in source: local)
### building x1unittest ### building x1unittest
Cleaning x1unittest... Cleaning x1unittest...
Done Done
...@@ -96,11 +95,11 @@ Done ...@@ -96,11 +95,11 @@ 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//x1unittest.mdl /home/controls/models//x1iop.mdl
Successfully compiled x1unittest Successfully compiled x1unittest
*********************************************** ***********************************************
Compile Warnings, found in /var/cache/advligorts/rcg-cymac-build//models/x1unittest/logs/x1unittest_warnings.log: Compile Warnings, found in /var/cache/advligorts/rcg-5.1.2//models/x1iop/logs/x1iop_warnings.log:
*********************************************** ***********************************************
*********************************************** ***********************************************
``` ```
... ...
......