Here is the result from using dorsal. I even tried replacing
Teuchos_CommHelpers.hpp with the file from the latest version of the
Trilinos source release. The error below was created by running dorsal on a
cleaned up enviorment.
First the setup:
> sudo ppa-purge ppa:fenics-packages/fenics
> sudo apt-get remove --purge fenics dolfin-bin dolfin-doc libdolfin1.3
libdolfin1.3-dev python-dolfin
> sudo apt-get autoremove
> sudo apt-get install bzr bzrtools cmake flex g++ gfortran
libarmadillo-dev libatlas-base-dev libboost-dev
libboost-{filesystem,iostreams,mpi,program-options,thread,math,tier,chrono}-dev
libcln-dev libcppunit-dev libginac-dev liblapack-dev libmpfr-dev
libopenmpi-dev libptscotch-dev libsuitesparse-dev libxml2-dev openmpi-bin
pkg-config python-dev ython-numpy python-scientific python-vtk subversion
swig wget bison libhwloc-dev python-ply libvtk5-dev python-netcdf
libhdf5-openmpi-dev libeigen3-dev libcgal-dev
(the last one didn't do anything as all those packages were updated
previously)
> mkdir src
> git clone [email protected]:fenics-project/dorsal.git
> cd dorsal/
> vim dorsal.cfg
# Global configuration variables go here. You will want to tweak this
# file to suit your needs. If you want to keep local changes that are
# not overwritten by repository updates, those can be written
# to local.cfg instead (entries there will override those in this file).
# Meta-project to build
PROJECT=FEniCS
# Where do you want the downloaded source files to go?
DOWNLOAD_PATH=${HOME}/tmpsoftware/src
# Where do you want the compiled software installed?
INSTALL_PATH=/usr/local
# How many processes would you like to build using?
PROCS=4
# Would you like to build stable versions of FEniCS projects?
STABLE_BUILD=false
# Would you like to use snapshots when using STABLE_BUILD=false?
USE_SNAPSHOTS=false
> sudo ./dorsal.sh
Now the error:
In file included from /usr/local/include/Teuchos_CommHelpers.hpp:58:0,
from /usr/local/include/trilinos/Tpetra_ConfigDefs.hpp:137,
from /usr/local/include/trilinos/Epetra_TsqrAdaptor.hpp:59,
from /usr/local/include/trilinos/BelosEpetraAdapter.hpp:76,
from
/home/paradox/tmpsoftware/src/dolfin/dolfin/la/TrilinosPreconditioner.cpp:34:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:182:46: error:
expected template-name before ‘<’ token
class MpiCommRequestBase : public CommRequest<OrdinalType> {
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:182:46: error:
expected ‘{’ before ‘<’ token
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:182:46: error:
expected unqualified-id before ‘<’ token
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:538:15: error:
‘Teuchos::CommRequest’ is not a template
virtual RCP<CommRequest<Ordinal> > isend(
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:543:15: error:
‘Teuchos::CommRequest’ is not a template
virtual RCP<CommRequest<Ordinal> >
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:548:15: error:
‘Teuchos::CommRequest’ is not a template
virtual RCP<CommRequest<Ordinal> > ireceive(
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:553:15: error:
‘Teuchos::CommRequest’ is not a template
virtual RCP<CommRequest<Ordinal> >
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:559:25: error:
‘Teuchos::CommRequest’ is not a template
const ArrayView<RCP<CommRequest<Ordinal> > > &requests
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:563:32: error:
‘Teuchos::CommRequest’ is not a template
waitAll (const ArrayView<RCP<CommRequest<Ordinal> > >& requests,
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:567:23: error:
‘Teuchos::CommRequest’ is not a template
wait (const Ptr<RCP<CommRequest<Ordinal> > >& request) const;
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1195:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> >
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1216:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> >
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1239:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> >
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1262:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> >
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1289:36: error:
‘Teuchos::CommRequest’ is not a template
waitAllImpl (const ArrayView<RCP<CommRequest<Ordinal> > >& requests,
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: In function ‘void
Teuchos::{anonymous}::waitAllImpl(const
Teuchos::ArrayView<Teuchos::RCP<Teuchos::CommRequest> >&, const
Teuchos::ArrayView<ompi_status_public_t>&)’:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1292:36: error:
‘Teuchos::CommRequest’ is not a template
typedef typename ArrayView<RCP<CommRequest<Ordinal> > >::size_type
size_type;
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1315:11: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > request = requests[i];
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: At global scope:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1422:36: error:
‘Teuchos::CommRequest’ is not a template
waitAllImpl (const ArrayView<RCP<CommRequest<Ordinal> > >& requests)
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: In function ‘void
Teuchos::{anonymous}::waitAllImpl(const
Teuchos::ArrayView<Teuchos::RCP<Teuchos::CommRequest> >&)’:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1424:36: error:
‘Teuchos::CommRequest’ is not a template
typedef typename ArrayView<RCP<CommRequest<Ordinal> > >::size_type
size_type;
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1441:11: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > request = requests[i];
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: At global scope:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1505:30: error:
‘Teuchos::CommRequest’ is not a template
waitAll (const ArrayView<RCP<CommRequest<Ordinal> > >& requests) const
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1517:30: error:
‘Teuchos::CommRequest’ is not a template
waitAll (const ArrayView<RCP<CommRequest<Ordinal> > >& requests,
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: In member function
‘virtual void Teuchos::MpiComm<Ordinal>::waitAll(const
Teuchos::ArrayView<Teuchos::RCP<Teuchos::CommRequest> >&, const
Teuchos::ArrayView<Teuchos::RCP<Teuchos::CommStatus<Ordinal> > >&) const’:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1522:34: error:
‘Teuchos::CommRequest’ is not a template
typedef typename ArrayView<RCP<CommRequest<Ordinal> > >::size_type
size_type;
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: At global scope:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1541:39: error:
‘Teuchos::CommRequest’ is not a template
MpiComm<Ordinal>::wait (const Ptr<RCP<CommRequest<Ordinal> > >& request)
const
^
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp: In member function
‘virtual Teuchos::RCP<Teuchos::CommStatus<Ordinal> >
Teuchos::MpiComm<Ordinal>::wait(const
Teuchos::Ptr<Teuchos::RCP<Teuchos::CommRequest> >&) const’:
/usr/local/include/trilinos/Teuchos_DefaultMpiComm.hpp:1549:52: error:
‘class Teuchos::CommRequest’ has no member named ‘wait’
RCP<CommStatus<Ordinal> > status = (*request)->wait ();
^
In file included from
/usr/local/include/trilinos/Tpetra_ConfigDefs.hpp:137:0,
from /usr/local/include/trilinos/Epetra_TsqrAdaptor.hpp:59,
from /usr/local/include/trilinos/BelosEpetraAdapter.hpp:76,
from
/home/paradox/tmpsoftware/src/dolfin/dolfin/la/TrilinosPreconditioner.cpp:34:
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:649:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > isend(
^
/usr/local/include/Teuchos_CommHelpers.hpp:657:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:668:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > isend(
^
/usr/local/include/Teuchos_CommHelpers.hpp:680:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > isend(
^
/usr/local/include/Teuchos_CommHelpers.hpp:701:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > ireceive(
^
/usr/local/include/Teuchos_CommHelpers.hpp:709:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:727:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > ireceive(
^
/usr/local/include/Teuchos_CommHelpers.hpp:739:5: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > ireceive(
^
/usr/local/include/Teuchos_CommHelpers.hpp:760:23: error:
‘Teuchos::CommRequest’ is not a template
const ArrayView<RCP<CommRequest<Ordinal> > > &requests
^
/usr/local/include/Teuchos_CommHelpers.hpp:795:30: error:
‘Teuchos::CommRequest’ is not a template
const ArrayView<RCP<CommRequest<Ordinal> > >& requests,
^
/usr/local/include/Teuchos_CommHelpers.hpp:823:48: error:
‘Teuchos::CommRequest’ is not a template
wait (const Comm<Ordinal>& comm, const Ptr<RCP<CommRequest<Ordinal> > >&
request);
^
/usr/local/include/Teuchos_CommHelpers.hpp:1520:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1525:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1544:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1559:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1564:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1583:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1729:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1734:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1753:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1785:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1790:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1809:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1852:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1857:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1876:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1908:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1913:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1932:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1964:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1969:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:1988:32: error:
‘Teuchos::CommRequest’ is not a template
TEUCHOSCOMM_LIB_DLL_EXPORT RCP<CommRequest<int> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:2599:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp: In function
‘Teuchos::RCP<Teuchos::CommRequest> Teuchos::isend(const
Teuchos::Comm<Ordinal>&, const Teuchos::ArrayRCP<const Packet>&, int)’:
/usr/local/include/Teuchos_CommHelpers.hpp:2613:7: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > commRequest = comm.isend(
^
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:2620:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp: In function
‘Teuchos::RCP<Teuchos::CommRequest> Teuchos::isend(const
Teuchos::ArrayRCP<const Packet>&, int, int, const Teuchos::Comm<Ordinal>&)’:
/usr/local/include/Teuchos_CommHelpers.hpp:2631:7: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > commRequest =
^
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:2638:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:2653:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp: In function
‘Teuchos::RCP<Teuchos::CommRequest> Teuchos::isend(const
Teuchos::Comm<Ordinal>&, const Serializer&, const Teuchos::ArrayRCP<const
Packet>&, int)’:
/usr/local/include/Teuchos_CommHelpers.hpp:2668:7: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > commRequest = comm.isend(
^
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:2675:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp: In function
‘Teuchos::RCP<Teuchos::CommRequest> Teuchos::ireceive(const
Teuchos::Comm<Ordinal>&, const Teuchos::ArrayRCP<T2>&, int)’:
/usr/local/include/Teuchos_CommHelpers.hpp:2686:7: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > commRequest = comm.ireceive(
^
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:2693:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp: In function
‘Teuchos::RCP<Teuchos::CommRequest> Teuchos::ireceive(const
Teuchos::ArrayRCP<T2>&, int, int, const Teuchos::Comm<Ordinal>&)’:
/usr/local/include/Teuchos_CommHelpers.hpp:2703:7: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<int> > commRequest =
^
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:2710:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp:2725:23: error:
‘Teuchos::CommRequest’ is not a template
Teuchos::RCP<Teuchos::CommRequest<Ordinal> >
^
/usr/local/include/Teuchos_CommHelpers.hpp: In function
‘Teuchos::RCP<Teuchos::CommRequest> Teuchos::ireceive(const
Teuchos::Comm<Ordinal>&, const Serializer&, const Teuchos::ArrayRCP<T2>&,
int)’:
/usr/local/include/Teuchos_CommHelpers.hpp:2740:7: error:
‘Teuchos::CommRequest’ is not a template
RCP<CommRequest<Ordinal> > commRequest = comm.ireceive(
^
/usr/local/include/Teuchos_CommHelpers.hpp: At global scope:
/usr/local/include/Teuchos_CommHelpers.hpp:2749:23: error:
‘Teuchos::CommRequest’ is not a template
const ArrayView<RCP<CommRequest<Ordinal> > > &requests
^
/usr/local/include/Teuchos_CommHelpers.hpp:2759:39: error:
‘Teuchos::CommRequest’ is not a template
const ArrayView<RCP<CommRequest<Ordinal> > >& requests,
^
/usr/local/include/Teuchos_CommHelpers.hpp:2769:30: error:
‘Teuchos::CommRequest’ is not a template
const Ptr<RCP<CommRequest<Ordinal> > > &request)
^
[ 48%] Building CXX object
dolfin/CMakeFiles/dolfin.dir/la/EpetraLUSolver.cpp.o
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/la/TrilinosPreconditioner.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/home/paradox/tmpsoftware/src/dolfin/dorsal_build_dir'
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make[1]: Leaving directory
`/home/paradox/tmpsoftware/src/dolfin/dorsal_build_dir'
make: *** [all] Error 2
make: Leaving directory
`/home/paradox/tmpsoftware/src/dolfin/dorsal_build_dir'
Failure with exit status: 2
Exit message: There was a problem building dolfin.
On Thu, May 29, 2014 at 8:45 AM, Johannes Ring <[email protected]> wrote:
> On Thu, May 29, 2014 at 6:08 AM, Christopher DeMars
> <[email protected]> wrote:
> > I am having the same problem as the person below.
>
> When did you have this problem? When using the packages from the
> FEniCS PPA or when building from source?
>
> > I am using Ubuntu 14.01 and have tried installing fenics from the
> > fenics-packages/fenics and fenics-packages/fenics-dev ppas to no avail.
>
> Are you saying that you couldn't install the packages from the PPA?
> What was the error message?
>
> > I have also tried compiling using dorsal (fails with an error from
> > Teuchos_CommHelpers.hpp) and compiling from the various sources (fails
> with
> > an error saying I have to enable -fPIC, I tried to enable that flag on
> > everything, but couldn't shake the error).
>
> Please show us the complete error message.
>
> > Any ideas on how to get a running version of fenics going?
>
> There are many different ways to do this and it depends on what you
> need. I suggest you start with the packages from the FEniCS PPA and
> then send us the error message when it fails.
>
> Johannes
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support