Error:too many groups

Hello all,

I would like to specify many groups and apply spring force to some of the group atoms. However, I always got the error like: Error: too many groups.

In the manual, it is said the limited number of group is 32. But in my calculation, the number of groups is 27, less than 32.

I would like to apologize if I missed any other important information in the manual. But I really don’t know how to solve the problem.

The groups are specified as:

group g1 type 1 2 11 12
group g2 type 3 4 5 6 7 8 9 10
group co1 id 22595
group co2 id 22643
group co3 id 22601
group co4 id 22591
group co5 id 22593
group co6 id 22663
group co7 id 22675
group co8 id 22661
group coa id 22595 22643 22601 22591 22593 22663 22675 22661
group zw1 id 27089
group zw2 id 27119
group zw3 id 27149
group zw4 id 27179
group zw5 id 27209
group zw6 id 27239
group zw7 id 27269
group zw8 id 27299
group zw9 id 27637
group zw10 id 27667
group zw11 id 27697
group zw12 id 27727
group zw13 id 27757
group zw14 id 27787
group zw15 id 27817
group zw16 id 27847

Thanks in advance,

Hang

Hello all,

I would like to specify many groups and apply spring force to some of the
group atoms. However, I always got the error like: Error: too many groups.

In the manual, it is said the limited number of group is 32. But in my
calculation, the number of groups is 27, less than 32.

I would like to apologize if I missed any other important information in the
manual. But I really don't know how to solve the problem.

there is no problem, unless there is something else
in your input that you are not showing us. i can add
your group statements to, say, the melt example
from the lammps distribution and it works fine.

before reporting a problem, please make sure that
you provide info that actually reproduces it.

thanks,
     axel.

Hi Axel,

I appreciate your help! Yes, you are right, if the calculation started from initial data file. I should not have any problem. I didn’t realize it is due to the specification of group in restart file. I mean, the calculation was started from restart file where I have already specified 9 groups. Therefore, when I started from the resart file and then specify another 27 groups, I will have 27+9 groups, more than 32. So, I deleted those previous 9 groups. Now, everything looks good.

Thanks again,

Hang

2012/6/30 Axel Kohlmeyer <[email protected]>