Difference between revisions of "ALPS2.0:GettingStarted"

From ALPS
Jump to: navigation, search
(Getting Started)
Line 25: Line 25:
 
* Now, you must apply for an account to the ALPS subversion repository. Send your request via email to [http://www.itp.phys.ethz.ch/staff/gull Emanuel Gull]. After an account has been created for you (usually, Emanuel is very fast in doing so...), change your password [https://alps.comp-phys.org/admin/passwd.php here].
 
* Now, you must apply for an account to the ALPS subversion repository. Send your request via email to [http://www.itp.phys.ethz.ch/staff/gull Emanuel Gull]. After an account has been created for you (usually, Emanuel is very fast in doing so...), change your password [https://alps.comp-phys.org/admin/passwd.php here].
 
* You are now in the position to get the latest ALPS V1 svn-head, by using
 
* You are now in the position to get the latest ALPS V1 svn-head, by using
   svn co --username ''your_user_name'' http://alps.comp-phys.org/svn/alps/trunk alps
+
   svn co --username ''your_user_name'' https://alps.comp-phys.org/svn/alps/trunk alps
 +
* You may get the test repository:
 +
  svn co --username ''your_user_name'' https://alps.comp-phys.org/svn/test_repository
 
* Setup BOOST_ROOT environment variable and user-config.jam
 
* Setup BOOST_ROOT environment variable and user-config.jam
 
  $ export BOOST_ROOT=/path/to/boost/directory
 
  $ export BOOST_ROOT=/path/to/boost/directory

Revision as of 17:18, 9 June 2007

Getting Started

You need:

 curl http://subversion.tigris.org/downloads/subversion-1.3.2.tar.gz | tar zxf -
  (optional) curl http://subversion.tigris.org/downloads/subversion-deps-1.3.2.tar.gz | tar zxf -
 cd subversion-1.3.2
 ./configure --with-ssl
 make
 sudo make install
  • The boost libraries 1.35
    (presently this is the CVS head, go here for instructions how to access the CVS; during checkout use "boost" instead of "modulename")
  • Now build boost jam, where in the last line operating-system should be copied from the output of the build, $BINDIR is the directory where you want to install the executable:
 cd boost/tools/jam/src
 sh build.sh
 (on MacOSX) install bin.operating-system/bjam $BINDIR
 (on Linux) cp bin.linuxx86/biam /usr/local/bin
  • (NOT NEEDED) Next, build the boost binaries, where in the last line we assume you use the GNU compiler. In other cases, checkout here for the right toolset
 cd boost/
 bjam --toolset=gcc stage
  • Now, you must apply for an account to the ALPS subversion repository. Send your request via email to Emanuel Gull. After an account has been created for you (usually, Emanuel is very fast in doing so...), change your password here.
  • You are now in the position to get the latest ALPS V1 svn-head, by using
 svn co --username your_user_name https://alps.comp-phys.org/svn/alps/trunk alps
  • You may get the test repository:
 svn co --username your_user_name https://alps.comp-phys.org/svn/test_repository
  • Setup BOOST_ROOT environment variable and user-config.jam
$ export BOOST_ROOT=/path/to/boost/directory
$ cat $HOME/user-config.jam
using gcc ; # on linux
using intel ; # on linux icc
using darwin ; # on MacOS
use-project alps : /path/to/alps/directory ;
  • Then you can compile alps
$ cd /path/to/alps/directory
$ bjam