You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: