Skip to Content.
Sympa Menu

opal - [Opal] New OPAL & IPPL repositories

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] New OPAL & IPPL repositories


Chronological Thread 
  • From: Andreas Adelmann <andreas.adelmann AT psi.ch>
  • To: "opal AT lists.psi.ch" <Opal AT lists.psi.ch>
  • Cc: Toggweiler Matthias <matthias.toggweiler AT psi.ch>, Andrew Foster <foster.ac AT gmail.com>, Achim Gsell <achim.gsell AT psi.ch>
  • Subject: [Opal] New OPAL & IPPL repositories
  • Date: Tue, 20 Mar 2012 12:47:28 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/opal/>
  • List-id: The OPAL Discussion Forum <opal.lists.psi.ch>

Dear developer we had to reorganize our repositories. I suggest to move away the old
IPPL and OPAL tree and checkout a fresh copy. Please note that H5hut was not affected by
the reorganization.

IPPL checkout & build

% mkdir -p $HOME/svnwork
% cd $HOME/svnwork
% mkdir ippl
% cd ippl
% svn co svn+ssh://savannah02.psi.ch/repos/ippl/src/trunk .

It is always a good practice to build IPPL not in the src tree!

% mkdir -p $HOME/build/ippl
% cd $HOME/build/ippl
% export IPPL_ROOT=$HOME/svnwork/ippl
% export IPPL_PREFIX=$HOME/build/ippl
% CXX=mpicxx cmake  -DCMAKE_INSTALL_PREFIX=$IPPL_PREFIX $IPPL_ROOT
% make -j 4
% make install


OPAL source checkout (src, doc, tools & tests ) & build

% cd svnwork
% mkdir OPAL
% export OPAL_ROOT=$HOME/svnwork/OPAL
% cd $OPAL_ROOT
% svn co svn+ssh://savannah02.psi.ch/repos/opal/src/trunk .
% svn co svn+ssh://savannah02.psi.ch/repos/opal/doc/trunk opal-doc
% svn co svn+ssh://savannah02.psi.ch/repos/opal/tools/trunk opal-tools
% svn co svn+ssh://savannah02.psi.ch/repos/opal/tests/trunk opal-tests

It is always a good practice to build OPAL not in the src tree!

% mkdir -p $HOME/build/OPAL
% cd $HOME/build/OPAL
% CXX=mpicxx cmake $OPAL_ROOT
% make -j 4

Now you should have an OPAL executable in $HOME/build/OPAL/src.

Good luck Andreas 
------
Dr. sc. math. Andreas (Andy) Adelmann
Staff Scientist
Paul Scherrer Institut WLGB/132 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Phone Home: xx41 62 891 91 44
-------------------------------------------------------
Thursdays: ETH CAB H 83.1  +41 44 632 36 72
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================





  • [Opal] New OPAL & IPPL repositories, Andreas Adelmann, 03/20/2012

Archive powered by MHonArc 2.6.19.

Top of Page