isce-framework / isce3

InSAR Scientific Computing Environment ***NOTICE - This repository is currently a mirror of an internally hosted project and is in the process of migrating the development to this public repository. In near future we will accept external pull requests.***
Other
128 stars 35 forks source link

Installation error on Linux #2

Closed shobhitagarwal1612 closed 4 years ago

shobhitagarwal1612 commented 4 years ago

I'm trying to setup the project on Linux (Debian) using the instructions provided here.

Stacktrace:

CMake Warning at tests/cxx/CMakeLists.txt:30 (add_executable):
  Cannot generate a safe runtime search path for target ih5castread because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libfftw3f.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3f_threads.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3_threads.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib

  Some of these libraries may not be found correctly.

CMake Warning at tests/cxx/CMakeLists.txt:30 (add_executable):
  Cannot generate a safe runtime search path for target geometry_constlat
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libfftw3f.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3f_threads.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3_threads.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib

  Some of these libraries may not be found correctly.

CMake Warning at tests/cxx/CMakeLists.txt:30 (add_executable):
  Cannot generate a safe runtime search path for target ih5 because files in
  some directories may conflict with libraries in implicit directories:

    runtime library [libfftw3f.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3f_threads.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib
    runtime library [libfftw3_threads.so.3] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/google/home/ashobhit/isce3/python/miniconda3/lib

  Some of these libraries may not be found correctly.

The above stacktrace only contains a few of the errors. The actual list is even longer. I'm stuck at this step for a few days now. Any help is really appreciated.

Thanks!

piyushrpt commented 4 years ago

These seem to be just warnings. Does it report actual errors?

gmgunter commented 4 years ago

Hi @shobhitagarwal1612

Sorry about the broken link in the install guide. Unfortunately, some of the docs are a bit outdated right now. Please continue to let us know if you find other issues, and we'll try to fix them up internally, though it might be a while before these changes become public. In the meantime, we'll do our best to help out.

@rtburns-jpl recently created a conda package for isce3 which might meet your needs. You can install it with

conda install -c conda-forge isce3
shobhitagarwal1612 commented 4 years ago

These seem to be just warnings. Does it report actual errors?

Running ctest reports failing tests

0% tests passed, 112 tests failed out of 112

Total Test time (real) =  12.65 sec

The following tests FAILED:
      1 - square_root_test2 (Not Run)
      2 - import_pyre.py (Failed)
      3 - test.cxx.isce3.container.rsd (Not Run)
      4 - test.cxx.isce3.core.attitude.euler (Not Run)
      5 - test.cxx.isce3.core.cube.cube (Not Run)
      6 - test.cxx.isce3.core.datetime.datetime (Not Run)
      7 - test.cxx.isce3.core.ellipsoid.ellipsoid (Not Run)
      8 - test.cxx.isce3.core.interp1d (Not Run)
      9 - test.cxx.isce3.core.interpolator.interpolator (Not Run)
     10 - test.cxx.isce3.core.linspace.linspace (Not Run)
     11 - test.cxx.isce3.core.lut.lut1d (Not Run)
     12 - test.cxx.isce3.core.lut.lut2d (Not Run)
     13 - test.cxx.isce3.core.matrix.matrix (Not Run)
     14 - test.cxx.isce3.core.orbit.orbit (Not Run)
     15 - test.cxx.isce3.core.poly.poly1d (Not Run)
     16 - test.cxx.isce3.core.poly.poly2d (Not Run)
     17 - test.cxx.isce3.core.projections.cea (Not Run)
     18 - test.cxx.isce3.core.projections.geocent (Not Run)
     19 - test.cxx.isce3.core.projections.polar (Not Run)
     20 - test.cxx.isce3.core.projections.utm (Not Run)
     21 - test.cxx.isce3.core.serialization.serializeAttitude (Not Run)
     22 - test.cxx.isce3.core.serialization.serializeDoppler (Not Run)
     23 - test.cxx.isce3.core.serialization.serializeOrbit (Not Run)
     24 - test.cxx.isce3.fft.fft (Not Run)
     25 - test.cxx.isce3.fft.fftplan (Not Run)
     26 - test.cxx.isce3.fft.fftutil (Not Run)
     27 - test.cxx.isce3.focus.bistatic-delay (Not Run)
     28 - test.cxx.isce3.focus.chirp (Not Run)
     29 - test.cxx.isce3.focus.dry-troposphere-model (Not Run)
     30 - test.cxx.isce3.focus.gaps (Not Run)
     31 - test.cxx.isce3.focus.rangecomp (Not Run)
     32 - test.cxx.isce3.geocode.geocodeSlc (Not Run)
     33 - test.cxx.isce3.geometry.dem.dem (Not Run)
     34 - test.cxx.isce3.geometry.geo2rdr.geo2rdr (Not Run)
     35 - test.cxx.isce3.geometry.geocode.geocode (Not Run)
     36 - test.cxx.isce3.geometry.geometry.geometry_constlat (Not Run)
     37 - test.cxx.isce3.geometry.geometry.geometry (Not Run)
     38 - test.cxx.isce3.geometry.geometry.geometry_equator (Not Run)
     39 - test.cxx.isce3.geometry.rtc.rtc (Not Run)
     40 - test.cxx.isce3.geometry.topo.topo (Not Run)
     41 - test.cxx.isce3.geometry.bbox.geoperimeter_equator (Not Run)
     42 - test.cxx.isce3.image.resampslc.resampslc (Not Run)
     43 - test.cxx.isce3.io.gdal.buffer (Not Run)
     44 - test.cxx.isce3.io.gdal.gdal-dataset (Not Run)
     45 - test.cxx.isce3.io.gdal.geotransform (Not Run)
     46 - test.cxx.isce3.io.gdal.spatialreference (Not Run)
     47 - test.cxx.isce3.io.IH5.ih5castread (Not Run)
     48 - test.cxx.isce3.io.IH5.ih5castwrite (Not Run)
     49 - test.cxx.isce3.io.IH5.ih5 (Not Run)
     50 - test.cxx.isce3.io.IH5.ih5gdal (Not Run)
     51 - test.cxx.isce3.io.IH5.ih5nativeread (Not Run)
     52 - test.cxx.isce3.io.IH5.ih5nativewrite (Not Run)
     53 - test.cxx.isce3.io.raster.raster (Not Run)
     54 - test.cxx.isce3.io.raster.rasterepsg (Not Run)
     55 - test.cxx.isce3.io.raster.rastermatrix (Not Run)
     56 - test.cxx.isce3.io.raster.rasterview (Not Run)
     57 - test.cxx.isce3.matchtemplate.ampcor.ampcor (Not Run)
     58 - test.cxx.isce3.math.bessel.bessel53 (Not Run)
     59 - test.cxx.isce3.math.sinc (Not Run)
     60 - test.cxx.isce3.product.serialization.serializeProduct (Not Run)
     61 - test.cxx.isce3.product.serialization.serializeProductMetadata (Not Run)
     62 - test.cxx.isce3.product.radargrid.radargrid (Not Run)
     63 - test.cxx.isce3.signal.covariance (Not Run)
     64 - test.cxx.isce3.signal.crossmul (Not Run)
     65 - test.cxx.isce3.signal.filter (Not Run)
     66 - test.cxx.isce3.signal.multilook (Not Run)
     67 - test.cxx.isce3.signal.nfft (Not Run)
     68 - test.cxx.isce3.signal.shift_signal (Not Run)
     69 - test.cxx.isce3.signal.signal (Not Run)
     70 - test.cxx.isce3.unwrap.icu.icu (Not Run)
     71 - test.cxx.isce3.unwrap.phass.phass (Not Run)
     72 - test.cxx.isce3.io.gdal.gdal-raster (Not Run)
     73 - test.python.pybind.core.constants (Failed)
     74 - test.python.pybind.core.datetime_ (Failed)
     75 - test.python.pybind.core.ellipsoid (Failed)
     76 - test.python.pybind.core.interp1d (Failed)
     77 - test.python.pybind.core.linspace (Failed)
     78 - test.python.pybind.core.LUT1d (Failed)
     79 - test.python.pybind.core.LUT2d (Failed)
     80 - test.python.pybind.core.orbit (Failed)
     81 - test.python.pybind.core.quaternion (Failed)
     82 - test.python.pybind.core.timedelta (Failed)
     83 - test.python.pybind.focus.backproject (Failed)
     84 - test.python.pybind.focus.chirp (Failed)
     85 - test.python.pybind.focus.rangecomp (Failed)
     86 - test.python.pybind.geocode.geocodeSlc (Failed)
     87 - test.python.pybind.geometry.bbox (Failed)
     88 - test.python.pybind.geometry.dem (Failed)
     89 - test.python.pybind.geometry.geocode (Failed)
     90 - test.python.pybind.geometry.geo2rdr (Failed)
     91 - test.python.pybind.geometry.rdr2geo (Failed)
     92 - test.python.pybind.image.resamp (Failed)
     93 - test.python.pybind.io.gdal.dataset (Failed)
     94 - test.python.pybind.io.gdal.raster (Failed)
     95 - test.python.pybind.io.raster (Failed)
     96 - test.python.pybind.signal.covariance (Failed)
     97 - test.python.pybind.product.radargridparameters (Failed)
     98 - test.python.pybind.product.swath (Failed)
     99 - test.python.pkg.isce3.core.ellipsoid (Failed)
    100 - test.python.pkg.isce3.core.lut2d (Failed)
    101 - test.python.pkg.isce3.core.orbit (Failed)
    102 - test.python.pkg.isce3.core.testdatetime (Failed)
    103 - test.python.pkg.isce3.geometry.geometry_equator (Failed)
    104 - test.python.pkg.isce3.io.ih5py (Failed)
    105 - test.python.pkg.isce3.io.raster (Failed)
    106 - test.python.pkg.nisar.products.SLC (Failed)
    107 - test.python.pkg.nisar.workflows.rdr2geo (Failed)
    108 - test.python.pkg.nisar.workflows.geo2rdr (Failed)
    109 - test.python.pkg.nisar.workflows.crossmul (Failed)
    110 - test.python.pkg.nisar.workflows.resampSlc (Failed)
    111 - test.python.pkg.nisar.workflows.geocode (Failed)
    112 - test.python.pkg.pybind_nisar.workflows.focus (Failed)
Errors while running CTest

@rtburns-jpl recently created a conda package for isce3 which might meet your needs. You can install it with

Thanks a lot! I'll try it out.

shobhitagarwal1612 commented 4 years ago

That did the trick! Thank you so much!