move some styles around
This commit is contained in:
81
examples/PACKAGES/grem/README
Normal file
81
examples/PACKAGES/grem/README
Normal file
@ -0,0 +1,81 @@
|
||||
Generalized Replica Exchange Method (gREM) examples
|
||||
===================================================
|
||||
|
||||
Examples:
|
||||
---------------------------------------------------
|
||||
|
||||
lj-single:
|
||||
This example is the simplest case scenario utilizing the generalized
|
||||
ensemble defined by fix_grem. It utilizes only 1 replica and requires
|
||||
the LAMMPS executable to be run as usual:
|
||||
|
||||
mpirun -np 4 lmp_mpi -in in.gREM-npt
|
||||
./lmp_serial -in in.gREM-nvt
|
||||
|
||||
While this does not obtain any information about Ts(H), it is most similar to
|
||||
a microcanonical simulation and "single-replica gREM" can be useful for
|
||||
studying non-equilibrium processes as well.
|
||||
|
||||
lj-6rep:
|
||||
This example utilizes an external python script to handle swaps between
|
||||
replicas. Included is run.sh, which requires the path to your LAMMPS
|
||||
executable. The python script is fragile as it relies on parsing output files
|
||||
from the LAMMPS run and moving LAMMPS data files between directories. Use
|
||||
caution if modifying this example further. If complied with mpi, multiple
|
||||
processors can be used as:
|
||||
|
||||
./run.sh $NUM_PROCS
|
||||
|
||||
a serial run is completed simply as
|
||||
|
||||
./run.sh 1
|
||||
|
||||
where the executable provided must be serial if "1" is provided as the number
|
||||
of procs. While this external replica exchange module is quite slow and
|
||||
inefficient, it allows for many replicas to be used on a single processor.
|
||||
While here there are only 6 replicas, this example could be extended to >100
|
||||
replicas while still using a serial compilation. This is also beneficial for
|
||||
running on high performance nodes with few cores to complete a full-scale gREM
|
||||
simulation with a large number of replicas.
|
||||
|
||||
A quick note on efficiency: frequent exchanges slow down this script
|
||||
substantially because LAMMPS is restarted every exchange attempt. The script
|
||||
works best for large systems with infrequent exchanges.
|
||||
|
||||
lj-temper:
|
||||
This is an example using the internal replica exchange module. While fast
|
||||
in comparison to the python version, it requires substantial resources
|
||||
(at least 1 proc per replica). Instead of stopping LAMMPS every exchange
|
||||
attempt, all replicas are run concurrently, and exchanges take place
|
||||
internally. This requires use of LAMMPS partition mode, via the command
|
||||
line using the -p flag. Input files require world type variables defining
|
||||
the parameters of each replica. The included example with 4 replicas must
|
||||
run on at least 4 procs, in that case LAMMPS could be initiated as:
|
||||
|
||||
mpirun -np 4 lmp_mpi -p 4x1 -in in.gREM-temper
|
||||
|
||||
spawning 4 partitions with 1 replica each. Multiple procs per replica could
|
||||
be used. In the case of a 16 system with 4 replicas, the
|
||||
following logic could be used:
|
||||
|
||||
mpirun -np 16 lmp_mpi -p 4x4 -in in.gREM-temper
|
||||
|
||||
Once started, a universe log file will be created as well as log files for
|
||||
each replica. The universe (log.lammps) contains exchange information, while
|
||||
the replicas (*/log.lammps.*) contains the thermo_output as usual. In this
|
||||
example, in.gREM-temper moves the log files to their respective folders.
|
||||
|
||||
|
||||
Closing Notes:
|
||||
---------------------------------------------------
|
||||
|
||||
Of significant difference between lj-6rep and lj-temper is the format of data.
|
||||
In lj-6rep, data is stored as 'replicas' meaning discontinuous trajectories, as
|
||||
files are moved between directories labeled by the 'lambda' of the replica. In
|
||||
lj-temper, data is stored as 'walkers' with continuous trajectories, but
|
||||
discontinuous parameters. The later is significantly more efficient, but
|
||||
requires post-processing to obtain per-replica information.
|
||||
|
||||
|
||||
Any problems/questions should be directed to <dstelter@bu.edu>.
|
||||
|
||||
1022
examples/PACKAGES/grem/lj-6rep/400/restart.init
Normal file
1022
examples/PACKAGES/grem/lj-6rep/400/restart.init
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-6rep/405/restart.init
Normal file
1022
examples/PACKAGES/grem/lj-6rep/405/restart.init
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-6rep/410/restart.init
Normal file
1022
examples/PACKAGES/grem/lj-6rep/410/restart.init
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-6rep/415/restart.init
Normal file
1022
examples/PACKAGES/grem/lj-6rep/415/restart.init
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-6rep/420/restart.init
Normal file
1022
examples/PACKAGES/grem/lj-6rep/420/restart.init
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-6rep/425/restart.init
Normal file
1022
examples/PACKAGES/grem/lj-6rep/425/restart.init
Normal file
File diff suppressed because it is too large
Load Diff
15
examples/PACKAGES/grem/lj-6rep/clean.sh
Executable file
15
examples/PACKAGES/grem/lj-6rep/clean.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#/bin/bash
|
||||
|
||||
for i in $(ls -d [0-9]*)
|
||||
do
|
||||
rm -f $i/final*
|
||||
rm -f $i/log*
|
||||
rm -f $i/ent*
|
||||
rm -f $i/output
|
||||
cp $i/restart.init $i/restart_file
|
||||
done
|
||||
|
||||
echo 1 > lastexchange
|
||||
cp walker.bkp lastwalker
|
||||
|
||||
exit 0
|
||||
168
examples/PACKAGES/grem/lj-6rep/double-re-short.py
Executable file
168
examples/PACKAGES/grem/lj-6rep/double-re-short.py
Executable file
@ -0,0 +1,168 @@
|
||||
#!/usr/bin/env python2.7
|
||||
|
||||
import os, sys
|
||||
from numpy import *
|
||||
import numpy.random
|
||||
|
||||
### Runs replica exchange with gREM (fix grem) for unlimited number of replicas on a set number of processors. This script is inefficient, but necessary if wanting to run with hundreds of replicas on relatively few number of procs.
|
||||
|
||||
|
||||
### read number of processors from the command line
|
||||
nproc = int(sys.argv[1])
|
||||
|
||||
### path to simulation directory
|
||||
path = os.getcwd()
|
||||
|
||||
### path to LAMMPS executable
|
||||
lmp = sys.argv[2]
|
||||
|
||||
### LAMMPS input name
|
||||
inp = sys.argv[3]
|
||||
|
||||
### define pressure for simulations (0 if const V)
|
||||
pressure = 0
|
||||
|
||||
### some constants for gREM, must match with LAMMPS input file!
|
||||
H = -30000
|
||||
eta = -0.01
|
||||
#kB = 0.000086173324 # eV (metal)
|
||||
kB = 0.0019872 # kcal/mol (real)
|
||||
|
||||
### define lambdas - script assumes that there are already existing directories with all files necessary to run
|
||||
lambdas=[400,405,410,415,420,425]
|
||||
ll = len(lambdas)
|
||||
|
||||
### define number of exchanges
|
||||
starting_ex = int(loadtxt("lastexchange"))
|
||||
how_many_ex = 5
|
||||
max_exchange = starting_ex+how_many_ex
|
||||
|
||||
### array with walkers
|
||||
walker = loadtxt("lastwalker")
|
||||
|
||||
### initiate array with enthalpies
|
||||
enthalpy = zeros(ll)
|
||||
aver_enthalpy = zeros(ll)
|
||||
|
||||
for exchange in arange(starting_ex,max_exchange):
|
||||
print "run", exchange
|
||||
for l in range(ll):
|
||||
#print "replica", l
|
||||
os.chdir(path+"/%s" % lambdas[l])
|
||||
#os.system("cp restart_file restart_file%d" % exchange)
|
||||
if (nproc > 1):
|
||||
os.system("mpirun -np %d " % (nproc) + lmp + " -in ../" + inp + " -var lambda %g -var eta %g -var enthalpy %g > output" % (lambdas[l], eta, H))
|
||||
if (nproc == 1):
|
||||
os.system(lmp + " -in ../" + inp + " -var lambda %g -var eta %g -var enthalpy %g > output" % (lambdas[l], eta, H))
|
||||
os.system("grep -v '[a-zA-Z]' output | awk '{if(NF==6 && NR>19)print $0}' | awk '{print $3}' >ent")
|
||||
enthalpy[l] = os.popen("tail -n 1 ent").read()
|
||||
ee = loadtxt("ent")
|
||||
aver_enthalpy[l] = mean(ee[-1])
|
||||
# os.system("mv dump.dcd dump%d.dcd" % exchange)
|
||||
os.system("mv log.lammps log%d.lammps" % exchange)
|
||||
os.system("mv final_restart_file final_restart_file%d" % exchange)
|
||||
os.system("mv ent ent%d" % exchange)
|
||||
os.system("bzip2 log%d.lammps ent%d" % (exchange,exchange))
|
||||
os.system("cp final_restart_file%d restart_file" % exchange)
|
||||
|
||||
### replicas will be exchanged based on enthalpy order, not replicas order (termostat order)
|
||||
#entalpy_sorted_indices = enthalpy.argsort()
|
||||
aver_entalpy_sorted_indices = aver_enthalpy.argsort()
|
||||
|
||||
### choose pair of replicas for exchange attempt based on enthalpy order
|
||||
pp = random.random_integers(0,ll-2)
|
||||
first = aver_entalpy_sorted_indices[pp]
|
||||
second = aver_entalpy_sorted_indices[pp+1]
|
||||
#if (first>second):
|
||||
# tmp = first
|
||||
# first = second
|
||||
# second = tmp
|
||||
print "pair1:", first, second
|
||||
|
||||
### calculate weights for exchange criterion
|
||||
w1 = log(lambdas[first]+eta*(enthalpy[first]-1*H))
|
||||
w2 = log(lambdas[first]+eta*(enthalpy[second]-1*H))
|
||||
w3 = log(lambdas[second]+eta*(enthalpy[first]-1*H))
|
||||
w4 = log(lambdas[second]+eta*(enthalpy[second]-1*H))
|
||||
weight = (w4-w3+w1-w2)/eta/kB
|
||||
|
||||
### generate randon number for exchange criterion and calc its log
|
||||
LOGRANDNUM = log(random.random())
|
||||
|
||||
### wyzeruj warunki
|
||||
compare1 = 0
|
||||
compare2 = 0
|
||||
|
||||
if (weight>0):
|
||||
compare1 = 1
|
||||
if (weight>LOGRANDNUM):
|
||||
compare2 = 1
|
||||
|
||||
### exchange restart files if exchange condition is satisfied
|
||||
if (compare1>0 or compare2>0):
|
||||
print "exchange1 accepted for pair", first, second, lambdas[first], lambdas[second], "with compares as", compare1, compare2, "weight as", weight, "and lograndnum", LOGRANDNUM
|
||||
os.system("cp %s/%s/final_restart_file%d %s/%s/restart_file" % (path,lambdas[first],exchange,path,lambdas[second]))
|
||||
os.system("cp %s/%s/final_restart_file%d %s/%s/restart_file" % (path,lambdas[second],exchange,path,lambdas[first]))
|
||||
### update walkers
|
||||
tmp1=walker[first]
|
||||
tmp2=walker[second]
|
||||
walker[first]=tmp2
|
||||
walker[second]=tmp1
|
||||
else:
|
||||
print "exchange1 not accepted for pair", first, second, lambdas[first], lambdas[second], "with compares as", compare1, compare2, "weight as", weight, "and lograndnum", LOGRANDNUM
|
||||
|
||||
### choose again pair of replicas for exchange attempt based on enthalpy order
|
||||
### but make sure this pair is different than the first pair
|
||||
if_different = 0
|
||||
while if_different<1:
|
||||
pp2 = random.random_integers(0,ll-2)
|
||||
third = aver_entalpy_sorted_indices[pp2]
|
||||
fourth = aver_entalpy_sorted_indices[pp2+1]
|
||||
if (third!=first and third!=second and third!=aver_entalpy_sorted_indices[pp-1]):
|
||||
if_different = 1
|
||||
|
||||
print "pair2:", third, fourth
|
||||
|
||||
### calculate weights for exchange criterion
|
||||
w1 = log(lambdas[third]+eta*(enthalpy[third]-1*H))
|
||||
w2 = log(lambdas[third]+eta*(enthalpy[fourth]-1*H))
|
||||
w3 = log(lambdas[fourth]+eta*(enthalpy[third]-1*H))
|
||||
w4 = log(lambdas[fourth]+eta*(enthalpy[fourth]-1*H))
|
||||
weight = (w4-w3+w1-w2)/eta/kB
|
||||
|
||||
### generate randon number for exchange criterion and calc its log
|
||||
LOGRANDNUM = log(random.random())
|
||||
|
||||
### wyzeruj warunki
|
||||
compare1 = 0
|
||||
compare2 = 0
|
||||
|
||||
if (weight>0):
|
||||
compare1 = 1
|
||||
if (weight>LOGRANDNUM):
|
||||
compare2 = 1
|
||||
|
||||
### exchange restart files if exchange condition is satisfied
|
||||
if (compare1>0 or compare2>0):
|
||||
print "exchange2 accepted for pair", third, fourth, lambdas[third], lambdas[fourth], "with compares as", compare1, compare2, "weight as", weight, "and lograndnum", LOGRANDNUM
|
||||
os.system("cp %s/%s/final_restart_file%d %s/%s/restart_file" % (path,lambdas[third],exchange,path,lambdas[fourth]))
|
||||
os.system("cp %s/%s/final_restart_file%d %s/%s/restart_file" % (path,lambdas[fourth],exchange,path,lambdas[third]))
|
||||
### update walkers
|
||||
tmp1=walker[third]
|
||||
tmp2=walker[fourth]
|
||||
walker[third]=tmp2
|
||||
walker[fourth]=tmp1
|
||||
else:
|
||||
print "exchange2 not accepted for pair", third, fourth, lambdas[third], lambdas[fourth], "with compares as", compare1, compare2, "weight as", weight, "and lograndnum", LOGRANDNUM
|
||||
#print "walkers:", walker
|
||||
print "".join(["%d " % x for x in walker])
|
||||
sys.stdout.flush()
|
||||
|
||||
lastwalker = open(path + "/lastwalker", "w")
|
||||
lastwalker.write("".join(["%d " % w for w in walker]))
|
||||
lastwalker.close()
|
||||
|
||||
lastexchange = open(path + "/lastexchange", "w")
|
||||
lastexchange.write("%d" % (exchange+1))
|
||||
lastexchange.close()
|
||||
|
||||
25
examples/PACKAGES/grem/lj-6rep/in.gREM
Normal file
25
examples/PACKAGES/grem/lj-6rep/in.gREM
Normal file
@ -0,0 +1,25 @@
|
||||
# LJ particles
|
||||
variable T0 index 300.0
|
||||
variable press index 0.0
|
||||
variable lambda index 400.0
|
||||
variable eta index -0.01
|
||||
variable enthalpy index -30000.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "restart_file"
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
velocity all create ${T0} 12427
|
||||
timestep 1.0
|
||||
|
||||
fix fxnvt all npt temp ${T0} ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxgREM all grem ${lambda} ${eta} ${enthalpy} fxnvt
|
||||
thermo_modify press fxgREM_press
|
||||
run 10000
|
||||
|
||||
write_data final_restart_file
|
||||
12
examples/PACKAGES/grem/lj-6rep/run.sh
Executable file
12
examples/PACKAGES/grem/lj-6rep/run.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
NPROCS=1
|
||||
if [ $# -gt 0 ]; then
|
||||
NPROCS=$1
|
||||
fi
|
||||
|
||||
bash ./clean.sh
|
||||
|
||||
python ./double-re-short.py $NPROCS $HOME/compile/lammps-icms/src/lmp_omp in.gREM > total_output.$NPROCS
|
||||
|
||||
exit 0
|
||||
1
examples/PACKAGES/grem/lj-6rep/walker.bkp
Normal file
1
examples/PACKAGES/grem/lj-6rep/walker.bkp
Normal file
@ -0,0 +1 @@
|
||||
0 1 2 3 4 5
|
||||
21
examples/PACKAGES/grem/lj-single/in.gREM-npt
Normal file
21
examples/PACKAGES/grem/lj-single/in.gREM-npt
Normal file
@ -0,0 +1,21 @@
|
||||
# LJ particles
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "lj.data"
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
timestep 1.0
|
||||
|
||||
fix fxnpt all npt temp ${T0} ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxgREM all grem 400 -.01 -30000 fxnpt
|
||||
thermo_modify press fxgREM_press
|
||||
run 1000
|
||||
|
||||
#write_data lj-out.data
|
||||
20
examples/PACKAGES/grem/lj-single/in.gREM-nvt
Normal file
20
examples/PACKAGES/grem/lj-single/in.gREM-nvt
Normal file
@ -0,0 +1,20 @@
|
||||
# LJ particles
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "lj.data"
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
timestep 1.0
|
||||
|
||||
fix fxnvt all nvt temp ${T0} ${T0} 1000.0
|
||||
fix fxgREM all grem 400 -.01 -30000 fxnvt
|
||||
run 1000
|
||||
|
||||
#write_data lj-out.data
|
||||
1022
examples/PACKAGES/grem/lj-single/lj.data
Normal file
1022
examples/PACKAGES/grem/lj-single/lj.data
Normal file
File diff suppressed because it is too large
Load Diff
176
examples/PACKAGES/grem/lj-single/log.gREM-npt.9Nov16.g++.1
Normal file
176
examples/PACKAGES/grem/lj-single/log.gREM-npt.9Nov16.g++.1
Normal file
@ -0,0 +1,176 @@
|
||||
LAMMPS (9 Nov 2016)
|
||||
using 1 OpenMP thread(s) per MPI task
|
||||
# LJ particles
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "lj.data"
|
||||
orthogonal box = (1.06874 1.06874 1.06874) to (23.9313 23.9313 23.9313)
|
||||
1 by 1 by 1 MPI processor grid
|
||||
reading atoms ...
|
||||
500 atoms
|
||||
reading velocities ...
|
||||
500 velocities
|
||||
0 = max # of 1-2 neighbors
|
||||
0 = max # of 1-3 neighbors
|
||||
0 = max # of 1-4 neighbors
|
||||
1 = max # of special neighbors
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
timestep 1.0
|
||||
|
||||
fix fxnvt all npt temp ${T0} ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 300 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 300 1000.0 iso 0 ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 300 1000.0 iso 0 0 10000.0
|
||||
fix fxgREM all grem 400 -.01 -30000 fxnvt
|
||||
thermo_modify press fxgREM_press
|
||||
run 1000
|
||||
Neighbor list info ...
|
||||
1 neighbor list requests
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 7
|
||||
ghost atom cutoff = 7
|
||||
binsize = 3.5 -> bins = 7 7 7
|
||||
Memory usage per processor = 5.37943 Mbytes
|
||||
Step Temp PotEng TotEng Press Volume
|
||||
0 305.69499 -3177.6423 -2722.9442 -91.741776 11950.115
|
||||
10 312.30124 -3182.2257 -2717.7013 -203.95075 11950.113
|
||||
20 314.94567 -3186.456 -2717.9982 -265.56737 11950.108
|
||||
30 312.229 -3183.7641 -2719.3472 -196.90499 11950.097
|
||||
40 305.94068 -3180.7085 -2725.6449 -92.562221 11950.083
|
||||
50 300.42281 -3176.5838 -2729.7277 10.896769 11950.066
|
||||
60 299.16747 -3174.1939 -2729.205 50.094171 11950.05
|
||||
70 301.65965 -3176.0918 -2727.396 0.096901939 11950.035
|
||||
80 304.77876 -3178.2699 -2724.9346 -64.001022 11950.019
|
||||
90 305.60598 -3178.9517 -2724.386 -93.672879 11950.003
|
||||
100 303.8005 -3177.5156 -2725.6354 -74.516709 11949.985
|
||||
110 300.86776 -3175.4773 -2727.9593 -34.22655 11949.965
|
||||
120 298.70177 -3175.6488 -2731.3526 -19.014898 11949.944
|
||||
130 298.39686 -3176.3792 -2732.5365 -21.293245 11949.923
|
||||
140 300.00669 -3177.7032 -2731.466 -40.992937 11949.902
|
||||
150 301.85665 -3178.1312 -2729.1423 -45.715505 11949.88
|
||||
160 301.20597 -3177.3218 -2729.3007 -10.104082 11949.857
|
||||
170 297.01134 -3172.7462 -2730.9643 99.298381 11949.833
|
||||
180 291.279 -3168.3513 -2735.0958 219.47549 11949.812
|
||||
190 287.13954 -3165.1287 -2738.0304 309.36947 11949.796
|
||||
200 286.57735 -3165.2951 -2739.033 323.96954 11949.786
|
||||
210 289.83941 -3167.8245 -2736.7103 271.77305 11949.783
|
||||
220 296.12858 -3171.8054 -2731.3366 172.4056 11949.785
|
||||
230 303.82424 -3176.3108 -2724.3952 56.711479 11949.791
|
||||
240 309.95738 -3180.9789 -2719.9408 -40.992898 11949.798
|
||||
250 312.0405 -3182.3473 -2718.2107 -57.591676 11949.805
|
||||
260 309.65444 -3181.0587 -2720.4712 3.3540332 11949.81
|
||||
270 304.40001 -3176.5798 -2723.8078 130.77028 11949.816
|
||||
280 298.65985 -3174.1505 -2729.9166 237.63562 11949.825
|
||||
290 294.78709 -3170.9701 -2732.4966 326.94924 11949.838
|
||||
300 294.03216 -3169.9567 -2732.6062 349.85486 11949.859
|
||||
310 296.44397 -3172.8519 -2731.914 284.80897 11949.886
|
||||
320 301.41027 -3175.9697 -2727.6447 179.4647 11949.92
|
||||
330 307.88911 -3181.2615 -2723.2998 24.702414 11949.957
|
||||
340 314.73138 -3186.0047 -2717.8656 -132.6263 11949.995
|
||||
350 320.55591 -3187.8509 -2711.0483 -245.88468 11950.031
|
||||
360 323.50274 -3188.9994 -2707.8136 -314.73676 11950.062
|
||||
370 321.61539 -3187.1233 -2708.7448 -293.17446 11950.086
|
||||
380 314.37275 -3181.484 -2713.8784 -169.00448 11950.104
|
||||
390 303.54884 -3174.1675 -2722.6616 12.923999 11950.119
|
||||
400 293.40432 -3167.0348 -2730.6181 187.6624 11950.135
|
||||
410 288.46351 -3165.273 -2736.2054 252.20051 11950.154
|
||||
420 290.31387 -3168.604 -2736.7841 193.73816 11950.178
|
||||
430 296.35519 -3173.09 -2732.2841 81.521847 11950.207
|
||||
440 301.92973 -3175.4344 -2726.3368 -1.8329439 11950.237
|
||||
450 303.76205 -3176.777 -2724.9539 -35.002096 11950.267
|
||||
460 301.71619 -3174.2731 -2725.4932 14.977875 11950.296
|
||||
470 298.92404 -3172.9921 -2728.3652 64.224747 11950.326
|
||||
480 298.80164 -3172.5329 -2728.0881 82.781347 11950.358
|
||||
490 302.71589 -3175.3703 -2725.1034 27.223049 11950.39
|
||||
500 309.10665 -3179.3013 -2719.5285 -65.460658 11950.424
|
||||
510 314.36408 -3183.2854 -2715.6927 -151.19245 11950.456
|
||||
520 315.71154 -3183.5328 -2713.9358 -163.19151 11950.485
|
||||
530 313.31886 -3182.2521 -2716.214 -125.5741 11950.511
|
||||
540 309.81847 -3178.9358 -2718.1043 -55.55841 11950.534
|
||||
550 308.29687 -3177.837 -2719.2688 -24.39371 11950.556
|
||||
560 308.75927 -3176.3265 -2717.0705 0.93689833 11950.578
|
||||
570 307.52811 -3175.8145 -2718.3897 35.502429 11950.6
|
||||
580 301.75074 -3173.1208 -2724.2894 136.29625 11950.622
|
||||
590 292.37743 -3165.5806 -2730.6913 319.75957 11950.648
|
||||
600 283.57627 -3159.8617 -2738.0635 471.28045 11950.68
|
||||
610 279.85172 -3157.4557 -2741.1975 530.72699 11950.722
|
||||
620 283.40879 -3160.5911 -2739.042 455.28104 11950.775
|
||||
630 292.53718 -3166.3125 -2731.1856 296.63465 11950.838
|
||||
640 302.81112 -3173.3096 -2722.901 113.80844 11950.907
|
||||
650 309.83321 -3179.3684 -2718.515 -26.499431 11950.978
|
||||
660 312.1283 -3182.7335 -2718.4663 -89.363745 11951.049
|
||||
670 311.16363 -3181.867 -2719.0347 -69.370989 11951.118
|
||||
680 308.51041 -3180.6869 -2721.801 -25.972987 11951.186
|
||||
690 304.64393 -3176.8751 -2723.7403 56.592367 11951.254
|
||||
700 300.24456 -3175.4797 -2728.8887 112.34442 11951.323
|
||||
710 296.35785 -3172.9705 -2732.1607 168.18009 11951.394
|
||||
720 293.78145 -3172.1065 -2735.1289 182.81082 11951.468
|
||||
730 293.25707 -3170.8715 -2734.6738 171.04236 11951.547
|
||||
740 295.33219 -3172.9109 -2733.6266 91.351362 11951.629
|
||||
750 299.69136 -3175.2574 -2729.4892 -16.266404 11951.713
|
||||
760 305.2281 -3177.9836 -2723.9799 -137.30615 11951.796
|
||||
770 310.59309 -3182.7053 -2720.7216 -272.72961 11951.877
|
||||
780 314.65573 -3183.4212 -2715.3947 -341.231 11951.952
|
||||
790 316.48606 -3185.44 -2714.691 -388.53602 11952.02
|
||||
800 315.15897 -3186.846 -2718.0709 -384.28316 11952.08
|
||||
810 310.43559 -3183.6648 -2721.9154 -282.61999 11952.133
|
||||
820 303.22265 -3178.464 -2727.4433 -121.47565 11952.179
|
||||
830 295.36843 -3175.4771 -2736.1389 33.066504 11952.223
|
||||
840 288.69698 -3169.5813 -2740.1664 216.10697 11952.268
|
||||
850 283.82649 -3165.7822 -2743.6118 359.56896 11952.317
|
||||
860 280.04102 -3162.8228 -2746.283 475.61942 11952.374
|
||||
870 277.10059 -3159.6212 -2747.4551 572.5432 11952.441
|
||||
880 275.76549 -3158.2545 -2748.0743 616.43304 11952.52
|
||||
890 276.82327 -3158.9703 -2747.2166 596.08147 11952.612
|
||||
900 280.72135 -3162.0637 -2744.5119 506.33695 11952.716
|
||||
910 287.1035 -3167.4388 -2740.3941 356.68688 11952.831
|
||||
920 294.28041 -3171.6218 -2733.902 206.06394 11952.953
|
||||
930 300.36009 -3173.9046 -2727.1418 88.047911 11953.08
|
||||
940 303.86761 -3175.5599 -2723.5798 7.6846808 11953.209
|
||||
950 304.42957 -3176.0831 -2723.2672 -25.15496 11953.339
|
||||
960 303.13982 -3176.0534 -2725.1559 -28.715178 11953.467
|
||||
970 302.30166 -3176.9758 -2727.325 -43.264668 11953.596
|
||||
980 303.93331 -3178.9891 -2726.9114 -88.434034 11953.723
|
||||
990 307.36223 -3180.7316 -2723.5535 -145.46208 11953.849
|
||||
1000 310.09574 -3181.101 -2719.8571 -180.39125 11953.972
|
||||
Loop time of 0.307225 on 1 procs for 1000 steps with 500 atoms
|
||||
|
||||
Performance: 281.227 ns/day, 0.085 hours/ns, 3254.944 timesteps/s
|
||||
99.6% CPU use with 1 MPI tasks x 1 OpenMP threads
|
||||
|
||||
MPI task timing breakdown:
|
||||
Section | min time | avg time | max time |%varavg| %total
|
||||
---------------------------------------------------------------
|
||||
Pair | 0.25351 | 0.25351 | 0.25351 | 0.0 | 82.52
|
||||
Bond | 7.1526e-05 | 7.1526e-05 | 7.1526e-05 | 0.0 | 0.02
|
||||
Neigh | 0.0042093 | 0.0042093 | 0.0042093 | 0.0 | 1.37
|
||||
Comm | 0.010211 | 0.010211 | 0.010211 | 0.0 | 3.32
|
||||
Output | 0.0013611 | 0.0013611 | 0.0013611 | 0.0 | 0.44
|
||||
Modify | 0.033891 | 0.033891 | 0.033891 | 0.0 | 11.03
|
||||
Other | | 0.003969 | | | 1.29
|
||||
|
||||
Nlocal: 500 ave 500 max 500 min
|
||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||
Nghost: 1610 ave 1610 max 1610 min
|
||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||
Neighs: 14765 ave 14765 max 14765 min
|
||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||
|
||||
Total # of neighbors = 14765
|
||||
Ave neighs/atom = 29.53
|
||||
Ave special neighs/atom = 0
|
||||
Neighbor list builds = 5
|
||||
Dangerous builds = 0
|
||||
|
||||
#write_data lj-out.data
|
||||
Total wall time: 0:00:00
|
||||
176
examples/PACKAGES/grem/lj-single/log.gREM-npt.9Nov16.g++.4
Normal file
176
examples/PACKAGES/grem/lj-single/log.gREM-npt.9Nov16.g++.4
Normal file
@ -0,0 +1,176 @@
|
||||
LAMMPS (9 Nov 2016)
|
||||
using 1 OpenMP thread(s) per MPI task
|
||||
# LJ particles
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "lj.data"
|
||||
orthogonal box = (1.06874 1.06874 1.06874) to (23.9313 23.9313 23.9313)
|
||||
1 by 2 by 2 MPI processor grid
|
||||
reading atoms ...
|
||||
500 atoms
|
||||
reading velocities ...
|
||||
500 velocities
|
||||
0 = max # of 1-2 neighbors
|
||||
0 = max # of 1-3 neighbors
|
||||
0 = max # of 1-4 neighbors
|
||||
1 = max # of special neighbors
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
timestep 1.0
|
||||
|
||||
fix fxnvt all npt temp ${T0} ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 300 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 300 1000.0 iso 0 ${press} 10000.0
|
||||
fix fxnvt all npt temp 300 300 1000.0 iso 0 0 10000.0
|
||||
fix fxgREM all grem 400 -.01 -30000 fxnvt
|
||||
thermo_modify press fxgREM_press
|
||||
run 1000
|
||||
Neighbor list info ...
|
||||
1 neighbor list requests
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 7
|
||||
ghost atom cutoff = 7
|
||||
binsize = 3.5 -> bins = 7 7 7
|
||||
Memory usage per processor = 5.34276 Mbytes
|
||||
Step Temp PotEng TotEng Press Volume
|
||||
0 305.69499 -3177.6423 -2722.9442 -91.741776 11950.115
|
||||
10 312.30124 -3182.2257 -2717.7013 -203.95075 11950.113
|
||||
20 314.94567 -3186.456 -2717.9982 -265.56737 11950.108
|
||||
30 312.229 -3183.7641 -2719.3472 -196.90499 11950.097
|
||||
40 305.94068 -3180.7085 -2725.6449 -92.562221 11950.083
|
||||
50 300.42281 -3176.5838 -2729.7277 10.896769 11950.066
|
||||
60 299.16747 -3174.1939 -2729.205 50.094171 11950.05
|
||||
70 301.65965 -3176.0918 -2727.396 0.096901939 11950.035
|
||||
80 304.77876 -3178.2699 -2724.9346 -64.001022 11950.019
|
||||
90 305.60598 -3178.9517 -2724.386 -93.672879 11950.003
|
||||
100 303.8005 -3177.5156 -2725.6354 -74.516709 11949.985
|
||||
110 300.86776 -3175.4773 -2727.9593 -34.22655 11949.965
|
||||
120 298.70177 -3175.6488 -2731.3526 -19.014898 11949.944
|
||||
130 298.39686 -3176.3792 -2732.5365 -21.293245 11949.923
|
||||
140 300.00669 -3177.7032 -2731.466 -40.992937 11949.902
|
||||
150 301.85665 -3178.1312 -2729.1423 -45.715505 11949.88
|
||||
160 301.20597 -3177.3218 -2729.3007 -10.104082 11949.857
|
||||
170 297.01134 -3172.7462 -2730.9643 99.298381 11949.833
|
||||
180 291.279 -3168.3513 -2735.0958 219.47549 11949.812
|
||||
190 287.13954 -3165.1287 -2738.0304 309.36947 11949.796
|
||||
200 286.57735 -3165.2951 -2739.033 323.96954 11949.786
|
||||
210 289.83941 -3167.8245 -2736.7103 271.77305 11949.783
|
||||
220 296.12858 -3171.8054 -2731.3366 172.4056 11949.785
|
||||
230 303.82424 -3176.3108 -2724.3952 56.711479 11949.791
|
||||
240 309.95738 -3180.9789 -2719.9408 -40.992898 11949.798
|
||||
250 312.0405 -3182.3473 -2718.2107 -57.591676 11949.805
|
||||
260 309.65444 -3181.0587 -2720.4712 3.3540332 11949.81
|
||||
270 304.40001 -3176.5798 -2723.8078 130.77028 11949.816
|
||||
280 298.65985 -3174.1505 -2729.9166 237.63562 11949.825
|
||||
290 294.78709 -3170.9701 -2732.4966 326.94924 11949.838
|
||||
300 294.03216 -3169.9567 -2732.6062 349.85486 11949.859
|
||||
310 296.44397 -3172.8519 -2731.914 284.80897 11949.886
|
||||
320 301.41027 -3175.9697 -2727.6447 179.4647 11949.92
|
||||
330 307.88911 -3181.2615 -2723.2998 24.702414 11949.957
|
||||
340 314.73138 -3186.0047 -2717.8656 -132.6263 11949.995
|
||||
350 320.55591 -3187.8509 -2711.0483 -245.88468 11950.031
|
||||
360 323.50274 -3188.9994 -2707.8136 -314.73676 11950.062
|
||||
370 321.61539 -3187.1233 -2708.7448 -293.17446 11950.086
|
||||
380 314.37275 -3181.484 -2713.8784 -169.00448 11950.104
|
||||
390 303.54884 -3174.1675 -2722.6616 12.923999 11950.119
|
||||
400 293.40432 -3167.0348 -2730.6181 187.6624 11950.135
|
||||
410 288.46351 -3165.273 -2736.2054 252.20051 11950.154
|
||||
420 290.31387 -3168.604 -2736.7841 193.73816 11950.178
|
||||
430 296.35519 -3173.09 -2732.2841 81.521847 11950.207
|
||||
440 301.92973 -3175.4344 -2726.3368 -1.8329439 11950.237
|
||||
450 303.76205 -3176.777 -2724.9539 -35.002096 11950.267
|
||||
460 301.71619 -3174.2731 -2725.4932 14.977875 11950.296
|
||||
470 298.92404 -3172.9921 -2728.3652 64.224747 11950.326
|
||||
480 298.80164 -3172.5329 -2728.0881 82.781347 11950.358
|
||||
490 302.71589 -3175.3703 -2725.1034 27.223049 11950.39
|
||||
500 309.10665 -3179.3013 -2719.5285 -65.460658 11950.424
|
||||
510 314.36408 -3183.2854 -2715.6927 -151.19245 11950.456
|
||||
520 315.71154 -3183.5328 -2713.9358 -163.19151 11950.485
|
||||
530 313.31886 -3182.2521 -2716.214 -125.5741 11950.511
|
||||
540 309.81847 -3178.9358 -2718.1043 -55.55841 11950.534
|
||||
550 308.29687 -3177.837 -2719.2688 -24.39371 11950.556
|
||||
560 308.75927 -3176.3265 -2717.0705 0.93689833 11950.578
|
||||
570 307.52811 -3175.8145 -2718.3897 35.502429 11950.6
|
||||
580 301.75074 -3173.1208 -2724.2894 136.29625 11950.622
|
||||
590 292.37743 -3165.5806 -2730.6913 319.75957 11950.648
|
||||
600 283.57627 -3159.8617 -2738.0635 471.28045 11950.68
|
||||
610 279.85172 -3157.4557 -2741.1975 530.72699 11950.722
|
||||
620 283.40879 -3160.5911 -2739.042 455.28104 11950.775
|
||||
630 292.53718 -3166.3125 -2731.1856 296.63465 11950.838
|
||||
640 302.81112 -3173.3096 -2722.901 113.80844 11950.907
|
||||
650 309.83321 -3179.3684 -2718.515 -26.499431 11950.978
|
||||
660 312.1283 -3182.7335 -2718.4663 -89.363745 11951.049
|
||||
670 311.16363 -3181.867 -2719.0347 -69.370989 11951.118
|
||||
680 308.51041 -3180.6869 -2721.801 -25.972987 11951.186
|
||||
690 304.64393 -3176.8751 -2723.7403 56.592367 11951.254
|
||||
700 300.24456 -3175.4797 -2728.8887 112.34442 11951.323
|
||||
710 296.35785 -3172.9705 -2732.1607 168.18009 11951.394
|
||||
720 293.78145 -3172.1065 -2735.1289 182.81082 11951.468
|
||||
730 293.25707 -3170.8715 -2734.6738 171.04236 11951.547
|
||||
740 295.33219 -3172.9109 -2733.6266 91.351362 11951.629
|
||||
750 299.69136 -3175.2574 -2729.4892 -16.266404 11951.713
|
||||
760 305.2281 -3177.9836 -2723.9799 -137.30615 11951.796
|
||||
770 310.59309 -3182.7053 -2720.7216 -272.72961 11951.877
|
||||
780 314.65573 -3183.4212 -2715.3947 -341.231 11951.952
|
||||
790 316.48606 -3185.44 -2714.691 -388.53602 11952.02
|
||||
800 315.15897 -3186.846 -2718.0709 -384.28316 11952.08
|
||||
810 310.43559 -3183.6648 -2721.9154 -282.61999 11952.133
|
||||
820 303.22265 -3178.464 -2727.4433 -121.47565 11952.179
|
||||
830 295.36843 -3175.4771 -2736.1389 33.066504 11952.223
|
||||
840 288.69698 -3169.5813 -2740.1664 216.10697 11952.268
|
||||
850 283.82649 -3165.7822 -2743.6118 359.56896 11952.317
|
||||
860 280.04102 -3162.8228 -2746.283 475.61942 11952.374
|
||||
870 277.10059 -3159.6212 -2747.4551 572.5432 11952.441
|
||||
880 275.76549 -3158.2545 -2748.0743 616.43304 11952.52
|
||||
890 276.82327 -3158.9703 -2747.2166 596.08147 11952.612
|
||||
900 280.72135 -3162.0637 -2744.5119 506.33695 11952.716
|
||||
910 287.1035 -3167.4388 -2740.3941 356.68688 11952.831
|
||||
920 294.28041 -3171.6218 -2733.902 206.06394 11952.953
|
||||
930 300.36009 -3173.9046 -2727.1418 88.047911 11953.08
|
||||
940 303.86761 -3175.5599 -2723.5798 7.6846808 11953.209
|
||||
950 304.42957 -3176.0831 -2723.2672 -25.15496 11953.339
|
||||
960 303.13982 -3176.0534 -2725.1559 -28.715178 11953.467
|
||||
970 302.30166 -3176.9758 -2727.325 -43.264668 11953.596
|
||||
980 303.93331 -3178.9891 -2726.9114 -88.434034 11953.723
|
||||
990 307.36223 -3180.7316 -2723.5535 -145.46208 11953.849
|
||||
1000 310.09574 -3181.101 -2719.8571 -180.39125 11953.972
|
||||
Loop time of 0.154208 on 4 procs for 1000 steps with 500 atoms
|
||||
|
||||
Performance: 560.281 ns/day, 0.043 hours/ns, 6484.730 timesteps/s
|
||||
98.1% CPU use with 4 MPI tasks x 1 OpenMP threads
|
||||
|
||||
MPI task timing breakdown:
|
||||
Section | min time | avg time | max time |%varavg| %total
|
||||
---------------------------------------------------------------
|
||||
Pair | 0.072079 | 0.074846 | 0.079666 | 1.1 | 48.54
|
||||
Bond | 5.7936e-05 | 6.634e-05 | 8.1062e-05 | 0.1 | 0.04
|
||||
Neigh | 0.0010812 | 0.0012064 | 0.0012748 | 0.2 | 0.78
|
||||
Comm | 0.032452 | 0.037544 | 0.04076 | 1.6 | 24.35
|
||||
Output | 0.0018461 | 0.0020589 | 0.0026393 | 0.7 | 1.34
|
||||
Modify | 0.032085 | 0.032688 | 0.033361 | 0.3 | 21.20
|
||||
Other | | 0.005799 | | | 3.76
|
||||
|
||||
Nlocal: 125 ave 127 max 123 min
|
||||
Histogram: 1 0 1 0 0 0 0 1 0 1
|
||||
Nghost: 870.5 ave 882 max 862 min
|
||||
Histogram: 1 1 0 0 0 0 1 0 0 1
|
||||
Neighs: 3691.25 ave 3807 max 3563 min
|
||||
Histogram: 1 0 0 0 1 0 1 0 0 1
|
||||
|
||||
Total # of neighbors = 14765
|
||||
Ave neighs/atom = 29.53
|
||||
Ave special neighs/atom = 0
|
||||
Neighbor list builds = 5
|
||||
Dangerous builds = 0
|
||||
|
||||
#write_data lj-out.data
|
||||
Total wall time: 0:00:00
|
||||
173
examples/PACKAGES/grem/lj-single/log.gREM-nvt.9Nov16.g++.1
Normal file
173
examples/PACKAGES/grem/lj-single/log.gREM-nvt.9Nov16.g++.1
Normal file
@ -0,0 +1,173 @@
|
||||
LAMMPS (9 Nov 2016)
|
||||
using 1 OpenMP thread(s) per MPI task
|
||||
# LJ particles
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "lj.data"
|
||||
orthogonal box = (1.06874 1.06874 1.06874) to (23.9313 23.9313 23.9313)
|
||||
1 by 1 by 1 MPI processor grid
|
||||
reading atoms ...
|
||||
500 atoms
|
||||
reading velocities ...
|
||||
500 velocities
|
||||
0 = max # of 1-2 neighbors
|
||||
0 = max # of 1-3 neighbors
|
||||
0 = max # of 1-4 neighbors
|
||||
1 = max # of special neighbors
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
timestep 1.0
|
||||
|
||||
fix fxnvt all nvt temp ${T0} ${T0} 1000.0
|
||||
fix fxnvt all nvt temp 300 ${T0} 1000.0
|
||||
fix fxnvt all nvt temp 300 300 1000.0
|
||||
fix fxgREM all grem 400 -.01 -30000 fxnvt
|
||||
run 1000
|
||||
Neighbor list info ...
|
||||
1 neighbor list requests
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 7
|
||||
ghost atom cutoff = 7
|
||||
binsize = 3.5 -> bins = 7 7 7
|
||||
Memory usage per processor = 5.37943 Mbytes
|
||||
Step Temp PotEng TotEng Press Volume
|
||||
0 305.69499 -3177.6423 -2722.9442 883.58369 11950.115
|
||||
10 312.30121 -3182.2257 -2717.7013 793.47811 11950.115
|
||||
20 314.94553 -3186.4559 -2717.9983 738.74091 11950.115
|
||||
30 312.22861 -3183.7638 -2719.3474 797.47978 11950.115
|
||||
40 305.93987 -3180.7079 -2725.6455 881.30806 11950.115
|
||||
50 300.42132 -3176.5828 -2729.7288 967.92042 11950.115
|
||||
60 299.16487 -3174.1921 -2729.2071 1004.247 11950.115
|
||||
70 301.65565 -3176.0891 -2727.3992 962.58134 11950.115
|
||||
80 304.77334 -3178.2663 -2724.939 907.8946 11950.115
|
||||
90 305.59929 -3178.9472 -2724.3914 879.91629 11950.115
|
||||
100 303.79263 -3177.5103 -2725.6418 892.67631 11950.115
|
||||
110 300.85863 -3175.4711 -2727.9667 923.44924 11950.115
|
||||
120 298.69083 -3175.6415 -2731.3615 931.87518 11950.115
|
||||
130 298.38415 -3176.3706 -2732.5468 928.88286 11950.115
|
||||
140 299.99129 -3177.6935 -2731.4792 914.36783 11950.115
|
||||
150 301.83869 -3178.121 -2729.1588 915.01407 11950.115
|
||||
160 301.18834 -3177.3117 -2729.3169 947.45228 11950.115
|
||||
170 296.99406 -3172.7363 -2730.9801 1042.6928 11950.115
|
||||
180 291.25952 -3168.3407 -2735.1142 1144.5436 11950.115
|
||||
190 287.1178 -3164.9847 -2737.9187 1223.4003 11950.115
|
||||
200 286.552 -3165.2799 -2739.0555 1235.6703 11950.115
|
||||
210 289.81033 -3167.8062 -2736.7353 1194.6672 11950.115
|
||||
220 296.09616 -3171.7847 -2731.3641 1115.8799 11950.115
|
||||
230 303.79176 -3176.2893 -2724.4221 1024.6471 11950.115
|
||||
240 309.9273 -3180.9591 -2719.9657 945.55045 11950.115
|
||||
250 312.0159 -3182.3307 -2718.2306 934.36956 11950.115
|
||||
260 309.63264 -3181.0452 -2720.4901 986.77385 11950.115
|
||||
270 304.38172 -3176.568 -2723.8233 1097.264 11950.115
|
||||
280 298.64188 -3174.1384 -2729.9313 1186.2239 11950.115
|
||||
290 294.76686 -3170.9562 -2732.5128 1264.247 11950.115
|
||||
300 294.00805 -3169.8091 -2732.4944 1287.4001 11950.115
|
||||
310 296.41801 -3172.834 -2731.9347 1229.5624 11950.115
|
||||
320 301.38477 -3175.9514 -2727.6644 1140.8664 11950.115
|
||||
330 307.86584 -3181.2442 -2723.3171 1007.1545 11950.115
|
||||
340 314.7103 -3185.9891 -2717.8814 871.74528 11950.115
|
||||
350 320.53954 -3187.8385 -2711.0602 776.85994 11950.115
|
||||
360 323.49505 -3188.9927 -2707.8184 716.58062 11950.115
|
||||
370 321.62077 -3187.1246 -2708.7381 731.01909 11950.115
|
||||
380 314.39049 -3181.4931 -2713.8611 831.21057 11950.115
|
||||
390 303.57079 -3174.1804 -2722.6419 978.62645 11950.115
|
||||
400 293.42165 -3167.0452 -2730.6027 1122.3558 11950.115
|
||||
410 288.46838 -3165.4071 -2736.3322 1171.8087 11950.115
|
||||
420 290.30766 -3168.5988 -2736.7882 1122.5413 11950.115
|
||||
430 296.34338 -3173.0824 -2732.2941 1030.2769 11950.115
|
||||
440 301.92394 -3175.4307 -2726.3417 964.25387 11950.115
|
||||
450 303.76745 -3176.9122 -2725.0811 934.49176 11950.115
|
||||
460 301.72985 -3174.2821 -2725.4818 979.07605 11950.115
|
||||
470 298.93736 -3173.0014 -2728.3548 1020.0482 11950.115
|
||||
480 298.80912 -3172.803 -2728.3471 1036.6531 11950.115
|
||||
490 302.72217 -3175.3764 -2725.1001 997.71146 11950.115
|
||||
500 309.11393 -3179.3088 -2719.5253 925.81108 11950.115
|
||||
510 314.37612 -3183.2961 -2715.6855 856.23748 11950.115
|
||||
520 315.72767 -3183.547 -2713.926 847.70543 11950.115
|
||||
530 313.34173 -3182.2695 -2716.1974 877.30842 11950.115
|
||||
540 309.84312 -3178.9553 -2718.0871 936.69244 11950.115
|
||||
550 308.3251 -3177.8582 -2719.248 963.93032 11950.115
|
||||
560 308.79192 -3176.4834 -2717.1788 989.67643 11950.115
|
||||
570 307.57194 -3175.8464 -2718.3565 1021.0494 11950.115
|
||||
580 301.8035 -3173.1582 -2724.2483 1102.4893 11950.115
|
||||
590 292.43425 -3165.751 -2730.7772 1254.7815 11950.115
|
||||
600 283.62905 -3159.8987 -2738.022 1381.0608 11950.115
|
||||
610 279.90122 -3157.49 -2741.1581 1431.0028 11950.115
|
||||
620 283.4582 -3160.756 -2739.1334 1367.7385 11950.115
|
||||
630 292.58866 -3166.3469 -2731.1435 1241.1194 11950.115
|
||||
640 302.86585 -3173.4778 -2722.9878 1089.7342 11950.115
|
||||
650 309.89252 -3179.4078 -2718.4662 972.6359 11950.115
|
||||
660 312.19165 -3182.7754 -2718.414 916.62037 11950.115
|
||||
670 311.2287 -3181.9102 -2718.9811 933.79804 11950.115
|
||||
680 308.57852 -3180.7312 -2721.7441 969.24936 11950.115
|
||||
690 304.71609 -3176.9196 -2723.6775 1040.2699 11950.115
|
||||
700 300.31995 -3175.5245 -2728.8213 1082.845 11950.115
|
||||
710 296.43537 -3173.0166 -2732.0915 1127.4487 11950.115
|
||||
720 293.86692 -3172.1582 -2735.0535 1135.0215 11950.115
|
||||
730 293.35611 -3170.9335 -2734.5885 1122.9143 11950.115
|
||||
740 295.44861 -3172.9862 -2733.5288 1050.995 11950.115
|
||||
750 299.82732 -3175.3467 -2729.3763 958.31462 11950.115
|
||||
760 305.37987 -3178.216 -2723.9866 854.1946 11950.115
|
||||
770 310.75394 -3182.8127 -2720.5898 737.72668 11950.115
|
||||
780 314.81395 -3183.7905 -2715.5286 679.74198 11950.115
|
||||
790 316.63339 -3185.8028 -2714.8346 638.48871 11950.115
|
||||
800 315.2894 -3186.9345 -2717.9654 641.53256 11950.115
|
||||
810 310.54289 -3183.7383 -2721.8293 728.51241 11950.115
|
||||
820 303.31439 -3178.7897 -2727.6326 864.45674 11950.115
|
||||
830 295.46125 -3175.5387 -2736.0625 997.72969 11950.115
|
||||
840 288.802 -3169.6502 -2740.0791 1160.6622 11950.115
|
||||
850 283.94785 -3165.8605 -2743.5096 1289.55 11950.115
|
||||
860 280.17501 -3163.0381 -2746.299 1392.8854 11950.115
|
||||
870 277.2456 -3159.8429 -2747.4611 1481.3899 11950.115
|
||||
880 275.93123 -3158.3584 -2747.9316 1523.5374 11950.115
|
||||
890 277.0215 -3159.2285 -2747.18 1506.1558 11950.115
|
||||
900 280.96237 -3162.483 -2744.5728 1428.4183 11950.115
|
||||
910 287.37962 -3167.6183 -2740.1628 1303.0268 11950.115
|
||||
920 294.56731 -3171.6765 -2733.5299 1177.748 11950.115
|
||||
930 300.63273 -3174.0842 -2726.9158 1078.7393 11950.115
|
||||
940 304.10943 -3175.9847 -2723.645 1007.7154 11950.115
|
||||
950 304.64845 -3176.6263 -2723.4848 976.37917 11950.115
|
||||
960 303.36343 -3176.4694 -2725.2393 971.40749 11950.115
|
||||
970 302.57138 -3177.5541 -2727.5021 954.01115 11950.115
|
||||
980 304.2593 -3179.2101 -2726.6475 919.74949 11950.115
|
||||
990 307.69959 -3180.9631 -2723.2833 874.9594 11950.115
|
||||
1000 310.3971 -3181.9675 -2720.2753 842.81184 11950.115
|
||||
Loop time of 0.279202 on 1 procs for 1000 steps with 500 atoms
|
||||
|
||||
Performance: 309.453 ns/day, 0.078 hours/ns, 3581.633 timesteps/s
|
||||
99.1% CPU use with 1 MPI tasks x 1 OpenMP threads
|
||||
|
||||
MPI task timing breakdown:
|
||||
Section | min time | avg time | max time |%varavg| %total
|
||||
---------------------------------------------------------------
|
||||
Pair | 0.24196 | 0.24196 | 0.24196 | 0.0 | 86.66
|
||||
Bond | 6.628e-05 | 6.628e-05 | 6.628e-05 | 0.0 | 0.02
|
||||
Neigh | 0.0043204 | 0.0043204 | 0.0043204 | 0.0 | 1.55
|
||||
Comm | 0.010242 | 0.010242 | 0.010242 | 0.0 | 3.67
|
||||
Output | 0.0012252 | 0.0012252 | 0.0012252 | 0.0 | 0.44
|
||||
Modify | 0.017572 | 0.017572 | 0.017572 | 0.0 | 6.29
|
||||
Other | | 0.003811 | | | 1.37
|
||||
|
||||
Nlocal: 500 ave 500 max 500 min
|
||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||
Nghost: 1610 ave 1610 max 1610 min
|
||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||
Neighs: 14767 ave 14767 max 14767 min
|
||||
Histogram: 1 0 0 0 0 0 0 0 0 0
|
||||
|
||||
Total # of neighbors = 14767
|
||||
Ave neighs/atom = 29.534
|
||||
Ave special neighs/atom = 0
|
||||
Neighbor list builds = 5
|
||||
Dangerous builds = 0
|
||||
|
||||
#write_data lj-out.data
|
||||
Total wall time: 0:00:00
|
||||
173
examples/PACKAGES/grem/lj-single/log.gREM-nvt.9Nov16.g++.4
Normal file
173
examples/PACKAGES/grem/lj-single/log.gREM-nvt.9Nov16.g++.4
Normal file
@ -0,0 +1,173 @@
|
||||
LAMMPS (9 Nov 2016)
|
||||
using 1 OpenMP thread(s) per MPI task
|
||||
# LJ particles
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
read_data "lj.data"
|
||||
orthogonal box = (1.06874 1.06874 1.06874) to (23.9313 23.9313 23.9313)
|
||||
1 by 2 by 2 MPI processor grid
|
||||
reading atoms ...
|
||||
500 atoms
|
||||
reading velocities ...
|
||||
500 velocities
|
||||
0 = max # of 1-2 neighbors
|
||||
0 = max # of 1-3 neighbors
|
||||
0 = max # of 1-4 neighbors
|
||||
1 = max # of special neighbors
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp pe etotal press vol
|
||||
|
||||
timestep 1.0
|
||||
|
||||
fix fxnvt all nvt temp ${T0} ${T0} 1000.0
|
||||
fix fxnvt all nvt temp 300 ${T0} 1000.0
|
||||
fix fxnvt all nvt temp 300 300 1000.0
|
||||
fix fxgREM all grem 400 -.01 -30000 fxnvt
|
||||
run 1000
|
||||
Neighbor list info ...
|
||||
1 neighbor list requests
|
||||
update every 1 steps, delay 10 steps, check yes
|
||||
max neighbors/atom: 2000, page size: 100000
|
||||
master list distance cutoff = 7
|
||||
ghost atom cutoff = 7
|
||||
binsize = 3.5 -> bins = 7 7 7
|
||||
Memory usage per processor = 5.34276 Mbytes
|
||||
Step Temp PotEng TotEng Press Volume
|
||||
0 305.69499 -3177.6423 -2722.9442 883.58369 11950.115
|
||||
10 312.30121 -3182.2257 -2717.7013 793.47811 11950.115
|
||||
20 314.94553 -3186.4559 -2717.9983 738.74091 11950.115
|
||||
30 312.22861 -3183.7638 -2719.3474 797.47978 11950.115
|
||||
40 305.93987 -3180.7079 -2725.6455 881.30806 11950.115
|
||||
50 300.42132 -3176.5828 -2729.7288 967.92042 11950.115
|
||||
60 299.16487 -3174.1921 -2729.2071 1004.247 11950.115
|
||||
70 301.65565 -3176.0891 -2727.3992 962.58134 11950.115
|
||||
80 304.77334 -3178.2663 -2724.939 907.8946 11950.115
|
||||
90 305.59929 -3178.9472 -2724.3914 879.91629 11950.115
|
||||
100 303.79263 -3177.5103 -2725.6418 892.67631 11950.115
|
||||
110 300.85863 -3175.4711 -2727.9667 923.44924 11950.115
|
||||
120 298.69083 -3175.6415 -2731.3615 931.87518 11950.115
|
||||
130 298.38415 -3176.3706 -2732.5468 928.88286 11950.115
|
||||
140 299.99129 -3177.6935 -2731.4792 914.36783 11950.115
|
||||
150 301.83869 -3178.121 -2729.1588 915.01407 11950.115
|
||||
160 301.18834 -3177.3117 -2729.3169 947.45228 11950.115
|
||||
170 296.99406 -3172.7363 -2730.9801 1042.6928 11950.115
|
||||
180 291.25952 -3168.3407 -2735.1142 1144.5436 11950.115
|
||||
190 287.1178 -3164.9847 -2737.9187 1223.4003 11950.115
|
||||
200 286.552 -3165.2799 -2739.0555 1235.6703 11950.115
|
||||
210 289.81033 -3167.8062 -2736.7353 1194.6672 11950.115
|
||||
220 296.09616 -3171.7847 -2731.3641 1115.8799 11950.115
|
||||
230 303.79176 -3176.2893 -2724.4221 1024.6471 11950.115
|
||||
240 309.9273 -3180.9591 -2719.9657 945.55045 11950.115
|
||||
250 312.0159 -3182.3307 -2718.2306 934.36956 11950.115
|
||||
260 309.63264 -3181.0452 -2720.4901 986.77385 11950.115
|
||||
270 304.38172 -3176.568 -2723.8233 1097.264 11950.115
|
||||
280 298.64188 -3174.1384 -2729.9313 1186.2239 11950.115
|
||||
290 294.76686 -3170.9562 -2732.5128 1264.247 11950.115
|
||||
300 294.00805 -3169.8091 -2732.4944 1287.4001 11950.115
|
||||
310 296.41801 -3172.834 -2731.9347 1229.5624 11950.115
|
||||
320 301.38477 -3175.9514 -2727.6644 1140.8664 11950.115
|
||||
330 307.86584 -3181.2442 -2723.3171 1007.1545 11950.115
|
||||
340 314.7103 -3185.9891 -2717.8814 871.74528 11950.115
|
||||
350 320.53954 -3187.8385 -2711.0602 776.85994 11950.115
|
||||
360 323.49505 -3188.9927 -2707.8184 716.58062 11950.115
|
||||
370 321.62077 -3187.1246 -2708.7381 731.01909 11950.115
|
||||
380 314.39049 -3181.4931 -2713.8611 831.21057 11950.115
|
||||
390 303.57079 -3174.1804 -2722.6419 978.62645 11950.115
|
||||
400 293.42165 -3167.0452 -2730.6027 1122.3558 11950.115
|
||||
410 288.46838 -3165.4071 -2736.3322 1171.8087 11950.115
|
||||
420 290.30766 -3168.5988 -2736.7882 1122.5413 11950.115
|
||||
430 296.34338 -3173.0824 -2732.2941 1030.2769 11950.115
|
||||
440 301.92394 -3175.4307 -2726.3417 964.25387 11950.115
|
||||
450 303.76745 -3176.9122 -2725.0811 934.49176 11950.115
|
||||
460 301.72985 -3174.2821 -2725.4818 979.07605 11950.115
|
||||
470 298.93736 -3173.0014 -2728.3548 1020.0482 11950.115
|
||||
480 298.80912 -3172.803 -2728.3471 1036.6531 11950.115
|
||||
490 302.72217 -3175.3764 -2725.1001 997.71146 11950.115
|
||||
500 309.11393 -3179.3088 -2719.5253 925.81108 11950.115
|
||||
510 314.37612 -3183.2961 -2715.6855 856.23748 11950.115
|
||||
520 315.72767 -3183.547 -2713.926 847.70543 11950.115
|
||||
530 313.34173 -3182.2695 -2716.1974 877.30842 11950.115
|
||||
540 309.84312 -3178.9553 -2718.0871 936.69244 11950.115
|
||||
550 308.3251 -3177.8582 -2719.248 963.93032 11950.115
|
||||
560 308.79192 -3176.4834 -2717.1788 989.67643 11950.115
|
||||
570 307.57194 -3175.8464 -2718.3565 1021.0494 11950.115
|
||||
580 301.8035 -3173.1582 -2724.2483 1102.4893 11950.115
|
||||
590 292.43425 -3165.751 -2730.7772 1254.7815 11950.115
|
||||
600 283.62905 -3159.8987 -2738.022 1381.0608 11950.115
|
||||
610 279.90122 -3157.49 -2741.1581 1431.0028 11950.115
|
||||
620 283.4582 -3160.756 -2739.1334 1367.7385 11950.115
|
||||
630 292.58866 -3166.3469 -2731.1435 1241.1194 11950.115
|
||||
640 302.86585 -3173.4778 -2722.9878 1089.7342 11950.115
|
||||
650 309.89252 -3179.4078 -2718.4662 972.6359 11950.115
|
||||
660 312.19165 -3182.7754 -2718.414 916.62037 11950.115
|
||||
670 311.2287 -3181.9102 -2718.9811 933.79804 11950.115
|
||||
680 308.57852 -3180.7312 -2721.7441 969.24936 11950.115
|
||||
690 304.71609 -3176.9196 -2723.6775 1040.2699 11950.115
|
||||
700 300.31995 -3175.5245 -2728.8213 1082.845 11950.115
|
||||
710 296.43537 -3173.0166 -2732.0915 1127.4487 11950.115
|
||||
720 293.86692 -3172.1582 -2735.0535 1135.0215 11950.115
|
||||
730 293.35611 -3170.9335 -2734.5885 1122.9143 11950.115
|
||||
740 295.44861 -3172.9862 -2733.5288 1050.995 11950.115
|
||||
750 299.82732 -3175.3467 -2729.3763 958.31462 11950.115
|
||||
760 305.37987 -3178.216 -2723.9866 854.1946 11950.115
|
||||
770 310.75394 -3182.8127 -2720.5898 737.72668 11950.115
|
||||
780 314.81395 -3183.7905 -2715.5286 679.74198 11950.115
|
||||
790 316.63339 -3185.8028 -2714.8346 638.48871 11950.115
|
||||
800 315.2894 -3186.9345 -2717.9654 641.53256 11950.115
|
||||
810 310.54289 -3183.7383 -2721.8293 728.51241 11950.115
|
||||
820 303.31439 -3178.7897 -2727.6326 864.45674 11950.115
|
||||
830 295.46125 -3175.5387 -2736.0625 997.72969 11950.115
|
||||
840 288.802 -3169.6502 -2740.0791 1160.6622 11950.115
|
||||
850 283.94785 -3165.8605 -2743.5096 1289.55 11950.115
|
||||
860 280.17501 -3163.0381 -2746.299 1392.8854 11950.115
|
||||
870 277.2456 -3159.8429 -2747.4611 1481.3899 11950.115
|
||||
880 275.93123 -3158.3584 -2747.9316 1523.5374 11950.115
|
||||
890 277.0215 -3159.2285 -2747.18 1506.1558 11950.115
|
||||
900 280.96237 -3162.483 -2744.5728 1428.4183 11950.115
|
||||
910 287.37962 -3167.6183 -2740.1628 1303.0268 11950.115
|
||||
920 294.56731 -3171.6765 -2733.5299 1177.748 11950.115
|
||||
930 300.63273 -3174.0842 -2726.9158 1078.7393 11950.115
|
||||
940 304.10943 -3175.9847 -2723.645 1007.7154 11950.115
|
||||
950 304.64845 -3176.6263 -2723.4848 976.37917 11950.115
|
||||
960 303.36343 -3176.4694 -2725.2393 971.40749 11950.115
|
||||
970 302.57138 -3177.5541 -2727.5021 954.01115 11950.115
|
||||
980 304.2593 -3179.2101 -2726.6475 919.74949 11950.115
|
||||
990 307.69959 -3180.9631 -2723.2833 874.9594 11950.115
|
||||
1000 310.3971 -3181.9675 -2720.2753 842.81184 11950.115
|
||||
Loop time of 0.133894 on 4 procs for 1000 steps with 500 atoms
|
||||
|
||||
Performance: 645.285 ns/day, 0.037 hours/ns, 7468.580 timesteps/s
|
||||
98.8% CPU use with 4 MPI tasks x 1 OpenMP threads
|
||||
|
||||
MPI task timing breakdown:
|
||||
Section | min time | avg time | max time |%varavg| %total
|
||||
---------------------------------------------------------------
|
||||
Pair | 0.065271 | 0.071043 | 0.07818 | 1.9 | 53.06
|
||||
Bond | 5.6505e-05 | 6.5565e-05 | 7.7724e-05 | 0.1 | 0.05
|
||||
Neigh | 0.0011396 | 0.0012607 | 0.0013669 | 0.2 | 0.94
|
||||
Comm | 0.033866 | 0.040269 | 0.045386 | 2.6 | 30.08
|
||||
Output | 0.0019252 | 0.0020776 | 0.0023642 | 0.4 | 1.55
|
||||
Modify | 0.012141 | 0.013629 | 0.01486 | 0.9 | 10.18
|
||||
Other | | 0.005549 | | | 4.14
|
||||
|
||||
Nlocal: 125 ave 127 max 123 min
|
||||
Histogram: 1 0 1 0 0 0 0 1 0 1
|
||||
Nghost: 871.25 ave 882 max 863 min
|
||||
Histogram: 2 0 0 0 0 0 1 0 0 1
|
||||
Neighs: 3691.75 ave 3808 max 3563 min
|
||||
Histogram: 1 0 0 0 1 0 1 0 0 1
|
||||
|
||||
Total # of neighbors = 14767
|
||||
Ave neighs/atom = 29.534
|
||||
Ave special neighs/atom = 0
|
||||
Neighbor list builds = 5
|
||||
Dangerous builds = 0
|
||||
|
||||
#write_data lj-out.data
|
||||
Total wall time: 0:00:00
|
||||
1022
examples/PACKAGES/grem/lj-temper/0/lj.data
Normal file
1022
examples/PACKAGES/grem/lj-temper/0/lj.data
Normal file
File diff suppressed because it is too large
Load Diff
1079
examples/PACKAGES/grem/lj-temper/0/log.lammps.0
Normal file
1079
examples/PACKAGES/grem/lj-temper/0/log.lammps.0
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-temper/1/lj.data
Normal file
1022
examples/PACKAGES/grem/lj-temper/1/lj.data
Normal file
File diff suppressed because it is too large
Load Diff
1079
examples/PACKAGES/grem/lj-temper/1/log.lammps.1
Normal file
1079
examples/PACKAGES/grem/lj-temper/1/log.lammps.1
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-temper/2/lj.data
Normal file
1022
examples/PACKAGES/grem/lj-temper/2/lj.data
Normal file
File diff suppressed because it is too large
Load Diff
1079
examples/PACKAGES/grem/lj-temper/2/log.lammps.2
Normal file
1079
examples/PACKAGES/grem/lj-temper/2/log.lammps.2
Normal file
File diff suppressed because it is too large
Load Diff
1022
examples/PACKAGES/grem/lj-temper/3/lj.data
Normal file
1022
examples/PACKAGES/grem/lj-temper/3/lj.data
Normal file
File diff suppressed because it is too large
Load Diff
1079
examples/PACKAGES/grem/lj-temper/3/log.lammps.3
Normal file
1079
examples/PACKAGES/grem/lj-temper/3/log.lammps.3
Normal file
File diff suppressed because it is too large
Load Diff
31
examples/PACKAGES/grem/lj-temper/in.gREM-temper
Normal file
31
examples/PACKAGES/grem/lj-temper/in.gREM-temper
Normal file
@ -0,0 +1,31 @@
|
||||
# LJ particles
|
||||
variable lambda world 900 910 920 930
|
||||
variable rep world 0 1 2 3
|
||||
#variable walker world 0 1 3 2
|
||||
|
||||
variable T0 equal 300.0
|
||||
variable press equal 0.0
|
||||
|
||||
units real
|
||||
atom_style full
|
||||
pair_style lj/cut 5.0
|
||||
|
||||
# LJ particles
|
||||
log ${rep}/log.lammps.${rep}
|
||||
print "This is replica: ${rep}"
|
||||
|
||||
read_data ${rep}/lj.data
|
||||
|
||||
#dump dump all xyz 1000 ${rep}/dump.xyz
|
||||
|
||||
fix fxnpt all npt temp ${T0} ${T0} 1000.0 iso ${press} ${press} 10000.0
|
||||
fix fxgREM all grem ${lambda} -.03 -30000 fxnpt
|
||||
|
||||
thermo 10
|
||||
thermo_style custom step temp f_fxgREM pe etotal press vol
|
||||
thermo_modify press fxgREM_press
|
||||
timestep 1.0
|
||||
|
||||
temper/grem 10000 100 ${lambda} fxgREM fxnpt 10294 98392 #${walker}
|
||||
|
||||
#write_data ${rep}/lj-out.data
|
||||
Reference in New Issue
Block a user