Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.naic.edu/~phil/download/download.html
Дата изменения: Thu Feb 12 00:34:27 2015 Дата индексирования: Sun Apr 10 04:49:53 2016 Кодировка: Поисковые слова: galactic center |
To get a compressed tar file:click on the link and specify the filename to store it in. If it tries to display the file, use the right button on the link and specify the saveas option. tar -xf filename .. this will unpack the tar file into the individual files/directories
Executables will have listed the version of sunOS they were compiled under. Any dynamic linking need should be from standard libraries (libc, etc..)click on the link, specify the file to store it in.. gunzip -c filename | tar -xf -
compiled with gcc version 2.95.3 20010315 (release). Sunos version 5.8.
aoIdl.tar 9 Mbytes (uncompressed) last updated 11feb15click on the uncompressed or compressed version to download. Store the file aoIdl.tar in the directory you want to keep the idl routines. I'll assume you put them in /share/idl/ao. If it was the uncompressed version: tar -xf aoIdl.tar
If is was the compressed version: gunzip -c aoIdl.tar.gz | tar -xf -In the user's startup file for idl add:
!path = expand_path('+/share/idl/ao/gen')+':'+ !pathYou need a directory to hold the html documentation and a url. Assume you want to keep the html documentation in /home/aoidl/public_html and the url to this will be: http://www.yoursite.edu/~aoidl. Edit the file /share/idl/ao/gen/aodefdir.pro change: return,'/pkg/rsi/local/libao/phil/'You should make sure the documentation directory exists and you have write access to it.
to: return,'/share/idl/aoidl/'
change: return,'/home/phil/pubilc_html/'
to: return,'/home/aoidl/pubilc_html/'
change: return,'http://www.naic.edu/~phil/'
to: return,'http://www.yoursite.edu/~aoidl/'
--> Warning.. the filenames need the trailing / ....eg'/share/idl/aoidl/' .. correct
'/share/idl/aoidl' .. incorrectWhen starting idl, you need to specify where the aoidl routines are located. The easiest way is to use an idl startup file and the shell environment variable IDL_STARTUP. The file could contain: ;lines starting with ; are commentsIDL will look in the environment variable IDL_STARTUP to see if you have defined a startup file.
; edit_input tells idl how many lines to remember when using the
; up arrow to recall/edit previous commands
;
!EDIT_INPUT=500
;
; the next line tells idl where to find the aodefdir routine
; that is then used to define all of the paths...
;
!path = expand_path('+/share/idl/ao/gen')+':'+ !path
;
; This is just some extra junk i use for plotting
;
!x.style=1
!y.style=1
A csh example is:
In .cshrc putsetenv IDL_STARTUP ~yourHomedir/startup.idlThen idl will startup idl and execute the above commands.
The first time you start idl, you need to create the documentation. Enter @allmkdoc This will create the .html files in the doc directory you specified. Be sure that you have write permissions to these directories or the command will fail.
./swmodhistory.html has the modification history for the routines. Every time I find a bug or add something,i'll put an entry in this table. Move this to an html directory and add a link to it.
For those who have already downloaded the software, checkout the
software modification history to see if there is anything
new or fixed that you may want (note:27sep12.. i haven't been very
religious in maintaining this web page since i moved the idl
routines to svn). You need to also check that the last
updated date for the tar files includes anything new you may want
(i try to remember to update the tar files but sometimes i'm a few
days behind).
home_~phil