1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
ALL THIS HERE IS OBSOLETE.
PLEASE REFER TO
../DmrgDynamics/
# Pre-Preparation
Update Lanczos++, DMRG++, and PsimagLite
Compile Lanczos++, DMRG++, continuedFractionCollection, combineContinuedFraction.
You do NOT need to move or copy the executables.
Have available an input file (and optionally a batch file)
for the construction of the templates.
# Preparation
cd scripts/ToolsDmrgDynamics/
perl dynamicsPrepare.pl
(and answer all questions)
# Optional Configuration
At ANY point below you can change parameters in the following files
inputTemplate.inp <--- Do not change the $ labels
batchTemplate.pbs <--- Do not change the $$ labels
params.txt <--- Overwritten by dynamicsPrepare.pl
If the executables lanczos or dmrg change please re-run dynamicsPrepare.pl.
# Quick Test
perl oneDynamicTest.pl 3 3 out c
xmgrace out3_3.cf out3_3Lanczos.cf
# Runnning Lanczos or Dmrg serially
## Example: Sum of the diagonals
perl dynamicsRepeat.pl Lanczos out c nobatch
This produces all pairs of sites and all parts.
Now you can post-process one or many times without re-runnning:
perl dynamicsLoop.pl -2 out c
xmgrace outTotal-2.cf
Instead of -2 use -1 for optical or a non-negative number
for the ``momentum.''
To run DMRG serially just replace Lanczos for Dmrg:
perl dynamicsRepeat.pl Dmrg out c nobatch
The rest is the same.
# Runnning Dmrg or Lanczos in parallel
Do a dry run first:
perl dynamicsRepeat.pl Dmrg out c nosubmit
Check the generated Batch files to make sure they look OK.
Now submit:
perl dynamicsRepeat.pl Dmrg out c submit
Postprocessing is as before
perl dynamicsLoop.pl q out c
where q is the ``momentum.'' You may post-process many times
without re-running.
To run Lanczos serially just replace Dmrg for Lanczos
|