[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: glpk: support for GNU Linear Programming Kit was unavailable
Re: error: glpk: support for GNU Linear Programming Kit was unavailable or disabled when Octave was built
Fri, 9 Aug 2019 07:49:36 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
Le 08/08/2019 à 16:26, PurpleCrumpets a écrit :
As the title suggests, I am having issues with the glpk package. I'm very
new to Octave so I apologise in advance if I say something that is obviously
completely stupid. As a bit of background, I am running Octave 4.2.1 on the
computer cluster at work. Part way though the simulation I am running, I get
the following error message:
Creating Kriging models...
Kriging model is stk_materncov_aniso (default)
with linear trend.
error: glpk: support for GNU Linear Programming Kit was unavailable or
disabled when Octave was built
error: called from
glpk at line 600 column 27
qp at line 380 column 27
sqp at line 412 column 27
stk_minimize_boxconstrained at line 53 column 12
stk_param_estim at line 156 column 21
createKrigingModels at line 134 column 41
DEcalioc at line 162 column 17
Firstly, if glpk is disbled, how can it read to line 600 of glpk?
This is line 600 of glpk.m, which is an Octave function that wraps the
actual call to the GLPK library.
glpm.m is always present, even when Octave was built without the GLPK
If it is disabled, is this something I can download (like a normal package
off of source forge for example) or will I likely need the cluster admin to
add an up to date Octave module to the cluster that doesn't have glpk
No I don't think you can simply "add" GLPK. If your version of Octave
was built without it, it won't work.
What you need is both the GLPK library AND a version of Octave that was
built with GLPK support enabled.
Finally, I assume under a normal installation of Octave, glpk is also
installed such that this error wouldn't occur?
Yes, it usually is. Do you know which particular OS is used on the