do you think it's a CMake, CLion, or Elemental issue?
Ryan H. Lewis
@rhl-
Well, I got past that one by asking CLion to use my system cmake instead of the pre-baked on
now I have a problem that the debugger isn't working properly
i think thats because Elemental is overriding the build type
and CLion doesn't set the build type the same way
Jack Poulson
@poulson
you can specify the build type
if it is Debug or Release, nothing should be overwritten
Ryan H. Lewis
@rhl-
right, i think CLion doesn't set the type using the standard way
so what is happening is Elemental somehow overrides the decision CLion makes
im trying to figure it out
.. working on BFGS. I have an initial implementation, trying to get the line searchs
i'm going to start with wolf and strong wolf
and use tag dispatching to provide options.
Ryan H. Lewis
@rhl-
Hm. Nope. just confirmed CLion is doing the right thing there. must be a bug in Clion or something
Ryan H. Lewis
@rhl-
@poulson just pushed a branch with my initial BFGS impl. any thoughts on test cases appreciated
Jack Poulson
@poulson
a long time ago I was working on BFGS for logistic regression
but I never finished it
you might want to look into Fisher's scoring method
Ryan H. Lewis
@rhl-
do you have the branch? My line search doesn't work for a simple 1x1 example :(
Jack Poulson
@poulson
what do you mean?
I don't think I ever committed it
Ryan H. Lewis
@rhl-
ah, oh well
what about fishers scoring method?
oh I see, a way of generating test cases. It seems my line search is majorly screwy.
_
i'm not sure why..
Ryan H. Lewis
@rhl-
i just implemented the only on page 60 of nocedal and wright
and now it seems to converge..
weird. depending on initial conditions it is either converging or returning all nans.
Ryan H. Lewis
@rhl-
Hm. I only made it not converge once out of like 1000 runs.
Ryan H. Lewis
@rhl-
@poulson: I was able to get the CLion debugger to work. I needed to disable the part of the build that overrides your build options. Is this really needed? Why is RelWithDebuginfo not supported?
Jack Poulson
@poulson
@rhl- I can't seem to remember why I disabled it; it would be a good idea to re-enable it with the appropriate flags (e.g., -g for GNU)
Ryan H. Lewis
@rhl-
@poulson I see. I'm not sure what you mean. I see that you are setting compilation flags using ${LANG}_FLAGS. I'm quite sure this is un-necessary. CMake does this for you.
I am noticing that somehow this morning my El build is broken due to those changes in CMakeLists.txt