isce2 icon indicating copy to clipboard operation
isce2 copied to clipboard

Problems installing ISCE on redhat

Open tdl255 opened this issue 4 years ago • 8 comments

Hello, I am having trouble installing ISCE2 on the scientific linux version of Redhat. I have triple checked all the paths in the scons config file, and installed all the necessary libraries. I am wondering if this is an issue with Redhat - I've had success installing ISCE on Ubuntu before. Attached is the config.log file. Any guidance would be very much appreciated config.log .

tdl255 avatar Nov 16 '21 00:11 tdl255

It looks like you are using the system gcc but dependencies from anaconda? If you're linking against conda packages, you may have more luck using their compiler toolchain as well: https://conda.io/projects/conda-build/en/latest/resources/compiler-tools.html

rtburns-jpl avatar Nov 16 '21 01:11 rtburns-jpl

Thanks for the suggestion, but I am still having the same problem after installing and using gcc version 9.2.0 (as well as g++/gfortran) via conda. The system gcc that I was previously using was version 4.8.5. I'll attach the config log file - thanks in advance! config-attempt2.log

tdl255 avatar Nov 16 '21 22:11 tdl255

It still looks like you are using a non-conda compiler to build, although it's now /usr/local/bin/gcc instead of /usr/bin/gcc.

If you weren't aware, isce2 does have a prebuilt package available on conda-forge, installable via conda install -c conda-forge isce2.

rtburns-jpl avatar Nov 17 '21 00:11 rtburns-jpl

You could just install the whole thing from https://anaconda.org/conda-forge/isce2 if you dont want the joy of compiling it.

conda install -c conda-forge isce2

hardreddata avatar Nov 19 '21 23:11 hardreddata

Thanks all! I tried using conda install -c conda-forge isce2, and it didn't work at first. It was stuck on "solving environment" for hours. Then I installed all the isce2 dependencies individually, then ran conda install -c conda-forge isce2. After doing that, it worked! Thanks for the help.

tdl255 avatar Nov 22 '21 17:11 tdl255

Great. Conda dependency bloat can be problematic. I have had some success with using mamba for this.

conda install mamba -c conda-forge
mamba install isce2 -c conda-forge

hardreddata avatar Nov 22 '21 21:11 hardreddata

The mdx display utility does not seem to be working with this conda/mamba installation ("Initializing X toolkit; Error: Can't open display"). Is this something I need to configure and/or compile myself? If so, are there instructions to do so without also installing all of isce?

tdl255 avatar Dec 13 '21 17:12 tdl255

@tdl255 The Initializing X toolkit; Error: Can't open display is a problem with the X11 environment variables in your terminal. It seems that the mdx program was compiled successfully as it is trying to open a window through the X11 Window System. Maybe you already figured out the problem.

EJFielding avatar Jan 23 '22 23:01 EJFielding