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: Thu, 19 Jan 2012 08:32:28 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/opal/>
  • List-id: The OPAL Discussion Forum <opal.lists.psi.ch>

Sorry, I should have announced this yesterday. You should
1. update IPPL
2. then configure it with a prefix, eg.

### 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 ########

3. update OPAL
4. then configure it with eg.

### opal config ##########
export IPPL_ROOT=$HOME/extlib/ippl/build
export H5hut=$HOME/extlib/H5hut-1.99.7/build/
rm CMakeCache.txt

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

With this it worked on my laptop as well on felsim.

christof


On Thu, Jan 19, 2012 at 12:06 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