Difference between revisions of "QMCPACK Vesta"

From Tau Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Applications]]
 
[[Category:Applications]]
 
[[Category:Showcase]]
 
[[Category:Showcase]]
 +
 +
== Background ==
  
 
{|
 
{|
Line 13: Line 15:
  
  
== Building with TAU ==
+
== Building TAU ==
  
 
Configure and Build TAU:
 
Configure and Build TAU:
Line 24: Line 26:
 
   export TAU_MAKEFILE=<path to TAU>/bgq/lib/Makefile.tau-bgqtimers-gnu-mpi-openmp-opari
 
   export TAU_MAKEFILE=<path to TAU>/bgq/lib/Makefile.tau-bgqtimers-gnu-mpi-openmp-opari
  
Build QMCPACK:
+
== Building QMCPACK with TAU ==
  
 
  export PATH=/soft/buildtools/cmake-2.8.7/bin:$PATH
 
  export PATH=/soft/buildtools/cmake-2.8.7/bin:$PATH
Line 46: Line 48:
 
Finish building QMCPACK
 
Finish building QMCPACK
 
  make -j8
 
  make -j8
 
 
  
 
== Running QMCPACK ==
 
== Running QMCPACK ==

Latest revision as of 22:45, 23 August 2012


Background

Link Machine Date
QMCPACK website Vesta August 2012


Building TAU

Configure and Build TAU:

./configure  -BGQTIMERS -fortran=gfortran -arch=bgq  -mpi -cc=mpicc -c++=mpicxx -bfd=download -opari
make install
 export TAU_OPTIONS='-optVerbose -optCompInst -optOpariNoLibs'
 export PATH=<path to TAU>/bgq/bin:$PATH
 export TAU_MAKEFILE=<path to TAU>/bgq/lib/Makefile.tau-bgqtimers-gnu-mpi-openmp-opari

Building QMCPACK with TAU

export PATH=/soft/buildtools/cmake-2.8.7/bin:$PATH

Change the C and CXX compilers in the cmake file to the following:

set(CMAKE_C_COMPILER tau_cc.sh)
set(CMAKE_CXX_COMPILER tau_cxx.sh)

Run cmake:

mkdir build 
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../<camke file here>.cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
cmake -DCMAKE_TOOLCHAIN_FILE=../<camke file here>.cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE ..

Edit src/QMCApp/CMakeFiles/qmcapp.dir/link.txt and add the following option to tau_cxx.sh

-optOpariLibs="../../lib/libqmc.a ../../lib/libqmcdriver.a ../../lib/libqmcham.a ../../lib/libqmcwfs.a ../../lib/libqmcbase.a ../../lib/libqmcutil.a" 

Finish building QMCPACK

make -j8

Running QMCPACK

You can use this script Media:Qmcrun.sh to run the heg.vmc.xml example.

 cd examples/solids/heg/
./Qmcrun.sh


Performance results

QMCPACKVesta1.png

QMCPackVesta2.png

Download the ppk file for complete results: Media:Qmcpack.ppk