[petsc-dev] Curse CMake to the Depths of Hell
Satish Balay
balay at mcs.anl.gov
Wed Jan 18 10:36:16 CST 2017
On Mac - with prgmatic 'master' - I get:
/usr/local/Cellar/cmake/3.7.1/bin/cmake -E cmake_link_script CMakeFiles/jpeg2mesh.dir/link.txt --verbose=1
/usr/bin/g++ -fstack-protector -g -std=c++11 -Wno-literal-suffix -Wno-deprecated -DEIGEN_NO_DEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/jpeg2mesh.dir/tools/jpeg2mesh.cpp.o CMakeFiles/jpeg2mesh.dir/src/mpi_tools.cpp.o CMakeFiles/jpeg2mesh.dir/src/ticker.cpp.o -o bin/jpeg2mesh -lrt
[ 92%] Linking CXX executable bin/coarsen_mesh_3d
/usr/local/Cellar/cmake/3.7.1/bin/cmake -E cmake_link_script CMakeFiles/coarsen_mesh_3d.dir/link.txt --verbose=1
/usr/bin/g++ -fstack-protector -g -std=c++11 -Wno-literal-suffix -Wno-deprecated -DEIGEN_NO_DEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/coarsen_mesh_3d.dir/tools/coarsen_mesh_3d.cpp.o CMakeFiles/coarsen_mesh_3d.dir/src/generate_Steiner_ellipse_3d.cpp.o CMakeFiles/coarsen_mesh_3d.dir/src/mpi_tools.cpp.o CMakeFiles/coarsen_mesh_3d.dir/src/ticker.cpp.o -o bin/coarsen_mesh_3d -lrt
[100%] Linking CXX shared library lib/libpragmatic.dylib
<snip>
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Satish
On Wed, 18 Jan 2017, Matthew Knepley wrote:
> Yep, I am updating that (since it pointed to a branch that got munged), and
> in doing so I wanted o fix this aswell.
>
> Matt
>
> On Wed, Jan 18, 2017 at 10:32 AM, Satish Balay <balay at mcs.anl.gov> wrote:
>
> > BTW: wrong self.gitcommit in pragmatic.py?
> >
> > Satish
> >
> > -------
> >
> >
> > balay at asterix /home/balay/petsc (master=)
> > $ ./configure --with-mpi=0 --download-metis --download-eigen
> > --download-pragmatic PETSC_ARCH=arch-pragmatic
> > ============================================================
> > ===================
> > Configuring PETSc to compile on your system
> > ============================================================
> > ===================
> > ===============================================================================
> >
> > Trying to download hg://https://bitbucket.org/
> > eigen/eigen/ for EIGEN
> > ==============================
> > =================================================
> >
> > ===============================================================================
> >
> > Configuring EIGEN with cmake, this may take several
> > minutes
> > ==============================
> > =================================================
> >
> > ===============================================================================
> >
> > Compiling and installing EIGEN; this may take several
> > minutes
> > ==============================
> > =================================================
> >
> > ===============================================================================
> >
> > Trying to download git://https://bitbucket.org/
> > petsc/pkg-metis.git for METIS
> > ==============================
> > =================================================
> >
> > ===============================================================================
> >
> > Configuring METIS with cmake, this may take several
> > minutes
> > ==============================
> > =================================================
> >
> > ===============================================================================
> >
> > Compiling and installing METIS; this may take several
> > minutes
> > ==============================
> > =================================================
> >
> > ===============================================================================
> >
> > Trying to download git://https://github.com/
> > meshadaptation/pragmatic.git for PRAGMATIC
> > ==============================
> > =================================================
> >
> >
> >
> > ************************************************************
> > *******************
> > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
> > details):
> > ------------------------------------------------------------
> > -------------------
> > Unable to checkout commit: 2efa91b32a3b9954083ddf96f2ee81889906543c in
> > repository: /home/balay/petsc/arch-pragmatic/externalpackages/
> > git.pragmatic.
> > Perhaps its a git error!
> > ************************************************************
> > *******************
> >
> >
> >
>
>
>
More information about the petsc-dev
mailing list