This capability is now at https://github.com/dmrgpp-project/dmrgpp
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 4Download 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 4Download DMRG++
$ cd ../../
$ git clone https://code.ornl.gov/gonzalo_3/dmrgpp
$ cd dmrgpp/
$ git checkout features
$ cd srcCreate 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 4To DMRG++ inputs, please add BatchedGemm to SolverOptions, like
SolverOptions=BatchedGemm,...