On 2014-05-20 08:33, Johannes Ring wrote:
On Sat, May 17, 2014 at 4:51 PM, Imran Ali
<[email protected]> wrote:
I turned off DOLFIN_SKIP_BUILD_TESTS, however I got the following error then
during the build :

-- Found petscconf.h
gmake: Warning: File
`/mn/anatu/studenter-u1/imranal/Work/FEniCS/src/dolfin-1.3.0/dorsal_build_dir/Makefile.petsc'
ha
s modification time 0.0025 s in the future
gmake: warning:  Clock skew detected.  Your build may be incomplete.

This means that the time on the system where the files live and the
time on the system where the build is being performed, are not in
sync. You can use something like NTP to synchronize the times of your
systems. However, this is only a warning, so it could be other reasons
to why it hangs. You can try to modify cmake/modules/FindPETSc.cmake
in the DOLFIN source directory to find out where it hangs. For
instance, does it work if you only disable the build tests in
FindPETSc.cmake?

Johannes

Hi Johannes!

I commented out the following in the cmake file :

## Try to figure out PETSC_DIR by finding petsc.h
#find_path(PETSC_DIR include/petsc.h
#  HINTS ${PETSC_DIR} $ENV{PETSC_DIR}
#  PATHS ${petsc_dir_locations}
#  DOC "PETSc directory")
message("Skipped find petsc")
# Report result of search for PETSC_DIR
if (DEFINED PETSC_DIR)
  message(STATUS "PETSC_DIR is ${PETSC_DIR}")
else()
  message(STATUS "PETSC_DIR is empty")
endif()


And the build went successfully, however without being able to find PETSc. Which I need.

Imran
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to