When I compile abinit 8.8.4 with levmar 2.6, I got some error message about calling_levmar.c and build fail.
So, I modify calling_levmar.c.
ret=dlevmar_bc_dif(dre_and_im_screening, coeffs, yvals, c_ncoeffs, c_nvals, lower_bounds, upper_bounds, 1000, opts, info, NULL, NULL, (void *)&adata); // Box boundary conditions without Jacobian
to ret=dlevmar_bc_dif(dre_and_im_screening, coeffs, yvals, c_ncoeffs, c_nvals, lower_bounds, upper_bounds, NULL, 1000, opts, info, NULL, NULL, (void *)&adata); // Box boundary conditions without Jacobian
Is it ok or is support for levmar deprecated?
Thank you.
compile abinit 8.8.4 with levmar 2.6
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Re: compile abinit 8.8.4 with levmar 2.6
Is it ok or is support for levmar deprecated?
Levmar is only used in a specialized section of the GW code.
99.9% of the Abinit features do not rely on this piece of code.
When I compile abinit 8.8.4 with levmar 2.6, I got some error message about calling_levmar.c and build fail.
So, I modify calling_levmar.c.
Error message?
Re: compile abinit 8.8.4 with levmar 2.6
I got this error message.
"
../../../src/02_clib/calling_levmar.c:221:11: error: too few arguments to function ‘dlevmar_bc_dif’
ret=dlevmar_bc_dif(dre_and_im_screening, coeffs, yvals, c_ncoeffs, c_nvals, \
^~~~~~~~~~~~~~
"
When I check levmar.h and compare it to calling_levmar.c, I found parameter for "double *dscl" is missing.
Thank you.
"
../../../src/02_clib/calling_levmar.c:221:11: error: too few arguments to function ‘dlevmar_bc_dif’
ret=dlevmar_bc_dif(dre_and_im_screening, coeffs, yvals, c_ncoeffs, c_nvals, \
^~~~~~~~~~~~~~
"
When I check levmar.h and compare it to calling_levmar.c, I found parameter for "double *dscl" is missing.
Thank you.