It it's useful to know, my ultimate goal is to study crystallization in water using GROMACS.
Sincerely,
Sean Marks
Patel Group
Penn CBE
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/72fc39f3-5a4d-4ad6-b8d6-2891b61c009c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/4b9fd575-e60e-4248-b925-96da47a117a2%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/23021158-e238-404c-b86d-2ac9582dd1d9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/6a9fdd92-107a-456c-b57e-14ad4d51410f%40googlegroups.com.
# Water oxygens (TIP4P/Ice)
ow: GROUP ATOMS=1-16500:4
q6: Q6 SPECIES=ow SWITCH={GAUSSIAN R_0=0.02 D_0=0.32 D_MAX=0.34}
center: FIXEDATOM AT=2.5,2.5,2.5
sphere: INSPHERE ATOM=center DATA=q6 RADIUS={GAUSSIAN D_0=0.50 R_0=0.02 D_MAX=0.52} VMEAN
restraint: RESTRAINT ARG=sphere.vmean AT=0.5 KAPPA=1000.0 SLOPE=0.0
PRINT ARG=sphere.vmean,restraint.bias,restraint.force2 FILE=bias_Q6.out
# Water oxygens: atoms 1-N with stride 4 (TIP4P/Ice)
ow: GROUP ATOMS=1-16500:4
# Calculates q_{l,m}(i)
q6: Q6 SPECIES=ow SWITCH={GAUSSIAN D_0=0.32 R_0=0.01 D_MAX=0.34}
# Fixed virtual atom which serves as the probe volume's center (pos. in nm)
center: FIXEDATOM AT=2.5,2.5,2.5
# Probe volume
sphere: INSPHERE ATOM=center DATA=q6 RADIUS={GAUSSIAN D_0=0.5 R_0=0.01 D_MAX=0.52} VMEAN
# Include factor of sqrt(4*pi/(2*l+1) (for l=6) to get Q_6,v (Steinhardt definition)
q6v: COMBINE ARG=sphere.vmean COEFFICIENTS=0.98318 PARAMETERS=0.0 POWERS=1.0 PERIODIC=NO
# Bias the mean value of the OP in the sphere
restraint: RESTRAINT ARG=q6v AT=0.5 KAPPA=1000.0 SLOPE=0.0
print: PRINT ARG=q6v,restraint.bias FILE=bias_Q6_plumed.out
mpi-plumed_2.3.0 driver --plumed 'plumed.dat' --timestep 0.002 --trajectory-stride 500 --mf_xtc 'myxtcfile.xtc'
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/91626f94-5ff1-498b-9cc7-b78ca9cb9e92%40googlegroups.com.
PLUMED: Action Q6
PLUMED: with label q6
PLUMED: Steinhardt parameter of central atom and those within 0.01. Using gaussian swiching function with parameters d0=0.32
PLUMED: keyword SPECIES takes atoms : 1 5 9 ...
PLUMED: Action FIXEDATOM
PLUMED: with label center
PLUMED: serial associated to this virtual atom is 16501
PLUMED: AT position 2.5 2.5 2.5
PLUMED: Action INSPHERE
PLUMED: with label sphere
PLUMED: calculating q6 inside region of insterest
PLUMED: added component to this action: sphere.vmean
PLUMED: value sphere.vmean contains the norm of the mean vector
PLUMED: center of sphere is at position of atom : 16501
PLUMED: radius of sphere is given by 0.01. Using gaussian swiching function with parameters d0=0.5
PLUMED: Action COMBINE
PLUMED: with label q6v
PLUMED: with arguments sphere.vmean
PLUMED: with coefficients: 0.983180
PLUMED: with parameters: 0.000000
PLUMED: and powers: 1.000000
PLUMED: Action RESTRAINT
PLUMED: with label restraint
PLUMED: with arguments q6v
PLUMED: added component to this action: restraint.bias
PLUMED: at 0.500000
PLUMED: with harmonic force constant 1000.000000
PLUMED: and linear force constant 0.000000
PLUMED: added component to this action: restraint.force2
PLUMED: Action PRINT
PLUMED: with label print
PLUMED: with stride 1
PLUMED: with arguments q6v restraint.bias
PLUMED: on file bias_Q6_plumed.out
PLUMED: with format %f
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/66c72c35-1eab-4d23-9508-fab050ceead9%40googlegroups.com.
<traj_frame_1177ps.xtc><traj_frame_2951ps.xtc><traj_frame_7264ps.xtc>
./configure --program-suffix=_git_mpi \
--enable-modules=crystallization \
LDFLAGS="-L/usr/local/lib" \
CPPFLAGS="-I/usr/local/include" \
LIBS="-lxdrfile"
On 08 Mar 2017, at 21:56, Sean Marks <seanma...@gmail.com> wrote:
Hi, Gareth,
Thanks for working with me to resolve this issue. I installed the 2.4.0-dev version using the git repository you indicated and reran the calculations, but I'm still getting NaN on the same frames. What do you think might be the issue? Perhaps I'm compiling/linking incorrectly; here's the command I ran to configure PLUMED:./configure --program-suffix=_git_mpi \
--enable-modules=crystallization \
LDFLAGS="-L/usr/local/lib" \
CPPFLAGS="-I/usr/local/include" \
LIBS="-lxdrfile"
I've also attached my config.log. I haven't done the regtests for 2.4.0-dev, but my 2.3.0 installation passed all applicable tests.
Sean
On Wednesday, March 8, 2017 at 4:05:32 PM UTC-5, Gareth Tribello wrote:
Hello again SeanThanks for these frames. I had a run of them and I don’t get nan, which is weird. I am running with the latest master version of plumed which you can download using:git clone https://github.com/plumed/plumed2.gitCan you have a go with that version on your machine to see if it is something machine specific or if it is just that there is an error in an old version of plumed that has now been repaired.Separately on the switching function it is just that the output command reads:std::cout<<“and those within “<<r_0<<“. Using gaussian switching function with parameters d0=“<<0.23<<std::endl;which I admit is perhaps misleading for a log message.ThanksGareth
On 07 Mar 2017, at 17:23, Sean Marks <seanma...@gmail.com> wrote:
Hi, Gareth,
Here are the three frames that given nan. In each case, my code says there are at least 10 applicable atoms (i.e. water oxygens) in the volume, so I don't think it's an issue with the frames themselves. It bears mentioning that with my output, PLUMED prints some potentially incorrect information to stdout:
PLUMED: Action Q6
PLUMED: with label q6
PLUMED: Steinhardt parameter of central atom and those within 0.01. Using gaussian swiching function withparameters d0=0.32
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/132d5280-1371-41f5-b3da-74439828c666%40googlegroups.com.
<config.log>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/plumed-users/132d5280-1371-41f5-b3da-74439828c666%40googlegroups
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users+unsubscribe@googlegroups.com.
To post to this group, send email to plumed...@googlegroups.com.
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/7cca06f7-7609-400e-ae9c-2b23b4124ac6%40googlegroups.com.
#! FIELDS time q6v restraint.bias
0.000000 0.144393 63.228119
1.000000 0.127395 69.417232
2.000000 0.093932 82.445490
3.000000 0.147839 62.008660
4.000000 0.144977 63.020641
5.000000 0.144423 63.217521
6.000000 0.092486 83.033794
7.000000 nan nan
8.000000 0.174318 53.034346
9.000000 0.247137 31.969790
10.000000 0.141759 64.168392
11.000000 0.099090 80.364279
12.000000 0.127046 69.547494
13.000000 0.172266 53.704756
14.000000 0.147717 62.051531
15.000000 0.144188 63.301068
16.000000 0.149100 61.565547
17.000000 0.161993 57.124447
18.000000 0.097169 81.136330
19.000000 0.155983 59.173815
20.000000 0.104583 78.177226
To view this discussion on the web visit <a href="<a href="https://groups.google.com/d/msgid/plum
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-var
Visit this group at https://groups.google.com/group/plumed-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/39365f5b-dd4d-470f-ade6-d5e997a53c22%40googlegroups.com.
> On 23 Feb 2017, at 21:33, Sean Marks <seanma...@<a href="http://gmail.com/" rel="nofollow" target="_blank" onmousedown="this.href='http://gmail.com/';return true;" onclick="this.href='http://