Fix bond/create get error message

I have used Fix bond/create to generate new bonds.But keep receiveing error message which say: "exceed special bond list"
By following the instruction in fix bond/create command.

I have defined
"4 extra bond per atoms " in data input
and "special bond fene extra 4" in script input

I've been using
"group attach type 1 3 5
fix gen attach bond/create 1000 1 5 1.5 1 iparam 3 1 jparam 4 5
fix crosslink attach bond/create 1000 3 5 1.5 1 iparam 3 3 jparam 4 5"

As you could see, the maxbond for every (type 1 or 3 or 5)were set smaller than 4(the value I used in special bond and data input.)

Can anyone give me some advice on what might have caused this problem?

I have used Fix bond/create to generate new bonds.But keep receiveing error message which say: "exceed special bond list"

no such message exists in the current lammps code.

axel.

Let me rephrase my question. The error Message I have is "new bond exceeded special list size".

I don’t know. You appear to be using two fix bond/create commands
for the same group of atoms, which may not work. The two commands
know nothing about each other and keep track of their own bond
lists and counts. So possibly you are exceeding the limits.

You can add print statements where the error is generated and
see what atom is the problem and what it’s current bond and
special list status is.

Steve