| Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.eso.org/~chummel/midi/ews/intro.html Дата изменения: Thu Oct 21 21:37:12 2004 Дата индексирования: Sat Dec 22 20:11:08 2007 Кодировка: Поисковые слова: asteroid | 
To install the EWS system on your UNIX computer:
1.  Define and create a root directory for the code and reference data.
    Specify this as an environmental variable drsRoot:
    mkdir /cool2/jaffe/ews
    setenv drsRoot /cool/jaffe/ews  (csh)
    export drsRoot=/cool/jaffe/ews  (sh)
    This assignment must be made whenever you want to use
    EWS, so it is most convenient to put it in a .login,
    .profile,.alias.... type file.
2.  Copy the tar file  EWS.tar.gz into this directory
3.  Extract the tar file. e.g.:
    tar -xf EWS.tar.gz --ungzip  (gnu tar sytax)
4.  try gnu make:
    gmake install
5.  cross your fingers.
6.  In compiling the cfitsio library, the highest level 
    routine uses a script called configure to try to determine your
    local system parameters and set up a corresponding cfitsio/Makefile.
    If the diagnostic messages from the cfitsio compilations 
    look crazy, you have to edit the file $drsRoot/cfitsio/Makefile 
    and insert reasonable values there.  Look especially at
    the definition of CFLAGS in this file.
    After fixing cfitsio/Makefile, return to $drsRoot and type
    gmake install_c
    This should recompile the c-code using the new Makefile.
    If the make session ends with "mv: cannot stat `c/bin/disp*': No such file or directory
    ignore this, the mv was already executed in the previous run of gmake.
7.  If the installation runs to completion, the following steps
    start things up:
    A.  Make sure drsRoot is assigned as above
    B.  assign the environment variable IDL_STARTUP
        to $drsRoot/EWS_STARTUP
        setenv IDL_STARTUP $drsRoot/EWS_STARTUP
        alternatively, add the code in this file to an
        existing IDL_STARTUP script.
        alternatively, AFTER STARTING IDL, type:
        @$drsRoot/EWS_STARTUP
    C.  Go to your favorite directory and type;
        idl
    
        Then type:
        @vltisetup
        Hundreds of compilation messages should flash by.
        You should now be ready to start, e.g:
        cd,'data_directory'
        files1 = midiGuiS()
        output_tag = '/mydisk/reduced_data/source1'
        midipipe,output_tag,files=filesq
8.   There are much more detailed descriptions of the EWS
     routines in the UserGuide in the $drsRoot/export directory