Skip to content

g1257/DmrgppPluginSc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

169 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DMRG++PluginSc

How to build

Download and build PsimagLite

$ git clone https://code.ornl.gov/gonzalo_3/PsimagLite
$ cd PsimagLite/lib
$ git checkout features
$ ./configure.pl

# to take advantage of 4 CPU cores 
$ make -j 4

Download and build DMRG++PluginSc (this repo)

$ git clone https://code.ornl.gov/e6d/dmrgppPluginSc
$ cd dmrgppPluginSc/src

# create a make.inc file by modifying one of the existing ones
# for example to take advantage of OpenMP on multiple CPU cores
# cp make.inc.openmp   make.inc
# or take advantage of MAGMA library on GPU
# cp make.inc.magma   make.inc
$ cp make.inc.openmp  make.inc


$ make -j 4

Download DMRG++

$ cd ../../
$ git clone https://code.ornl.gov/gonzalo_3/dmrgpp
$ cd dmrgpp/
$ git checkout features
$ cd src

Create a file myconfig.psiTag with the following content

flavor myflavor = (
< flavor production
< dependency PluginSc
)

default flavor = myflavor

and then

$ ./configure.pl -c myconfig.psiTag
$ make -j 4

To DMRG++ inputs, please add BatchedGemm to SolverOptions, like

SolverOptions=BatchedGemm,...

About

Addition to DMRG++ to run on GPUs

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages