Can I Use CVX on a high performance computer of my university? and how?


#1

How can I Use CVX on a high performance computer of my university?

It seems like the HPC cannot recognise my cvx sentences, such as cvx_begin, cvx_end and the related functions in these two functions. How can I solve this problem?


(Mark L. Stone) #2

CVX needs to be installed on the computer you wish to run it on.


#3

Thank you! But how to install the cvx on the high performance computer? I only know how to do that on my own laptop.


(Mark L. Stone) #4

I suppose you will need to consult with the HPC administrator.


#5

Thank you! Do you know can I use the cvx without installing it? I can put the “cvx_setup” in my code when launching my matlab job on HPC:

qsub -v infile=pwd/code.m,addinfiles=pwd/function1.m:pwd/function12.m:pwd/cvx_setup.m run-matlab.sh
https://wiki.rc.ucl.ac.uk/wiki/Full_Matlab_on_Legion#Setup

But other cvx functions will be invoked, e.g. cvx_begin, cvx_expert.
So I have to include those in the launch command.
But more and more related cvx_* functions are called, and I could not know the full set of cvx functions.

I tried using the wildcard * or ** to include all the function files, but it could not work.

Thank you!


(Mark L. Stone) #6

AS I wrote before, CVX needs to be installed on the machine, and I suppose you will need to consult with the HPC administrator.