PSI using SNAP-STaMPS workflow in Windows Subsystem for Linux (WSL)

Thank you very much.
I will try to install gcc-4.5 version on Ubuntu 20.4.
I will tell you if it works.

Thanks

Let me know. I am curious about the installation of older gcc version in ubuntu 20.04
I know that if you use ubuntu 18.04 this problem that not happens.

gcc-4.8 should be ok as well. Newer not.
Best

1 Like

Thank you very much. It totally works.
I installed gcc-7 version.

Thank you again

1 Like

For people with this problem:
install an older version of gcc (if you have installed ubuntu 20.04).

Good to see that I was right and you got your problem solved.

now the question would be:
can you explain how you install it?
just : sudo apt-get install gcc-7 ??

or something else?

You have to do:

  • gcc -v --> to check which version of gcc
  • sudo apt -y install gcc-7 g+±7
  • sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g+±7 7
    –> to change the version

(check to have installed also build-essential)

2 Likes

Hi. I tried to follow every step you told, but I seem to have a problem when I try to run StaMPS. This is what I get after the command: mt_prep_snap…

why is there a ~
grafik

I think this should be an empty space.

1 Like

this ~ was in the tutorial too. i think i missed the space… so i tried it again with the space in it, but is responds in the same way as before

1 Like

which tutorial?

the tutorial of @amirolinxa, that stands in this page

my bad, i can see now where is the mistake. the file path wasn’t the right one. @ABraun thank you for helping me

1 Like

Very good! These things can be confusing indeed :wink:

1 Like

everytime I try to go further with the example, I find something wrong… I already did the mt_prep_snap and it seems to go well. but I had to leave the work and turned off the pc without going do matlab. Now I am to the directory of INSAR_master_data and i run matlab. but when i write "stamps(1,8) in the matlab commands it says: Undefined function or variable ‘stamps’. maybe because i have to re-run the mt_prep_snap and go to matlab right after that, without any interruption?

you should not close the linux terminal and if you close it you have to redo the sourcing of stamps config file again.

3 Likes

ok, of course there is another problem… I think i have to add any plug ins for matlab because this error is occuring:

reinstall matlab and be sure that you checked the following toolbars

Parallel Computing Toolbox (DM)
Image Processing Toolbox (IP)
Signal Processing Toolbox (SG)
Statistics and Machine Learning Toolbox (ST)

2 Likes

Hello again, i’m facing a new problem , this time when ploting for the results.

PS. I did some research for other people having the same problem, it seems I had to Take a bigger Radius for the TS selection

To be honest, I havent faced with such a problem so far. have you tried with smaller radious.

actually, it worked with a bigger radius. I think it needed more points to work