# Installing UQLab on a Cluster with -nodesktop Option

**URL:** <https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240>\
**Category:** Community Q&A and How To\
**Created:** [June 21, 2021, 11:45am UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240 "2021-06-21T11:45:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://uqworld.org/user_avatar/uqworld.org/robert/32/904_2.png) [@Robert](https://uqworld.org/u/Robert)\
**Post date:** [June 21, 2021, 11:45am UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/1 "2021-06-21T11:45:00Z")

</div>

Dear community,

has anyone succeeded in setting up UQLab on a Linux Cluster with Matlab running on the **-nodesktop** Option? Any ideas for workarounds?

Best,  
Robert

---

<div class="post-metadata">

**Author:** ![styfen.schaer](https://uqworld.org/user_avatar/uqworld.org/styfen.schaer/32/849_2.png) [@styfen.schaer](https://uqworld.org/u/styfen.schaer)\
**Post date:** [June 22, 2021, 3:07pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/2 "2021-06-22T15:07:21Z")

</div>

Dear Robert,

It should be possible to run UQLab on a cluster. Can you please share your error message?

Best regards,  
Styfen

---

<div class="post-metadata">

**Author:** ![Robert](https://uqworld.org/user_avatar/uqworld.org/robert/32/904_2.png) [@Robert](https://uqworld.org/u/Robert)\
**Post date:** [June 22, 2021, 3:25pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/3 "2021-06-22T15:25:07Z")

</div>

I’m starting Matlab on the Cluster (matlab -nodesktop) and proceed as described on the download page. I receive the following warnings  
 ![grafik](https://uqworld.org/uploads/default/original/1X/73fcd127e448fd27b585859b10a940c1420f472f.png)

Right now there is no possibility to run an interactive desktop session on the cluster. From past experiences installing UQlab on Matlab and the need to start Matlab without the -nojvm  
option to install UQlab I guess that I cannot pass a window that pops and needs input somewhere. Is there a workaround? I think this might be relevant also to others.

---

<div class="post-metadata">

**Author:** ![c.lataniotis](https://uqworld.org/user_avatar/uqworld.org/c.lataniotis/32/213_2.png) [@c.lataniotis](https://uqworld.org/u/c.lataniotis)\
**Post date:** [June 23, 2021, 12:52pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/4 "2021-06-23T12:52:54Z")

</div>

Hello @Robert,

The dialog that tries to pop up is probably related to the uq\_license.p file not found inside the core folder. In that case, such a dialog window pops up, asking you to point out the location of this file.

Normally, when not running in desktop mode, a message should be printed instead, letting you know about this issue.

We are looking into why the installer did not properly figure out that you are running in a non-interactive mode. In the meantime, could you check whether the error is resolved simply by copying your license file inside the core folder?

---

<div class="post-metadata">

**Author:** ![Robert](https://uqworld.org/user_avatar/uqworld.org/robert/32/904_2.png) [@Robert](https://uqworld.org/u/Robert)\
**Post date:** [June 23, 2021, 1:57pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/5 "2021-06-23T13:57:19Z")

</div>

Thanks for your reply. The license file is already in the core folder. Might it be a problem that it is the same license file that I used to install UQlab on my personal client PC?

---

<div class="post-metadata">

**Author:** ![c.lataniotis](https://uqworld.org/user_avatar/uqworld.org/c.lataniotis/32/213_2.png) [@c.lataniotis](https://uqworld.org/u/c.lataniotis)\
**Post date:** [June 23, 2021, 2:14pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/6 "2021-06-23T14:14:59Z")

</div>

Using the same license file in your PC should not cause any problem.

Here is another straightforward way to resolve this issue: you can directly copy the UQLab installation that is running on your PC to the cluster. That way you can bypass the installation step.

---

<div class="post-metadata">

**Author:** ![xujia](https://uqworld.org/user_avatar/uqworld.org/xujia/32/214_2.png) [@xujia](https://uqworld.org/u/xujia)\
**Post date:** [June 23, 2021, 3:33pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/7 "2021-06-23T15:33:31Z")

</div>

Hi @Robert,

I would like to follow up on the reply from @c.lataniotis. To bypass the installation step, you can download manually the modules with the following steps:

1. Make sure that you have downloaded the “core” and put your “uq\_license.p” inside
2. Download manually all the modules from the [link](https://uqftp.ethz.ch/uqlab_releases/download_modules.html) and then unzip them
3. Move all the modules inside the unzipped folder (by default it is named as “UQLabModules\_Rel1.4.2”) to the same folder as the “core”, meaning that in your uqlab installation root you should have the following folders: “core”, “Doc”, “Examples”, “lib”, “modules”, “Profiles” and files: “CHANGELOG”, “CONTRIBUTORS”, “LICENSE”, “ListOfFiles”
4. Open Matlab and navigate to the “core” folder
5. Exercute “uqlab\_install” in the command line

---

<div class="post-metadata">

**Author:** ![Robert](https://uqworld.org/user_avatar/uqworld.org/robert/32/904_2.png) [@Robert](https://uqworld.org/u/Robert)\
**Post date:** [June 24, 2021, 3:17pm UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/8 "2021-06-24T15:17:27Z")

</div>

Just loaded the UQLab files of my client PC’s installation on the cluster and the selftest works, thanks!

---

<div class="post-metadata">

**Author:** ![damarginal](https://uqworld.org/user_avatar/uqworld.org/damarginal/32/73_2.png) [@damarginal](https://uqworld.org/u/damarginal)\
**Post date:** [September 14, 2021, 9:40am UTC](https://uqworld.org/t/installing-uqlab-on-a-cluster-with-nodesktop-option/1240/9 "2021-09-14T09:40:36Z")

</div>


