Skip to content

CoAL

You will need a working installation of CoAL (CosmoTech Acceleration Library) further in the tutorials.

One easy way to make a portable installation is to execute the following script:

Portable CoAL install
cd ~/Tooling

git clone https://github.com/Cosmo-Tech/CosmoTech-Acceleration-Library.git CoAL

cd CoAL
python -m venv .venv

source .venv/bin/activate
pip install .
deactivate

cd ~/ToolingBins
ln -s ~/Tooling/CoAL/.venv/bin/csm-data csm-data
ln -s ~/Tooling/CoAL/.venv/bin/csm-orc csm-orc

This will make both csm-data and csm-orc CLIs available in your environment, isolated from other dependencies.

To update CoAL, use:

Update CoAL
cd ~/Tooling/CoAL
git fetch --all
git checkout <New_Version>
source .venv/bin/activate
pip install .
deactivate

Dependencies

CoAL depends on the csm-orc project for orchestration features. Make sure to install csm-orc as described in its documentation.

Requirements

You can also use CosmoTech-Acceleration-Library in you python requirements to add a working installation of CoAl to any virtual environment using the official releases

References

For more detailed information, refer to: