Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix_bd.o error #5

Open
m-vanitha opened this issue Sep 13, 2021 · 1 comment
Open

fix_bd.o error #5

m-vanitha opened this issue Sep 13, 2021 · 1 comment

Comments

@m-vanitha
Copy link

HI, I am trying to simulate a chromatin system in the overdamped regime using BD simulation. I have uploaded the fix_bd and fix_bd_baob.cpp and the corresponding header files in the src folder. While building Lammps I am getting the following error:
Can you help me where it goes wrong .It seems force -> numeric is the issue. How to fix this and didnt get much help in google for this

../fix_bd.cpp:45:21: error: ‘class LAMMPS_NS::Force’ has no member named ‘numeric’
t_target = force->numeric(FLERR,arg[3]); // set temperature
^~~~~~~
../fix_bd.cpp:46:21: error: ‘class LAMMPS_NS::Force’ has no member named ‘numeric’
t_period = force->numeric(FLERR,arg[4]); // same as t_period in fix_langevin_overdamp.cpp
^~~~~~~
../fix_bd.cpp:47:17: error: ‘class LAMMPS_NS::Force’ has no member named ‘inumeric’
seed = force->inumeric(FLERR,arg[5]); //seed for random number generator. integer
^~~~~~~~
Makefile:109: recipe for target 'fix_bd.o' failed
make[1]: *** [fix_bd.o] Error 1
make[1]: Leaving directory '/home/vanitha/Downloads/lammps-29oct20/src/Obj_serial'
Makefile:195: recipe for target 'serial' failed
make: *** [serial] Error 2

@anyuzx
Copy link
Owner

anyuzx commented Dec 12, 2021

Hi,
Sorry for the late response. I haven't tested this fix in the recent version of LAMMPS. I suspect that this is due to the code changes. Fortunately, LAMMPS now officially has a BD fix https://docs.lammps.org/fix_brownian.html. I suggest that you just use that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants