Skip to content

Commit

Permalink
update samples of QMC in finite_temperature_calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yoshimi committed Dec 16, 2024
1 parent 359a18c commit aa6c161
Show file tree
Hide file tree
Showing 38 changed files with 4,847 additions and 725 deletions.
329 changes: 329 additions & 0 deletions sample/03_finite_temperature/QMC/algorithm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,329 @@
<?xml version="1.0" encoding="UTF-8"?>
<Algorithm>
<Comment> S=1/2 XXZ model </Comment>
<General>
<NSTYPE> 1 </NSTYPE>
<NITYPE> 1 </NITYPE>
<NVTYPE> 2 </NVTYPE>
<NXMAX> 2 </NXMAX>
<WDIAG> 0.250000000000000 </WDIAG>
</General>

<Site>
<STYPE> 0 </STYPE>
<NumberOfStates> 2 </NumberOfStates>
<LocalStates> -0.500000000000000 0.500000000000000 </LocalStates>
<VertexTypeOfSource> 0 </VertexTypeOfSource>

<InitialConfiguration>
<State> 0 </State>
<NumberOfChannels> 2 </NumberOfChannels>
<Channel> 0 1 0.500000000000000 </Channel>
<Channel> 1 1 0.500000000000000 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 </State>
<NumberOfChannels> 2 </NumberOfChannels>
<Channel> 0 0 0.500000000000000 </Channel>
<Channel> 1 0 0.500000000000000 </Channel>
</InitialConfiguration>
</Site>

<Interaction>
<ITYPE> 0 </ITYPE>
<VTYPE> 1 </VTYPE>
<NBODY> 2 </NBODY>
<EBASE> 0.500000000000000 </EBASE>
<VertexDensity> 0 1 0.500000000000000 </VertexDensity>
<VertexDensity> 1 0 0.500000000000000 </VertexDensity>
<VertexDensity> 1 1 1.000000000000000 </VertexDensity>
<Sign> 0 1 0 1 1.0 </Sign>
<Sign> 0 1 1 0 1.0 </Sign>
<Sign> 1 0 0 1 1.0 </Sign>
<Sign> 1 0 1 0 1.0 </Sign>
</Interaction>

<Vertex>
<VTYPE> 0 </VTYPE>
<VCATEGORY> 1 </VCATEGORY>
<NBODY> 1 </NBODY>
<NumberOfInitialConfigurations> 4 </NumberOfInitialConfigurations>

<InitialConfiguration>
<State> 0 1 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> -1 -1 1.000000000000000 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> -1 -1 1.000000000000000 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> -1 -1 1.000000000000000 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> -1 -1 1.000000000000000 </Channel>
</InitialConfiguration>
</Vertex>

<Vertex>
<VTYPE> 1 </VTYPE>
<VCATEGORY> 2 </VCATEGORY>
<NBODY> 2 </NBODY>
<NumberOfInitialConfigurations> 28 </NumberOfInitialConfigurations>

<InitialConfiguration>
<State> 0 1 0 1 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 2 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 0 1 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 2 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 0 1 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 0 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 0 1 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 0 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 1 0 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 3 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 1 0 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 3 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 1 0 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 0 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 1 1 0 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 0 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 0 1 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 2 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 0 1 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 2 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 0 1 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 1 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 0 1 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 1 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 1 0 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 3 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 1 0 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 3 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 1 0 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 1 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 0 1 0 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 1 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 0 1 1 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 1 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 0 1 1 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 0 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 0 1 1 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 2 </NumberOfChannels>
<Channel> 0 1 0.5 </Channel>
<Channel> 1 1 0.5 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 0 0 1 1 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 2 </NumberOfChannels>
<Channel> 0 1 0.5 </Channel>
<Channel> 1 1 0.5 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 0 0 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 2 </NumberOfChannels>
<Channel> 2 1 0.5 </Channel>
<Channel> 3 1 0.5 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 0 0 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 2 </NumberOfChannels>
<Channel> 2 1 0.5 </Channel>
<Channel> 3 1 0.5 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 0 0 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 3 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 0 0 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 1 </NewState>
<NumberOfChannels> 1 </NumberOfChannels>
<Channel> 2 1 1.0 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 1 1 </State>
<IncomingDirection> 0 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 3 </NumberOfChannels>
<Channel> 1 0 0.5 </Channel>
<Channel> 2 0 0.25 </Channel>
<Channel> 3 0 0.25 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 1 1 </State>
<IncomingDirection> 1 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 3 </NumberOfChannels>
<Channel> 0 0 0.5 </Channel>
<Channel> 2 0 0.25 </Channel>
<Channel> 3 0 0.25 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 1 1 </State>
<IncomingDirection> 2 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 3 </NumberOfChannels>
<Channel> 0 0 0.25 </Channel>
<Channel> 1 0 0.25 </Channel>
<Channel> 3 0 0.5 </Channel>
</InitialConfiguration>

<InitialConfiguration>
<State> 1 1 1 1 </State>
<IncomingDirection> 3 </IncomingDirection>
<NewState> 0 </NewState>
<NumberOfChannels> 3 </NumberOfChannels>
<Channel> 0 0 0.25 </Channel>
<Channel> 1 0 0.25 </Channel>
<Channel> 2 0 0.5 </Channel>
</InitialConfiguration>
</Vertex>

</Algorithm>
8 changes: 4 additions & 4 deletions sample/03_finite_temperature/QMC/common_param.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ cfoutfile = cf.dat
ckoutfile = ck.dat
dispfile =
latfile = lattice.xml
ndecor = 100
nmcs = 1000
npre = 100
ndecor = 1000
nmcs = 5000
npre = 1000
nsegmax = 1000000
nset = 1
nset = 4
ntau = 10
ntherm = 1000
nvermax = 1000000
Expand Down
14 changes: 14 additions & 0 deletions sample/03_finite_temperature/QMC/dsqss.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

#SBATCH -p F1cpu
#SBATCH -N 1
#SBATCH -n 4
#SBATCH -c 32
#SBATCH -t 03:00:00

set -e

source /home/issp/materiapps/oneapi_compiler_classic-2023.0.0--openmpi-4.1.5/dsqss/dsqssvars.sh
module list

sh exec.sh
14 changes: 14 additions & 0 deletions sample/03_finite_temperature/QMC/dsqss_middle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

#SBATCH -p i8cpu
#SBATCH -N 1
#SBATCH -n 4
#SBATCH -c 32
#SBATCH -t 00:30:00

set -e

source /home/issp/materiapps/oneapi_compiler_classic-2023.0.0--openmpi-4.1.5/dsqss/dsqssvars.sh
module list

sh exec_middle.sh
14 changes: 14 additions & 0 deletions sample/03_finite_temperature/QMC/dsqss_strong.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

#SBATCH -p i8cpu
#SBATCH -N 1
#SBATCH -n 4
#SBATCH -c 32
#SBATCH -t 00:30:00

set -e

source /home/issp/materiapps/oneapi_compiler_classic-2023.0.0--openmpi-4.1.5/dsqss/dsqssvars.sh
module list

sh exec_strong.sh
Loading

0 comments on commit aa6c161

Please sign in to comment.