ISCE-2.2.0 installation issue

Added by Roghayeh Shamshiri over 1 year ago

Dear All,

I am trying to install ISCE-2.2 (with CUDA) on Ubuntu 16.04. After running Scons, I get the following error messages:

*********************************************
scons: Reading SConscript files ...
Building with scons from python2
Checking for C header file Python.h... yes
Checking for C header file fftw3.h... yes
Checking for C header file hdf5.h... yes
Checking for C header file X11/Xlib.h... yes
Checking for C header file Xm/Xm.h... yes
Checking for C header file omp.h... yes
Checking for C library hdf5... yes
Checking for C library fftw3f... yes
Checking for C library Xm... yes
Checking for C library Xt... yes
Checking for F include fftw3 ... yes
GDAL version: 2.3.0

Checking for C++ header file gdal_priv.h... yes
Checking for C library gdal... yes
Scons appears to find everything needed for installation
Checking whether cython3 program exists.../usr/bin/cython3
User requested compilation with CUDA, if available
Assuming default system compiler for nvcc.
CUDA-relevant libraries and toolkit found. GPU acceleration may be enabled.
Building with scons from python2
Checking for F include fftw3 ... yes
GDAL version: 2.3.0

Scons appears to find everything needed for installation
User requested compilation with CUDA, if available
Assuming default system compiler for nvcc.
CUDA-relevant libraries and toolkit found. GPU acceleration may be enabled.
No module named 'iscesys'
No module named 'iscesys'
No module named 'isceobj'
CYTHON3 and ENABLE_CUDA are set in the environment
Assuming default system compiler for nvcc.
TypeError: cannot concatenate 'str' and 'list' objects:
File "/home/roghayeh/softwares/isce-2.2.0/SConstruct", line 258:
SConscript(contrib)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec _file
in call_stack[-1].globals
File "/home/roghayeh/softwares/isce-2.2.0/contrib/SConscript", line 58:
SConscript(mdx)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec _file
in call_stack[-1].globals
File "/home/roghayeh/softwares/isce-2.2.0/contrib/mdx/SConscript", line 40:
SConscript(src,variant_dir=os.path.join(build,'src'))
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec _file
in call_stack[-1].globals
File "/home/roghayeh/softwares/ISCE_BUILD_ROOT/isce/components/contrib/mdx/src/SConscript", line 23:
envmdx.Append( CCFLAGS=['-DSUN','-DIO64','-I'+envmdx['MOTIFINCPATH'],'-I'+envmdx['X11INCPATH']] )
scons: done reading SConscript files.
scons: Building targets ...
scons: *
Do not know how to make File target `install' (/home/roghayeh/softwares/isce-2.2.0/install). Stop.
scons: building terminated because of errors.

I would be grateful if someone can help me to solve it.

Kind regards
Roghayeh


Replies (6)

RE: ISCE-2.2.0 installation issue - Added by William Diment 4 months ago

Sorry to bump a thread from almost a year ago, but I had this same issue, and the issue I found was that I had two locations in the: MOTIFLIBPATH, X11LIBPATH, MOTIFINCPATH, X11INCPATH environmental variables on an Ubuntu 18.04 installation. Instead of just MOTIFPATH=/usr/lib/x86_64-linux-gnu, I had MOTIFPATH=/usr/lib /usr/lib/x86_64-linux-gnu, and repeat similarly for the other environmental variables. Make sure in your SConfigISCE file, you only have one location for those graphical libraries.

RE: ISCE-2.2.0 installation issue - Added by Lennart Kramer about 1 month ago

I'm also sorry to ask something in a thread that old;) But I'd also like to install ISCE-2.2.0. However, I'm not really aware of how to do it. With Conda I find the newest version (2.3.3) and also the tarballs on github here: https://github.com/isce-framework/isce2/releases go also just back unto version 2.3.1.
Do you maybe have any pointer on how to do it?

RE: ISCE-2.2.0 installation issue - Added by Eric Fielding about 1 month ago

The first Open Source release of ISCE on GitHub is version 2.3.0. Previous versions of ISCE were not Open Source but licensed software, including version isce-2.2.0 from July 2018. There is no support for these older versions and they may not compile with modern compilers.

The ISCE 2.0 through ISCE 2.2 releases are available to members of WInSAR, the Western North America InSAR consortium through licenses between JPL, Stanford, and UNAVCO (which operates WInSAR). Actually, there are some even older ISCE v1.x versions on WInSAR that were built for Python2. See https://winsar.unavco.org/software/isce for more information. The Stanford code that was in the older versions of ISCE up through v2.2 was removed in the Open Source version 2.3.0 on GitHub.

RE: ISCE-2.2.0 installation issue - Added by Lennart Kramer about 1 month ago

Thank you very much Eric! Is there any chance to become a member of WInSar without being affiliated with one of the institutional members? Because I was able to create an account, but downloading isce 2.2 isn't possible.
Sorry if I'm missing something here...

RE: ISCE-2.2.0 installation issue - Added by Eric Fielding about 1 month ago

Lennart, you are welcome. Membership of WInSAR is limited to people associated with one of the institutional members, but all scientific and educational institutions are eligible to apply for WInSAR membership. The institutional member representative has to sign the license agreement for ISCE 2.2 or earlier for you to have access to it through WInSAR. The other option is to apply for a license directly through JPL, which requires a scientific justification and lengthy approval process. Unless you have a specific need for some of the old obsolete code in ISCE v2.2, the work of getting a license seems not worthwhile. That is why we made the effort to convert ISCE v2.3 to an Open Source license on GitHub.

RE: ISCE-2.2.0 installation issue - Added by Lennart Kramer about 1 month ago

Hi Eric, thanks so much for the response and sorry for my late answer!
I would like to use the ISCE v.2.2, because a program that I wanted to use (the fsh-algorithm) was build using this specific version to knowledge. I think it's possible to use the 2.3 version but my technical knowledge probably isn't good enough to adapt it.
I already spoke to the institutional representative and maybe they'll sign the agreement. I still don't know if I'll be able to install the older version;)
Let's see:)
Anyways, thank you very very much!!

(1-6/6)