colloid particles with atom style sphere and fix GCMC

Respected Sir

I am trying to use "Fix gcmc" command along with "atom style sphere" as i
have to simulate colloidal particles, on using this i encounter an error
in LAMMPS
"Signal: Segmentation fault (11)
Signal code: Address not mapped (1)
Failing at address: (nil)
/lib64/libpthread.so.0 [0x398f00ebe0]....."

while if I change the atom style to "full" and do not consider colloidal
particles then there is no problem.

Please let me know if we can use atom style sphere and fix gcmc together
in LAMMPS, because i did not encounter any statement saying that these two
cannot be used together.

This is a Q for Paul.

Steve

Respected Sir

I am trying to use "Fix gcmc" command along with "atom style sphere" as i
have to simulate colloidal particles, on using this i encounter an error

this seems to be a *very* odd choice. what is it that you require fix
gcmc to do for you exactly? there is a good chance that you are trying
to do something that is better done differently or has little meaning
(to put it mildly).

in LAMMPS
"Signal: Segmentation fault (11)
Signal code: Address not mapped (1)
Failing at address: (nil)
/lib64/libpthread.so.0 [0x398f00ebe0]....."

this is completely useless. there are frequent explanations on this
very mailing list on how to best report problems and how to help
investigating them. i also have repeatedly given instructions on the
mailing list how one can obtain a stack trace and therefore determine
the origin of the segfault. please spend some time researching the
mailing list archive.

while if I change the atom style to "full" and do not consider colloidal
particles then there is no problem.

Please let me know if we can use atom style sphere and fix gcmc together
in LAMMPS, because i did not encounter any statement saying that these two
cannot be used together.

that logic is wrong. with a package as large and as complex as LAMMPS
you have to assume that something does *not* work unless it says it
does.

axel.

I’ve never tried using fix gcmc with atom style sphere, and it isn’t surprising that they don’t seem to work well together. I imagine it would be particularly bad if a solvent molecule insertion were attempted inside a spherical particle. It could probably be made to work, but I think it wouldn’t be trivial. So probably the short-term solution is to disallow this (and similar) combinations in both the code and the documentation.

Paul