Organizers:
Program Coordinator:
:: Calendar
:: Software Installation Instructions
:: Program page
|
Seattle, August 8 - 28, 2007
I have written a downloader and installer for QDP++ to help the students install it on their laptops. The script works on My Wife's machine under the Cygwin I installed, and also seems to work on the Linuxen at the JLab which are appropriately set up (ie libxml2-devel package is installed). It would be good to check on a Mac (Kostas can you run it maybe?) There are some user editable features of the script at the start, but by default it builds QDP++ with no processor specific optimisations and installs it into the users homedirectory under $HOME/install/qdp++ It then tries to compile the plaquette test program to give a vague check that the build succeeded. I am attaching it as a .tar.gz file, so hopefully the various attachment filters don't chomp it off. The attachment should be saved. and untarred.
Eg: "Save As" "download.tar.gz"
gunzip download.tgz You should be left with a script called download.sh You should read over this script and potentially edit the user variables at the start. Each one has severla lines of comment in front of it. They are
INSTALL_ROOT=$HOME/install/qdp++
CXX=g++
CC=gcc
STARTDIR=`pwd`
BUILDDIR=${STARTDIR}/build
WGET=wget
GUNZIP=gunzip
TAR=tar
MAKE="make -j 4"
ACLOCAL, AUTOMAKE and AUTOCONF Once you are happy with these (as I say on Cygwin you may not need to change them at all neither on some linuxen) run the script: ./download.sh It should download a qdp++ tar file from a web page, unpack it, configure it, build it and install it. Afficionados who know what they are doing may mess with the configuration options to get better performance, but they should work as they are. The build may repeat seemingly several times. This is timestamping anomaly, that I hope to solve, and all it should involve to change to a new tarball is to edit the line PKG_VERSION below the # ==== No changes below this line ========== comment. If all goes well the final lines of output should say:
Running plaquette test
where
Give it a go! Good Luck! Let me know if it breaks so we can fix
it before Laura gets back.
Modulo the analysis things, this should cover most of the preinstalled
software for the exercises/demos.
Best, |