espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo-users] Using Virtual sites in the center of mass of a molecule


From: Hender Lopez
Subject: [ESPResSo-users] Using Virtual sites in the center of mass of a molecule
Date: Fri, 22 Nov 2013 14:44:34 +0000

Dear all,

I have been trying to use virtual particles in the center of mass
(COM) of the a molecule (section 4.4.1 in the manual) and it seems
that it has some bugs. First, it only works if you use 1 molecule.
Although in this case you have to be careful because all the particles
id have to be consecutive.  Secondly, even with only one molecule I
haven't be able to run a sim in parallel. Does any body have any idea
of how to fix this? Attached you will find a script that illustrates
what I ask. It defines two molecules each with 3 particles. In each of
the molecules there is a virtual particle. After the definitions, the
script prints the position of the COM and the virtual particles (they
should be the same and they effectively are). But when the update of
the system is done (by calling integrate 0) the position of the
virtual particle of molecule 2 crashes (-NaN -NaN -NaN).  If you run
the program in parallel in gives the following error:

[nanopart:18254] *** Process received signal ***
[nanopart:18254] Signal: Segmentation fault (11)
[nanopart:18254] Signal code: Address not mapped (1)
[nanopart:18254] Failing at address: 0x18
[nanopart:18254] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)
[0x7fd14c9a8cb0]
[nanopart:18254] [ 1]
/home/hender/espresso-3.2.0/Espresso(calc_mol_pos+0x78) [0x456cd8]
[nanopart:18254] [ 2]
/home/hender/espresso-3.2.0/Espresso(update_mol_pos_particle+0x17)
[0x456eb7]
[nanopart:18254] [ 3]
/home/hender/espresso-3.2.0/Espresso(update_mol_pos_cfg+0x43)
[0x456b23]
[nanopart:18254] [ 4]
/home/hender/espresso-3.2.0/Espresso(updatePartCfg+0x121) [0x4366c1]
[nanopart:18254] [ 5]
/home/hender/espresso-3.2.0/Espresso(centermass+0x22) [0x440592]
[nanopart:18254] [ 6]
/home/hender/espresso-3.2.0/Espresso(tclcommand_analyze+0xf4d)
[0x493bad]
[nanopart:18254] [ 7]
/usr/lib/libtcl8.5.so.0(TclInvokeStringCommand+0x6c) [0x7fd14d18e12c]
[nanopart:18254] [ 8] /usr/lib/libtcl8.5.so.0(+0x2c757) [0x7fd14d18f757]
[nanopart:18254] [ 9] /usr/lib/libtcl8.5.so.0(+0x2d463) [0x7fd14d190463]
[nanopart:18254] [10] /usr/lib/libtcl8.5.so.0(+0xa8ff6) [0x7fd14d20bff6]
[nanopart:18254] [11] /usr/lib/libtcl8.5.so.0(+0x2d1b3) [0x7fd14d1901b3]
[nanopart:18254] [12] /usr/lib/libtcl8.5.so.0(Tcl_EvalEx+0x16) [0x7fd14d18fe46]
[nanopart:18254] [13] /usr/lib/libtcl8.5.so.0(Tcl_FSEvalFileEx+0x21e)
[0x7fd14d1f721e]
[nanopart:18254] [14] /usr/lib/libtcl8.5.so.0(Tcl_Main+0x346) [0x7fd14d1fdcc6]
[nanopart:18254] [15] /home/hender/espresso-3.2.0/Espresso(main+0x4a) [0x413baa]
[nanopart:18254] [16]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)
[0x7fd14c5fa76d]
[nanopart:18254] [17] /home/hender/espresso-3.2.0/Espresso() [0x413bd5]
[nanopart:18254] *** End of error message ***



Thanks in advance.

Hender

Attachment: test_virtual.tcl
Description: Tcl script


reply via email to

[Prev in Thread] Current Thread [Next in Thread]