Hi all, 

I'm trying to install MATLAB (r2018a, based off the matlab/r2017b EasyConfig) 
through EasyBuild. From looking at the EasyBlok, I found out that it picks up 
on the following environment variables. 

EB_MATLAB_LICENSE_SERVER 
EB_MATLAB_LICENSE_SERVER_PORT 
EB_MATLAB_KEY 

I set all of these. EasyBuild than creates a "installer_input.txt" containing 
the correct MATLAB key (which it accepts, so that's not where my problem is), 
as well as a 'matlab.lic' file containing: 

---- 
SERVER ${EB_MATLAB_LICENSE_SERVER} 00000000000 ${EB_MATLAB_LICENSE_SERVER_PORT} 
USE_SERVER 
---- 

(where the environment variables are replaced with the actual values). So far, 
so good (although I'm not sure if the hostid should remain 00000000000). 

Now, in the input file, there's a section that says 

---- 
## 1. To automatically install all your licensed products, do not edit 
## any lines in this section. 
## 
## 2. To install a specific product or a subset of products for 
## which you are licensed, uncomment the line for the product(s) you want 
## to install. 
#product.Aerospace_Blockset 
#product.Aerospace_Toolbox 
... etc 
---- 

All of the lines are commented out, so, I keep them that way. According to the 
comments, that should install all of the products I have a license for. But... 
it doesn't. In the output, I get: 

---- 
(Jul 20, 2018 14:29:05) No products are selected. The product lines specified 
in the input file are invalid. Verify the product list and restart the 
application. 
---- 

What am I missing here? Does this mean the installer fails to connect to our 
license server, and isn't able to get the list of products that we have a 
license for (or anything like that)? How do others use the matlab EasyConfig? 

Cheers, 

Caspar van Leeuwen 
SURFsara 

N.B. On an unrelated note: should we have some way of documenting the 
software-specific EasyBlocks? Its a bit weird that I have to go through the 
code to realize that these environment variables can be set... Or do we have 
something like that, and I just don't know where to find it? 

Reply via email to