Skip to Content.
Sympa Menu

opal - Re: [Opal] OPAL (and IPPL) build is broken

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] OPAL (and IPPL) build is broken


Chronological Thread 
  • From: christof kraus <christof.j.kraus AT gmail.com>
  • To: Andreas Adelmann <andreas.adelmann AT psi.ch>
  • Cc: Opal AT lists.psi.ch
  • Subject: Re: [Opal] OPAL (and IPPL) build is broken
  • Date: Tue, 24 Jan 2012 08:06:59 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/opal/>
  • List-id: The OPAL Discussion Forum <opal.lists.psi.ch>

Good morning OPAL-list,

in order to reduce the confusion in the cmake configuring process I
did change the CMakeLists.txt file in the OPAL root directory (svn
r13347). Cmake now expects an environment variable IPPL_PREFIX
(instead of IPPL_ROOT). In this variable the path, where you
*installed* IPPL, should be stored. It is important that IPPL is on
revision 13310 or newer. Furthermore it is important, that IPPL is
configured with a prefix and then properly installed using 'make &&
make install'.

My IPPL configure script looks like this:
### ippl config ##########
#!/bin/bash

export IPPL_ROOT=$HOME/extlib/ippl
export IPPL_PREFIX=$IPPL_ROOT/build
rm -f CMakeCache.txt

CXX=mpicxx cmake -DCMAKE_INSTALL_PREFIX=$IPPL_PREFIX $IPPL_ROOT
### end ippl config ########

My OPAL configure script looks like this:
### opal config ##########
export OPAL_ROOT=$HOME/gitwork/opal
export IPPL_PREFIX=$HOME/extlib/ippl/build
export H5hut=$HOME/extlib/H5hut-1.99.7/build/
rm CMakeCache.txt

CXX=mpicxx cmake $OPAL_ROOT
### end opal config #######


cheers
christof

On Thu, Jan 19, 2012 at 12:05 AM, Andreas Adelmann
<andreas.adelmann AT psi.ch> wrote:
> I think the last CMAKE commits do break the OPAL (and also IPPL) build.
>
> [  0%] Building CXX object
> classic/5.0/src/CMakeFiles/CLASSIC.dir/AbsBeamline/AlignWrapper.cpp.o
> In file included from
> /Users/chrisonian/Code/opal_svn/ippl/include/Message/Message.h:38:0,
>                  from
> /Users/chrisonian/Code/opal_svn/ippl/include/Message/GlobalComm.cpp:29,
>                  from
> /Users/chrisonian/Code/opal_svn/ippl/include/Message/GlobalComm.h:102,
>                  from
> /Users/chrisonian/Code/opal_svn/ippl/include/Ippl.h:20,
>                  from
> /Users/chrisonian/Code/opal_svn/opal/classic/5.0/src/MemoryManagement/RCObject.h:39,
>                  from
> /Users/chrisonian/Code/opal_svn/opal/classic/5.0/src/AbsBeamline/ElementBase.h:30,
>                  from
> /Users/chrisonian/Code/opal_svn/opal/classic/5.0/src/AbsBeamline/AlignWrapper.h:23,
>                  from
> /Users/chrisonian/Code/opal_svn/opal/classic/5.0/src/AbsBeamline/AlignWrapper.cpp:20:
> /Users/chrisonian/Code/opal_svn/ippl/include/Utility/Inform.h:39:22: fatal
> error: iostream.h: No such file or directory
> compilation terminated.
> make[2]: ***
> [classic/5.0/src/CMakeFiles/CLASSIC.dir/AbsBeamline/AlignWrapper.cpp.o]
> Error 1
> make[1]: *** [classic/5.0/src/CMakeFiles/CLASSIC.dir/all] Error 2
> make: *** [all] Error 2
>
> AA
> ------
> 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
> ============================================
>
>
>




Archive powered by MHonArc 2.6.19.

Top of Page