← Back to team overview

dolfin team mailing list archive

Re: [Question #120990]: Installing Parmetis on Mac OS X

 

Question #120990 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/120990

Anders Logg proposed the following answer:
On Wed, Aug 25, 2010 at 10:00:45AM -0000, Garth Wells wrote:
> Question #120990 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/120990
>
>     Status: Open => Answered
>
> Garth Wells proposed the following answer:
>
> On 25/08/10 00:13, Jack wrote:
> > Question #120990 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/120990
> >
> >     Status: Answered => Open
> >
> > Jack is still having a problem:
> > Parmetis now builds properly but for some reason, CGAL is not being
> > found even though CGAL_DIR has been set. I get:
> >
> > -- Checking for package 'CGAL'
> > -- CGAL could not be found. Be sure to set CGAL_DIR  (missing:  CGAL_TEST_RUNS)
> >
>
> Looks like a problem with GMP.
>
> Can someone with access to an OSX machine check it out?

It works fine here on Snow Leopard. I just did a clean install using
Dorsal and everything went smooth.

Have you installed ParMETIS yourself? Which version of GMP do you
have?

--
Anders


> Garth
>
> >
> > and the dolfin build fails with:
> >
> > Undefined symbols:
> >   "operator>>(std::basic_istream<char, std::char_traits<char> >&, __mpf_struct*)", referenced from:
> >       dolfin::ODESolution::open_and_read_header(std::basic_ifstream<char, std::char_traits<char> >&, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::open_and_read_header(std::basic_ifstream<char, std::char_traits<char> >&, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::open_and_read_header(std::basic_ifstream<char, std::char_traits<char> >&, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::read_file(unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::read_file(unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::read_file(unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::ODESolution(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::ODESolution(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::ODESolution(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::ODESolution(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::ODESolution(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) in ODESolution.cpp.o
> >       dolfin::ODESolution::ODESolution(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int) in ODESolution.cpp.o
> >   "operator<<(std::basic_ostream<char, std::char_traits<char> >&, __mpf_struct const*)", referenced from:
> >       dolfin::PythonFile::operator<<(dolfin::Sample const&) in PythonFile.cpp.o
> >       dolfin::PythonFile::operator<<(dolfin::Sample const&) in PythonFile.cpp.o
> >       dolfin::PythonFile::operator<<(dolfin::Sample const&) in PythonFile.cpp.o
> >       dolfin::PythonFile::operator<<(dolfin::Sample const&) in PythonFile.cpp.o
> >       dolfin::PythonFile::operator<<(std::tr1::tuple<unsigned int, __gmp_expr<__mpf_struct [1], __mpf_struct [1]>, __gmp_expr<__mpf_struct [1], __mpf_struct [1]>*> const&) in PythonFile.cpp.o
> >       dolfin::PythonFile::operator<<(std::tr1::tuple<unsigned int, __gmp_expr<__mpf_struct [1], __mpf_struct [1]>, __gmp_expr<__mpf_struct [1], __mpf_struct [1]>*> const&) in PythonFile.cpp.o
> >       dolfin::cGqMethod::str(bool) const in cGqMethod.cpp.o
> >       dolfin::cGqMethod::str(bool) const in cGqMethod.cpp.o
> >       dolfin::dGqMethod::str(bool) const in dGqMethod.cpp.o
> >       dolfin::dGqMethod::str(bool) const in dGqMethod.cpp.o
> >       dolfin::MonoAdaptiveTimeSlab::str(bool) const in MonoAdaptiveTimeSlab.cpp.o
> >       dolfin::MonoAdaptiveTimeSlab::str(bool) const in MonoAdaptiveTimeSlab.cpp.o
> >       dolfin::ODESolution::str(bool) const in ODESolution.cpp.o
> >       dolfin::ODESolution::str(bool) const in ODESolution.cpp.o
> >       dolfin::ODESolution::str(bool) const in ODESolution.cpp.o
> >       dolfin::ODESolution::save_to_file()      in ODESolution.cpp.o
> >       dolfin::ODESolution::save_to_file()      in ODESolution.cpp.o
> >       dolfin::ODESolution::save_to_file()      in ODESolution.cpp.o
> >       dolfin::ODESolution::save_to_file()      in ODESolution.cpp.o
> >       dolfin::ODESolution::save_to_file()      in ODESolution.cpp.o
> >       dolfin::TimeSlab::write(unsigned int, __gmp_expr<__mpf_struct [1], __mpf_struct [1]> const*) in TimeSlab.cpp.o
> >       dolfin::RealParameter::str() const in Parameter.cpp.o
> >       dolfin::RealParameter::range_str() const in Parameter.cpp.o
> >       dolfin::RealParameter::range_str() const in Parameter.cpp.o
> >       dolfin::RealParameter::value_str() const in Parameter.cpp.o
> > ld: symbol(s) not found
> > collect2: ld returned 1 exit status
> > make[2]: *** [dolfin/libdolfin.0.9.8.dylib] Error 1
> > make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
> > make: *** [all] Error 2
> > Failure with exit status: 2
> > Exit message: There was a problem building dolfin.
> >
> > Jack
> >
> > You received this question notification because you are a member of
> > DOLFIN Team, which is an answer contact for DOLFIN.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help   : https://help.launchpad.net/ListHelp
>
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp

--
Anders

You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References