# Why a licensing system? Is UQLab really open source?

**URL:** <https://uqworld.org/t/why-a-licensing-system-is-uqlab-really-open-source/143>\
**Category:** Developers Corner\
**Tags:** stefanos-blog, licensing\
**Created:** [May 6, 2019, 3:50pm UTC](https://uqworld.org/t/why-a-licensing-system-is-uqlab-really-open-source/143 "2019-05-06T15:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ste](https://uqworld.org/user_avatar/uqworld.org/ste/32/122_2.png) [@ste](https://uqworld.org/u/ste)\
**Post date:** [May 6, 2019, 3:50pm UTC](https://uqworld.org/t/why-a-licensing-system-is-uqlab-really-open-source/143/1 "2019-05-06T15:50:45Z")

</div>

Hi everyone, Stefano here, co-founder of the UQLab project together with Bruno (you can see our faces [here](https://www.uqlab.com/contributors), or in their full-color glory [here](http://www.rsuq.ethz.ch/)).

One of the questions I’m often asked when at conferences/meetings/beers downtown, is _“why do you need to register to use UQLab, even if it is free?”_. This is tightly related to a second question that pops up very often: _“UQLab is not open source: all of the stuff in the core is p-coded [obscured]”_.

Unsurprisingly, the answer to these questions is twofold:

- As it turns out, UQLab [doesn’t grow on trees](http://www.projectcartoon.com/cartoon/1111). Thousands of man-hours have been invested in its development and documentation, for no other purpose than to make it available to a larger audience than just the specialists. While all of the associated costs are shouldered by the [Chair of Risk, Safety and Uncertainty Quantification at ETH Zurich](http://www.rsuq.ethz.ch/), we are constantly looking for financial support from funding bodies.  
And here is the catch: academic funding is based on a rather ephemeral currency: _reputation_ (or _impact_). Measuring the impact of a scientific software is not easy, as academic citations are only one side of the matter. We believe that tracking downloads is not a really meaningful measure either, as the same software can be downloaded many times by the same user (e.g. on HPC clusters). Therefore, we use a one-time registration strategy, that allows us to _count_ unique users, rather than downloads, as well to _count_ how many unique UQLab licenses are still valid in any given time period. Note that we only care about the _how many use_, rather than _who is using_ UQLab. This gives to us, but more importantly to the funding agencies, a pretty good idea on how the project is doing.  
Additionally, we also offer non-academic, non-free licensing schemes to privates and companies, in the hope of reaching some form of self-financing, but at the moment this is still in the “land of the abstract” (and being based in Zurich doesn’t really help).

- Therefore, we need some sort of licensing system: to enforce the requirement of belonging to an academic institution, and to prevent both abuse and number inflation (hence the yearly renewal model). UQLab itself is actually the composition of two different software packages: _UQLabCore_, a [domain-specific-language (DSL)](https://en.wikipedia.org/wiki/Domain-specific_language) that doesn’t contain scientific code, but provides a natural semantic environment for our [3-step approach at UQ](https://uqworld.org/t/getting-started-with-uncertainty-quantification-uq "Getting started with uncertainty quantification"), and _UQLabModules_, a set of libraries built on top of _UQLabCore_ that contain all of the algorithms and provide the actual features. A registration/license is only needed for the proprietary (but free for academics) _UQLabCore_ programming language. The modules are licensed under a [BSD 3-clause license](https://uqworld.org/t/is-uqlab-open-source/77), and can be [downloaded separately from the core](https://www.uqlab.com/obtain-the-sources "Obtain the sources | UQLab"), exactly as the entire [documentation](https://www.uqlab.com/user-manuals "User manuals | UQLab").

In short, all of the scientific code in UQLab is open source, and you can consider your _registration_ as a very important personal contribution towards the continued development of UQLab. It is thanks to the momentum that its user base has gained throughout the years (~800 registrations and 1.2k+ downloads per year from 77 countries, with a growing active user base of over 1,000 users) that we feel empowered to continue in our endeavor to develop and distribute UQLab.

Apologies for the long post, but I hope this gives you an idea about the thought process behind a topic that is dear to many potential and actual users.

'til the next one,  
Stefano

---

<div class="post-metadata">

**Author:** ![ste](https://uqworld.org/user_avatar/uqworld.org/ste/32/122_2.png) [@ste](https://uqworld.org/u/ste)\
**Post date:** [May 7, 2019, 7:16am UTC](https://uqworld.org/t/why-a-licensing-system-is-uqlab-really-open-source/143/2 "2019-05-07T07:16:13Z")

</div>


