-
Notifications
You must be signed in to change notification settings - Fork 10
VICAR VISOR Notes
Notes on VICAR/VISOR:
The following items apply to both Linux and Mac:
- There is a limit to the size of the pathname used to invoke an executable. If you run e.g. $R2LIB/gen then the expansion of $R2LIB plus the "/gen" has to be less than 76 characters. Going longer than that by a couple characters results in a rather obscure message:
[TAE-BADPAR] '$USER_START' is an undefined parameter or unknown qualifier.
Exceeding it by more than a couple results in a core dump. Issue is easily fixed by using softlinks to shorten the name (the actual physical dir name doesn't matter, just the length of the string on the command line after expanding environment variables. We recommend keeping $V2TOP below about 30 chars to eliminate any issues (once you add in the e.g. p2/lib/$VICCPU and the longest program name).
The following issues have been noted with the Mac version:
-
xvd will not load IMG (ODL/PDS3) files, it crashes immediately. Simple workaround is to convert to VICAR:
$R2LIB/copy xxx.IMG xxx.VIC
and then display that in xvd. -
The marstie program will not invoke tp, which is the GUI tie point editor. We believe this is a Mac security thing that should go away when we start signing the executables.
-
It appears that parallel-processing programs using OMP are not working in parallel mode. They work, just on a single thread. Unclear if this is generally true yet.
The installation guide says to do this to get around Mac SIP issues:
# Work around SIP problems with VICAR
if ($#SIP_DYLD_LIBRARY_PATH != 0) setenv DYLD_LIBRARY_PATH $SIP_DYLD_LIBRARY_PATH
The syntax is incorrect. It should be:
# Work around SIP problems with VICAR
if ($#SIP_DYLD_LIBRARY_PATH != 0) then
setenv DYLD_LIBRARY_PATH $SIP_DYLD_LIBRARY_PATH
endif
Putting it on one line causes the second $ to be dereferenced which doesn't work since it doesn't exist.