Quote: |
[Den, Yuta]
Background:
ASS and many other scripts don't work on new ubuntu machines.
What we did:
1. Installed C-shell on rossa and rosalba(Ubuntu machine).
sudo apt-get insall csh
2. Find out that
/opt/rtcds/caltech/c1/scripts/AutoDither/alignY
runs, but
/opt/rtcds/caltech/c1/scripts/medmrun /opt/rtcds/caltech/c1/scripts/AutoDither/alignY
doesn't run. It gives us the following error messages.
ezcawrite: error while loading shared libraries: libca.so: cannot open shared object file: No such file or directory
ezcaswitch: error while loading shared libraries: libca.so: cannot open shared object file: No such file or directory
Result:
ASS scripts run on rossa and rosalba, but not with medmrun.
At least ASS scripts run on pianosa(ubuntu machine) with medmrun. So we decided to wait for JAMIE to fix it.
|
Apparently the environment was not being properly inherited by the scripts launched from medmrun. We modified the medmrum script so that it executes things with an interactive shell ("bash -i -c ...") and this fixed the problem (by assuring that it sources all the interactive environment configs (i.e. ~/.bashrc)). I'm still not sure why we were seeing different behavior on pianosa, but at least the solution we have now should be robust.
As a reminder, all scripts launched from MEDM should use medmrun:
/opt/rtcds/caltech/c1/scripts/medmrun
|