Cvx_setup problem


(Xu Xiaofei) #1

Hi, I face a problem at the beginning of using cvx, when I use cvx_setup, i gives me an error:

CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1116 (d4cc5c5) Thu Mar 30 21:54:11 2017

Installation info:
Path: /home/svu/e0002189/cvx
MATLAB version: 9.4 (R2018a)
OS: Linux amd64 version 2.6.32-696.18.7.el6.x86_64
Java version: 1.8.0_144
Verfying CVX directory contents:
WARNING: The following extra files/directories were found:
/home/svu/e0002189/cvx/gurobi/w64/gurobi60.dll
/home/svu/e0002189/cvx/lib/cvx_bcompress_mex.mexmaci
/home/svu/e0002189/cvx/lib/cvx_eliminate_mex.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexMatvec.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexProd2.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexProd2nz.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexexpand.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexinprod.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexmat.mexmaci
/home/svu/e0002189/cvx/sdpt3/Solver/Mexfun/mexnnz.mexmaci
(and 42 more files)
These files may alter the behavior of CVX in unsupported ways.
ERROR: one or more MEX files for this platform are missing.
These files end in the suffix “.mexa64”. CVX will not operate
without these files. Please visit
And download a distribution targeted for your platform.
Preferences:
Path: /home/svu/e0002189/.matlab/cvx_prefs.mat
License host:
Username:*****
Host ID: 0025b3a33470 (eth0)
Installed license:
No license installed.
Installing license:
File: /home/svu/e0002189/cvx/cvx_license.dat
Organization: *****
Contact: Xu Xiaofei
License type: academic
Named user: ******
Host ID: 0025b3a33470
Expiration: 2019-07-23 (365 days remaining)
Status: verified

ERROR: ------------------------
Error using cvx_setup (line 22)
Error detected by cvx_version
-------------------------------
The installation of CVX was not completed. Please correct the error
and re-run CVX_SETUP.

And if I ignore the error and just continue using the cvx, it will report:

"An UndefinedFunction error was thrown on the workers for ‘cvx_begin’. This
might be because the file containing ‘cvx_begin’ is not accessible on the
workers. "

As I just download cvx from http://cvxr.com/cvx/download/, So does it mean that I can not use CVX directly after downloading? I don’t know much about the license. Thanks in advance for any help here!