Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing and testing OMINAS #6

Open
penteado-jpl opened this issue Dec 4, 2017 · 25 comments
Open

Installing and testing OMINAS #6

penteado-jpl opened this issue Dec 4, 2017 · 25 comments

Comments

@penteado-jpl
Copy link
Collaborator

From @ppenteado on June 5, 2017 18:10

Here is a typical output of installing OMINAS on a fresh account (that never had OMINAS, Icy or any IDL libraries setup before), for the 3 main packages (Core, Demo and Icy):

[ominas_test_8@cmp ~]$ git clone https://github.com/ppenteado/ominas.git
Cloning into 'ominas'...
Username for 'https://github.com': ppenteado
Password for 'https://ppenteado@github.com': 
remote: Counting objects: 13377, done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 13377 (delta 51), reused 71 (delta 34), pack-reused 13258
Receiving objects: 100% (13377/13377), 200.48 MiB | 8.10 MiB/s, done.
Resolving deltas: 100% (7628/7628), done.
Checking connectivity... done.
Checking out files: 100% (3479/3479), done.
[ominas_test_8@cmp ~]$ cd ominas/
[ominas_test_8@cmp ominas]$ source configure.sh 
Detecting .bash_profile...
.bash_profile detected!
Detecting .bashrc...
.bashrc detected!
Using IDL at /usr/local/bin/idl
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 5502667.
Licensed for use by: NASA - Jet Propulsion Laboratory

Creating ~/.ominas directory
Creating ~/ominas_data directory
The setup will guide you through the installation of OMINAS
OMINAS files located in /home/ominas_test_8/ominas
 
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

% Compiled module: OMINAS_ICY_TEST.
Icy: Icy not found
        Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.                                                                                                                                                                  
Optional packages:                                                                                                                                                                                                        
        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED                                                                                                                                                         
           Contains the demo scripts and the data required                                                                                                                                                                
           to run then.                                                                                                                                                                                                   
           These files are always present (in ominas/demo),                                                                                                                                                               
           this option is to set up the environment so that                                                                                                                                                               
           the demos can be run.                                                                                                                                                                                          
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED                                                                                                                                                         
           Library maintained by JPL's NAIF (Navigation and Ancillary                                                                                                                                                     
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,                                                                                                                                             
           required to use spacecraft / planetary kernel files.                                                                                                                                                           
                                                                                                                                                                                                                          
Mission Packages:                                                                                                                                                                                                         
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
        7) Dawn  . . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 8 GB as of Jan/2017
Data:
        8) NAIF Generic Kernels . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) SEDR image data . . . . . . . . . . . . NOT CONFIGURED
       10) TYCHO2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       11) SAO star catalog . . . . . . . . . . . NOT CONFIGURED
           About 19 MB download, 70 MB unpacked
       12) GSC star catalog . . . . . . . . . . . NOT CONFIGURED
       13) UCAC4 star catalog . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
For more information, see
https://ppenteado.github.io/ominas_doc/demo/install_guide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3
Settiing OMINAS Core...
OMINAS requires the NAIF Icy toolkit to process SPICE kernels.
Would you like to install Icy from the internet now? [y]
http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/PC_Linux_GCC_IDL8.x_64bit/packages/icy.tar.Z ~/ominas_data/icy.tar.Z
http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/PC_Linux_GCC_IDL8.x_64bit/packages/icy.tar.Z --localdir=/home/ominas_test_8/ominas_data/

IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

% Compiled module: PP_WGETCL.
% Compiled module: PP_COMMAND_LINE_ARGS_PARSE.
% Loaded DLM: URL.
% Compiled module: PP_WGET__DEFINE.
util/downloader/ca-bundle.crt
% Compiled module: PARSE_URL.
downloading http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/PC_Linux_GCC_IDL8.x_64bit/packages/icy.tar.Z
% Compiled module: PP_READABLESIZE.
Content Length:  276.00000 B
% Compiled module: PP_PARSE_DATE.
% Compiled module: JULDAY.
Content Length:  43.669736 MB
% Compiled module: CALDAT.
Extracting Icy source files...
Compiling Icy...
Icy compiled. Log is at ~/.ominas/icy_make.log
writing /home/ominas_test_8/.ominas/ominas_setup.sh
‘/home/ominas_test_8/.ominas/ominas_setup.sh’ -> ‘/home/ominas_test_8/.ominas/ominas_setup_old.sh’






done with writing /home/ominas_test_8/.ominas/ominas_setup.sh
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

% Compiled module: OMINAS_PATHS_ADD.
Checking to see if IDL paths need to be changed...
% Compiled module: IDLASTRO_DOWNLOAD.
% Compiled module: ROUTINE_EXISTS.
There are missing IDLAstro routines.
Auto installing
git clone https://github.com/wlandsman/IDLAstro.git /home/ominas_test_8/ominas_data/idlastro
Cloning into '/home/ominas_test_8/ominas_data/idlastro'...
remote: Counting objects: 1400, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 1400 (delta 1), reused 3 (delta 1), pack-reused 1392
Receiving objects: 100% (1400/1400), 11.63 MiB | 4.85 MiB/s, done.
Resolving deltas: 100% (556/556), done.
Checking connectivity... done.
IDLAstro path set in preferences:  <IDL_DEFAULT>:+/home/ominas_test_8/ominas_data/idlastro/pro
OMINAS paths set in IDL preferences
Icy path set in IDL preferences
OMINAS aliase set in /home/ominas_test_8/.bashrc.
OMINAS aliase set in /home/ominas_test_8/.bash_profile.
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

% Compiled module: OMINAS_ICY_TEST.
% Loaded DLM: ICY.
Icy: /home/ominas_test_8/ominas_data/icy/lib/icy.so
        Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
        7) Dawn  . . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 8 GB as of Jan/2017
Data:
        8) NAIF Generic Kernels . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) SEDR image data . . . . . . . . . . . . NOT CONFIGURED
       10) TYCHO2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       11) SAO star catalog . . . . . . . . . . . NOT CONFIGURED
           About 19 MB download, 70 MB unpacked
       12) GSC star catalog . . . . . . . . . . . NOT CONFIGURED
       13) UCAC4 star catalog . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
For more information, see
https://ppenteado.github.io/ominas_doc/demo/install_guide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  e
Setup has completed. It is recommended to restart your terminal session before using OMINAS.
You may want to try some of the tutorials at https://ppenteado.github.io/ominas_doc/demo/

Copied from original issue: ppenteado#8

@penteado-jpl
Copy link
Collaborator Author

From @ppenteado on June 5, 2017 18:11

And here is the output of a few tests after completing this installation:

[ominas_test_8@cmp ominas]$ which ominas
alias ominas='/home/ominas_test_8/.ominas/ominas'
        ~/.ominas/ominas
[ominas_test_8@cmp ominas]$ which ominasde
alias ominasde='/home/ominas_test_8/.ominas/ominasde'
        ~/.ominas/ominasde
[ominas_test_8@cmp ominas]$ cat ~/.ominas/ominas_setup.sh 
#!/usr/bin/env bash
alias ominas=~/.ominas/ominas
alias ominasde=~/.ominas/ominasde
export OMINAS_DIR=/home/ominas_test_8/ominas
export DFLAG=true
source /home/ominas_test_8/ominas/config/ominas_env_def.sh
unset NV_Generic_kernels_DATA
unset NV_SEDR_DATA
unset NV_TYCHO2_DATA
unset NV_SAO_DATA
unset NV_GSC_DATA
unset NV_UCAC4_DATA
[ominas_test_8@cmp ominas]$ ominas -e 'spawn,"env | grep NV"'
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

NV_TRANSLATORS=/home/ominas_test_8/ominas/config/tab/translators.tab:/home/ominas_test_8/ominas/demo/data/translators.tab
NV_CONFIG=/home/ominas_test_8/ominas/config
NV_IO=/home/ominas_test_8/ominas/config/tab/io.tab
NV_SPICE=/home/ominas_test_8/ominas/config/spice
NV_ORBIT_DATA=/home/ominas_test_8/ominas/config/orb/
NV_ARRAY_DATA=/home/ominas_test_8/ominas/config/arr/dat/
NV_TRANSFORMS=/home/ominas_test_8/ominas/config/tab/transforms.tab:/home/ominas_test_8/ominas/demo/data/transforms.tab
NV_STATION_DATA=/home/ominas_test_8/ominas/config/stn/
NV_RING_DATA=/home/ominas_test_8/ominas/config/rings/
NV_FTP_DETECT=/home/ominas_test_8/ominas/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/ominas_test_8/ominas/demo/data
NV_INS_DETECT=/home/ominas_test_8/ominas/config/tab/instrument_detectors.tab:/home/ominas_test_8/ominas/demo/data/instrument_detectors.tab
[ominas_test_8@cmp ominas]$ ominas -e 'print,pref_get("IDL_PATH")'
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

<IDL_DEFAULT>:+/home/ominas_test_8/ominas_data/idlastro/pro:+/home/ominas_test_8/ominas_data/icy/lib:+/home/ominas_test_8/ominas:+/home/ominas_test_8/ominas/util/xidl
[ominas_test_8@cmp ominas]$ ominas -e 'print,pref_get("IDL_DLM_PATH")'
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXX.
Licensed for use by: XXXXX

<IDL_DEFAULT>:+/home/ominas_test_8/ominas_data/icy/lib

@penteado-jpl
Copy link
Collaborator Author

From @ppenteado on June 14, 2017 21:9

I just pushed a new routine, ominas_env_info. It prints out (to the terminal, if called with no arguments, or to a file, if a filename is provided) the most commonly useful stuff for me to debug problems with the OMINAS envinronment. A typical use:

[user@cmp ~]$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXXXX.
Licensed for use by: XXXXXX

IDL> ominas_env_info,'~/ominas_env_info.txt'

Which produces

OMINAS variables:
OMINAS_RC=/home/user/.ominas
OMINAS_DEMO=/home/user/ominas/demo
OMINAS_DIR=/home/user/ominas
OMINAS_DATA=/home/user/ominas_data
--------------------------------------------------------------------------------
NV variables:
NV_TRANSLATORS=/home/user/ominas/config/tab/translators.tab:/home/user/ominas/demo/data/translators.tab
NV_CONFIG=/home/user/ominas/config
NV_IO=/home/user/ominas/config/tab/io.tab
NV_SPICE=/home/user/ominas/config/spice
NV_ORBIT_DATA=/home/user/ominas/config/orb/
NV_ARRAY_DATA=/home/user/ominas/config/arr/dat/
NV_TRANSFORMS=/home/user/ominas/config/tab/transforms.tab:/home/user/ominas/demo/data/transforms.tab
NV_STATION_DATA=/home/user/ominas/config/stn/
NV_RING_DATA=/home/user/ominas/config/rings/
NV_FTP_DETECT=/home/user/ominas/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/user/ominas/demo/data
NV_INS_DETECT=/home/user/ominas/config/tab/instrument_detectors.tab:/home/user/ominas/demo/data/instrument_detectors.tab
--------------------------------------------------------------------------------
ominas_setup.sh:
#!/usr/bin/env bash
alias ominas=~/.ominas/ominas
alias ominasde=~/.ominas/ominasde
export OMINAS_DIR=/home/user/ominas
export OMINAS_DATA=/home/user/ominas_data
export OMINAS_RC=/home/user/.ominas
export DFLAG=true
source /home/user/ominas/config/ominas_env_def.sh
unset NV_Generic_kernels_DATA
unset NV_SEDR_DATA
unset NV_TYCHO2_DATA
unset NV_SAO_DATA
unset NV_GSC_DATA
unset NV_UCAC4_DATA
--------------------------------------------------------------------------------

IDL:
** Structure !VERSION, 8 tags, length=104, data length=100:
   ARCH            STRING    'x86_64'
   OS              STRING    'linux'
   OS_FAMILY       STRING    'unix'
   OS_NAME         STRING    'linux'
   RELEASE         STRING    '8.5.1'
   BUILD_DATE      STRING    'Nov 14 2015'
   MEMORY_BITS     INT             64
   FILE_OFFSET_BITS
                   INT             64
--------------------------------------------------------------------------------
environment IDL_PATH

--------------------------------------------------------------------------------
environment IDL_DLM_PATH

--------------------------------------------------------------------------------
preferences IDL_PATH
<IDL_DEFAULT>:+/home/user/ominas_data/idlastro/pro:+/home/user/ominas:+/home/user/ominas/util/xidl:+/home/user/ominas_data/icy/lib
--------------------------------------------------------------------------------
preferences IDL_DLM_PATH
<IDL_DEFAULT>:+/home/user/ominas_data/icy/lib
--------------------------------------------------------------------------------

Icy:
--------------------------------------------------------------------------------
** ICY - IDL/CSPICE interface from JPL/NAIF (not loaded)
    Version: 1.8.0, Build Date: 05-JAN-2017, Source: ed.wright@jpl.nasa.gov
    Path: /home/user/ominas_data/icy/lib/icy.so
--------------------------------------------------------------------------------
CSPICE_N0066
--------------------------------------------------------------------------------
0 loaded kernels:
--------------------------------------------------------------------------------

OMINAS repository:
On branch master
Your branch is up-to-date with 'origin/master'.
Last commit:
b373f70 Paulo Penteado Wed Jun 14 14:03:42 2017 -0700

@mattietigges
Copy link

mattietigges commented Jan 25, 2018

I’m having trouble testing the installation of the basic ominas system

PROCEDURE:

; 1. Please ensure that OMINAS has been properly downloaded from the
; Github repository <https://github.com/nasa/ominas> by creating a
; directory for the installation and entering the following command at the terminal::

git clone https://github.com/nasa/ominas

; A local copy of the OMINAS source will be cloned automatically.

From here, I followed instructions from the PIRL wiki: https://pirlwww.lpl.arizona.edu/wiki/ominas_install

Here is what it looks like so far:

Icy: 
Running 'idl85' Setup..
*** This is IDL version 8.5 ***
*** Type "idl82" or "idl" for (default) IDL version 8.2 ***
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
mkdir: README.md: Not a directory
mkdir: configure.sh: Not a directory
OMINAS_TMP=
Running 'idl85' Setup..
*** This is IDL version 8.5 ***
*** Type "idl82" or "idl" for (default) IDL version 8.2 ***
/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: 
=============================================================================
        Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? 

; 4. Verify that the installation of the basic OMINAS system has been completed correctly
; by running the override example script from the demo/ directory (we recommend using a
; different terminal window rather than switching back-and-forth between demos and the installer)::

ominas override_example.pro

This is where I get the error message:

raga:../~ 16:55 % cd ominas/demo/
raga:../demo 16:55 % bash
bash-3.2$ ominas override_example.pro
/home/pirl/mdtigges/.ominas/ominas: line 103: syntax error near unexpected token `"$foo"'
/home/pirl/mdtigges/.ominas/ominas: line 103: `switch ("$foo")'

@ppenteado
Copy link

Hello,

Given what you posted and what is in the wiki, could you post the output of running, from a terminal,

/opt/local/sh/idl85

I expect this will start an IDL session. From that session, get the initial startup message (is it "*** This is IDL version 8.5 ***
*** Type "idl82" or "idl" for (default) IDL version 8.2 ***" ? Is that everything?)

and the outputs of

IDL>print,pref_get('IDL_DIR')
IDL>print,pref_get('IDL_PATH')
IDL>print,filepath('')
IDL>help,!version

Also, my guess is that /opt/local/sh/idl85 is a script doing something when starting IDL. Would it be possible to post the contents of /opt/local/sh/idl85 (if it is really a script, not a binary file)?

@ppenteado
Copy link

Hello,

I checked, and the problems come from the OMINAS setup script (configure.sh) not knowing how to handle the environment with the custom idl scripts (such as /opt/local/sh/idl and /opt/local/sh/idl85). I have a general fix to that in the works, but, in the meantime, here is a guide that allowed me to run OMINAS in a computer with that environment:

  1. Erase any potentially broken configuration files made by previous OMINAS installer runs that might have failed:

$ rm -vRf ~/.ominas/ ~/ominas_data

  1. If your ~/.bash_profile or ~/.bashrc file has a line
    . ~/.ominas/ominasrc
    remove it (from both .bashrc and .bash_profile), then exit the current bash shell (if any)

  2. Start a new bash shell, if not already in one

$bash

4a) If you do not have OMINAS downloaded: get it with
$git clone https://github.com/nasa/ominas

which will create a directory called ominas in the current directory (if one does not already exist; git will refuse to use an exisiting directory with something already in it)

4b) If you already have downloaded OMINAS, go into the directory where you put OMINAS (from Github), and make sure there are no modified files. In my case, I downloaded OMINAS into ~/ominas

$cd ~/ominas
$git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

If the status is not "clean", as above, and you are not familiar with how to make it clean using git, the simplest general way would be to remove/move/rename the entire ominas directory and download it again, with

$git clone https://github.com/nasa/ominas

  1. This is the key step to get the current configure.sh to understand what to do in the PIRL environment:

Choosing to use IDL 8.5, set
$ export IDL_DIR=/opt/rsi/idl_8.5/idl/

  1. Then, go into the OMINAS directory (in my case, ~/ominas) and run the setup script. From here on, the regular instructions on the install guide (https://nasa.github.io/ominas/guides/index.html) should work:

$ cd ~/ominas
$ source ./configure.sh

  1. If all works well, OMINAS should then be available from a bash shell, by using either

$ominas

or

$ominasde

to start it. You can start by running a demo, such as https://nasa.github.io/ominas/demo/pg_example-batch.html to test it.

I chose to let the installer set up my own copy of Icy, for now. I am looking into how to make the installer see the one already present at /opt/naif/icy automatically, if it is not already in the user's IDL_PATH and IDL_DLM_PATH.

@mattietigges
Copy link

Still unable to get ICY:

raga:../~ 12:09 % nedit .bash_profile 
raga:../~ 12:10 % nedit .bashrc 
raga:../~ 12:10 % bash
bash-3.2$ git clone https://github/nasa/ominas
Cloning into 'ominas'...
fatal: unable to access 'https://github/nasa/ominas/': Could not resolve host: github
bash-3.2$ git clone https://github.com/nasa/ominas
Cloning into 'ominas'...
remote: Counting objects: 29058, done.
remote: Compressing objects: 100% (121/121), done.
remote: Total 29058 (delta 97), reused 116 (delta 58), pack-reused 28878
Receiving objects: 100% (29058/29058), 354.35 MiB | 12.22 MiB/s, done.
Resolving deltas: 100% (21749/21749), done.
Checking out files: 100% (4623/4623), done.
bash-3.2$ cd ominas/
bash-3.2$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
bash-3.2$ cd
bash-3.2$ export IDL_DIR=/opt/rsi/idl_8.5/idl
bash-3.2$ cd ominas/
bash-3.2$ source ./configure.sh
Detecting .bash_profile...
.bash_profile detected!
Detecting .bashrc...
.bashrc detected!
IDL_DIR found, /opt/rsi/idl_8.5/idl, using it
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

Creating ~/.ominas directory
Creating ~/.ominas/config directory
config/ominas_env_def.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh
config/strcat/ominas_env_strcat.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_strcat.sh
config/cas/ominas_env_cas.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_cas.sh
config/dawn/ominas_env_dawn.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_dawn.sh
config/gll/ominas_env_gll.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_gll.sh
config/vgr/ominas_env_vgr.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_vgr.sh
Creating ~/ominas_data directory
Copying default grimrc to /home/pirl/mdtigges/.ominas
config/grimrc -> /home/pirl/mdtigges/.ominas/grimrc
Copying default Xdefaults-grim to /home/pirl/mdtigges/.ominas
config/Xdefaults-grim -> /home/pirl/mdtigges/.ominas/Xdefaults-grim
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh
The setup will guide you through the installation of OMINAS
More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html
OMINAS files located in /home/pirl/mdtigges/ominas
 
Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: 

==========================================================================
       
 Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh






done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

% Compiled module: OMINAS_PATHS_ADD.
Checking to see if IDL paths need to be changed...
% Compiled module: IDLASTRO_DOWNLOAD.
% Compiled module: ROUTINE_EXISTS.
There are missing IDLAstro routines:
cntrd not found
minmax not found
Auto installing
git clone https://github.com/wlandsman/IDLAstro.git /home/pirl/mdtigges/ominas_data/idlastro
Cloning into '/home/pirl/mdtigges/ominas_data/idlastro'...
remote: Counting objects: 1717, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 1717 (delta 9), reused 14 (delta 5), pack-reused 1696
Receiving objects: 100% (1717/1717), 11.71 MiB | 7.91 MiB/s, done.
Resolving deltas: 100% (787/787), done.
Checking out files: 100% (524/524), done.
IDLAstro path set in preferences: 
<IDL_DEFAULT>:+/home/pirl/mdtigges/ominas_data/idlastro/pro:+/home/pirl/mdtigges/ominas:+/home/pirl/mdtigges/ominas_data/icy/lib
OMINAS paths set in IDL preferences
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh






done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: 

==========================================================================
       
 Current OMINAS configuration settings
Required:
        1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
        4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
        5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
        6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? 

@penteado-jpl
Copy link
Collaborator Author

Hello,

Can you tell me the output of running ominas_env_info, from a OMINAS session. That is, doing something like

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX
Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION.
OMINAS version v1.0.0-70-gd492a
OMINAS> ominas_env_info

@mattietigges
Copy link

mattietigges commented Mar 13, 2018

bash-3.2$ ominas
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.0
OMINAS> OMINAS_ENV_INFO.
OMINAS version:
v1.0.0

--------------------------------------------------------------------------------

OMINAS variables:
OMINAS_RC=/home/pirl/mdtigges/.ominas
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
OMINAS_DEMO=/home/pirl/mdtigges/ominas/demo
OMINAS_DIR=/home/pirl/mdtigges/ominas
OMINAS_DATA=/home/pirl/mdtigges/ominas_data

--------------------------------------------------------------------------------

Demo variables:
DFLAG=true

--------------------------------------------------------------------------------

NV variables:
NV_TRANSLATORS=/home/pirl/mdtigges/ominas/config/tab/translators.tab:/home/pirl/mdtigges/ominas/demo/data/translators.tab
NV_CONFIG=/home/pirl/mdtigges/ominas/config
NV_IO=/home/pirl/mdtigges/ominas/config/tab/io.tab
NV_SPICE=/home/pirl/mdtigges/ominas/config/spice
NV_ORBIT_DATA=/home/pirl/mdtigges/ominas/config/orb/
NV_SAO_DATA=/home/pirl/mdtigges/ominas/demo/data/
NV_ARRAY_DATA=/home/pirl/mdtigges/ominas/config/arr/dat/
NV_TRANSFORMS=/home/pirl/mdtigges/ominas/config/tab/transforms.tab:/home/pirl/mdtigges/ominas/demo/data/transforms.tab
NV_STATION_DATA=/home/pirl/mdtigges/ominas/config/stn/dat/
NV_RING_DATA=/home/pirl/mdtigges/ominas/config/rings/
NV_FTP_DETECT=/home/pirl/mdtigges/ominas/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/pirl/mdtigges/ominas/demo/data
NV_INS_DETECT=/home/pirl/mdtigges/ominas/config/tab/instrument_detectors.tab:/home/pirl/mdtigges/ominas/demo/data/instrument_detectors.tab
PIRL_ENV_SET=1

--------------------------------------------------------------------------------

SPICE variables:
DEMO_SPICE_CK=/home/pirl/mdtigges/ominas/demo/data/kernels/ck/
DEMO_SPICE_SCK=/home/pirl/mdtigges/ominas/demo/data/kernels/sck/
DEMO_SPICE_SPK=/home/pirl/mdtigges/ominas/demo/data/kernels/spk/
DEMO_SPICE_LSK=/home/pirl/mdtigges/ominas/demo/data/kernels/lsk/
DEMO_SPICE_IK=/home/pirl/mdtigges/ominas/demo/data/kernels/ik/
DEMO_SPICE_PCK=/home/pirl/mdtigges/ominas/demo/data/kernels/pck/
DEMO_SPICE_FK=/home/pirl/mdtigges/ominas/demo/data/kernels/fk/
DEMO_SPICE_XK=/home/pirl/mdtigges/ominas/config/spice/
NV_SPICE_KER=::/home/pirl/mdtigges/ominas/demo/data

--------------------------------------------------------------------------------

PG variables:
PG_MAPS=

--------------------------------------------------------------------------------

IDL variables:
IDL_DIR=/opt/rsi/idl_8.5_with_envi_5.3/idl85

--------------------------------------------------------------------------------

ominas_setup.sh:
# !/usr/bin/env bash
# We recommend you do not edit this file
# It is automatically generated and overwritten by OMINAS' configure.sh
# If you need to add commands to be executed before starting OMINAS,
# we suggest placing them either in your ~/.bashrc or ~/.profile (in
# which case they will be executed before ~/.ominas/ominas_setup.sh), or
# in ~/.ominas/ominas_postsetup.sh (which is executed after ~/.ominas/ominas_setup.sh, 
# thus it can make use of other OMINAS variables).
# ~/.ominas/ominas_setup.sh is never overwritten by configure.sh

#The following line, to load the new Xdefaults definition, is commented to avoid problems in systems where xrdb is not available.
#If you would like to enable it, copy this line to you ~/.bashrc  /  ~/.bash_profile
#Uncommenting that line here n ominas_setup.sh is not recommended, as this file will be overwritten the next time you use configure.sh
#xrdb -merge /home/pirl/mdtigges/.ominas/Xdefaults-grim
export OMINAS_DIR=/home/pirl/mdtigges/ominas
export OMINAS_DATA=/home/pirl/mdtigges/ominas_data
export OMINAS_RC=/home/pirl/mdtigges/.ominas
export OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
if [ ! -w /var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas ]; then mkdir -p /var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas; fi
unset NV_Generic_kernels_DATA
export DFLAG=true
. /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh
if [ `echo "$NV_TYCHO2_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_TYCHO2_DATA; fi
if [ `echo "$NV_SAO_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_SAO_DATA; fi
if [ `echo "$NV_MAPS_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_MAPS_DATA; fi
if [ `echo "$NV_UCAC4_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_UCAC4_DATA; fi
if [ `echo "$NV_GSC_DATA" | grep -Eco "${OMINAS_DIR}/demo/data(/?)$"` == 0 ]; then unset NV_GSC_DATA; fi
export PG_MAPS=${NV_MAPS_DATA}
. ~/.ominas/ominas_postsetup.sh

--------------------------------------------------------------------------------

IDL:
** Structure !VERSION, 8 tags, length=104, data length=100:
   ARCH            STRING    'x86_64'
   OS              STRING    'darwin'
   OS_FAMILY       STRING    'unix'
   OS_NAME         STRING    'Mac OS X'
   RELEASE         STRING    '8.5'
   BUILD_DATE      STRING    'Jul  7 2015'
   MEMORY_BITS     INT             64
   FILE_OFFSET_BITS
                   INT             64

--------------------------------------------------------------------------------

IDL_DIR:/opt/rsi/idl_8.5_with_envi_5.3/idl85

--------------------------------------------------------------------------------

environment IDL_PATH

--------------------------------------------------------------------------------

environment IDL_DLM_PATH

--------------------------------------------------------------------------------
preferences IDL_PATH
<IDL_DEFAULT>:+/home/pirl/mdtigges/ominas_data/idlastro/pro:+/home/pirl/mdtigges/ominas:+/home/pirl/mdtigges/ominas_data/icy/lib

--------------------------------------------------------------------------------

preferences IDL_DLM_PATH
<IDL_DEFAULT>:+/home/pirl/mdtigges/ominas_data/icy/lib

--------------------------------------------------------------------------------

!path
/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/imsl:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/wavelet/data:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/wavelet/source:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/bridges:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/datatypes:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/obsolete:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/tasks:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/hook:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/dicomex:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/utilities:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/enterprise/ese:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools/ui_widgets:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools/framework:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools/components:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/itools:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib/graphics:/opt/rsi/idl_8.5_with_envi_5.3/idl85/lib:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo/demodata:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo/demoslideshows/slideshowsrc:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo/demosrc:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/demo:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/misc:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/mjpeg2000:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/imsl:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/data:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/widgets/wexmast:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/widgets:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/ogc/wms:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/ogc/wcs:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/HP_TIFF:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/dicom:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/image:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/signal:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/utilities:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/language:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/sdf:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/itools:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/file_io:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/plot:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/objects:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/bridges:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/widgets:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples/doc/shaders:/opt/rsi/idl_8.5_with_envi_5.3/idl85/examples:/opt/rsi/idl_8.5_with_envi_5.3/idl85/idlde/plugins/com.rsi.idldt_8.5.0/icons:/home/pirl/mdtigges/ominas_data/idlastro/pro:/home/pirl/mdtigges/ominas/test/bridge:/home/pirl/mdtigges/ominas/test:/home/pirl/mdtigges/ominas/nv/sys/event:/home/pirl/mdtigges/ominas/nv/sys/util:/home/pirl/mdtigges/ominas/nv/sys/state:/home/pirl/mdtigges/ominas/nv/grim/interface:/home/pirl/mdtigges/ominas/nv/grim/scripts:/home/pirl/mdtigges/ominas/nv/grim/tools:/home/pirl/mdtigges/ominas/nv/grim/dred:/home/pirl/mdtigges/ominas/nv/grim:/home/pirl/mdtigges/ominas/nv/obj/tools/icv:/home/pirl/mdtigges/ominas/nv/obj/tools/ipt:/home/pirl/mdtigges/ominas/nv/obj/tools/orb/old:/home/pirl/mdtigges/ominas/nv/obj/tools/orb:/home/pirl/mdtigges/ominas/nv/obj/tools/pht:/home/pirl/mdtigges/ominas/nv/obj/tools/composite:/home/pirl/mdtigges/ominas/nv/obj/tools:/home/pirl/mdtigges/ominas/nv/obj/stn:/home/pirl/mdtigges/ominas/nv/obj/plt:/home/pirl/mdtigges/ominas/nv/obj/sld:/home/pirl/mdtigges/ominas/nv/obj/arr:/home/pirl/mdtigges/ominas/nv/obj/cam:/home/pirl/mdtigges/ominas/nv/obj/bod:/home/pirl/mdtigges/ominas/nv/obj/str:/home/pirl/mdtigges/ominas/nv/obj/rng:/home/pirl/mdtigges/ominas/nv/obj/cor:/home/pirl/mdtigges/ominas/nv/obj/glb:/home/pirl/mdtigges/ominas/nv/obj/dsk:/home/pirl/mdtigges/ominas/nv/obj/map:/home/pirl/mdtigges/ominas/nv/obj/pnt:/home/pirl/mdtigges/ominas/nv/obj/dat/dh/util:/home/pirl/mdtigges/ominas/nv/obj/dat/dh:/home/pirl/mdtigges/ominas/nv/obj/dat:/home/pirl/mdtigges/ominas/nv/com/pg:/home/pirl/mdtigges/ominas/omin:/home/pirl/mdtigges/ominas/docs_src:/home/pirl/mdtigges/ominas/bat:/home/pirl/mdtigges/ominas/demo/defunct:/home/pirl/mdtigges/ominas/demo:/home/pirl/mdtigges/ominas/util/dd:/home/pirl/mdtigges/ominas/util/p:/home/pirl/mdtigges/ominas/util/idl_parse:/home/pirl/mdtigges/ominas/util/data_archive:/home/pirl/mdtigges/ominas/util/colormap:/home/pirl/mdtigges/ominas/util/abbrev:/home/pirl/mdtigges/ominas/util/ct:/home/pirl/mdtigges/ominas/util/const:/home/pirl/mdtigges/ominas/util/image_interp:/home/pirl/mdtigges/ominas/util/str:/home/pirl/mdtigges/ominas/util/tvgr:/home/pirl/mdtigges/ominas/util/downloader:/home/pirl/mdtigges/ominas/util/w10n:/home/pirl/mdtigges/ominas/util/set:/home/pirl/mdtigges/ominas/util/v:/home/pirl/mdtigges/ominas/util/tvim:/home/pirl/mdtigges/ominas/util/tag_list:/home/pirl/mdtigges/ominas/util/gen:/home/pirl/mdtigges/ominas/util/vims_src_tmp:/home/pirl/mdtigges/ominas/util:/home/pirl/mdtigges/ominas/config/orb:/home/pirl/mdtigges/ominas/config/strcat/defunct/ucac4:/home/pirl/mdtigges/ominas/config/strcat/defunct/tycho:/home/pirl/mdtigges/ominas/config/strcat/defunct/gsc2:/home/pirl/mdtigges/ominas/config/strcat/defunct/gsc:/home/pirl/mdtigges/ominas/config/strcat/defunct/ucact:/home/pirl/mdtigges/ominas/config/strcat/defunct/sao:/home/pirl/mdtigges/ominas/config/strcat/tycho2:/home/pirl/mdtigges/ominas/config/strcat/common/old:/home/pirl/mdtigges/ominas/config/strcat/common:/home/pirl/mdtigges/ominas/config/strcat:/home/pirl/mdtigges/ominas/config/timer:/home/pirl/mdtigges/ominas/config/rings:/home/pirl/mdtigges/ominas/config/pds4/code/browse:/home/pirl/mdtigges/ominas/config/pds4/code:/home/pirl/mdtigges/ominas/config/pds4:/home/pirl/mdtigges/ominas/config/vgr/old:/home/pirl/mdtigges/ominas/config/vgr/iss/old:/home/pirl/mdtigges/ominas/config/vgr/iss:/home/pirl/mdtigges/ominas/config/vgr/detectors:/home/pirl/mdtigges/ominas/config/vgr:/home/pirl/mdtigges/ominas/config/gll/ssi:/home/pirl/mdtigges/ominas/config/gll/detectors:/home/pirl/mdtigges/ominas/config/gll:/home/pirl/mdtigges/ominas/config/sedr/create:/home/pirl/mdtigges/ominas/config/sedr:/home/pirl/mdtigges/ominas/config/w10n_pds:/home/pirl/mdtigges/ominas/config/ext:/home/pirl/mdtigges/ominas/config/mask:/home/pirl/mdtigges/ominas/config/util:/home/pirl/mdtigges/ominas/config/fits:/home/pirl/mdtigges/ominas/config/spice/icy/bug:/home/pirl/mdtigges/ominas/config/spice/icy:/home/pirl/mdtigges/ominas/config/spice/gen/defunct:/home/pirl/mdtigges/ominas/config/spice/gen:/home/pirl/mdtigges/ominas/config/spice:/home/pirl/mdtigges/ominas/config/detectors:/home/pirl/mdtigges/ominas/config/vicar:/home/pirl/mdtigges/ominas/config/pds/Readpds_4.4:/home/pirl/mdtigges/ominas/config/pds:/home/pirl/mdtigges/ominas/config/cas/uvis:/home/pirl/mdtigges/ominas/config/cas/radar:/home/pirl/mdtigges/ominas/config/cas/detectors:/home/pirl/mdtigges/ominas/config/cas/iss/old:/home/pirl/mdtigges/ominas/config/cas/iss:/home/pirl/mdtigges/ominas/config/cas/vims/defunct:/home/pirl/mdtigges/ominas/config/cas/vims:/home/pirl/mdtigges/ominas/config/cas:/home/pirl/mdtigges/ominas/config/arr:/home/pirl/mdtigges/ominas/config/dawn/detectors:/home/pirl/mdtigges/ominas/config/dawn:/home/pirl/mdtigges/ominas/config/vgr_cd:/home/pirl/mdtigges/ominas/config/stn:/home/pirl/mdtigges/ominas/config/isis:/home/pirl/mdtigges/ominas/config/trk:/home/pirl/mdtigges/ominas/config/include:/home/pirl/mdtigges/ominas/config/occ:/home/pirl/mdtigges/ominas/config/tdl:/home/pirl/mdtigges/ominas/config/multi:/home/pirl/mdtigges/ominas/config/gff

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

LD_LIBRARY_PATH:

DYLD_LIBRARY_PATH:
/opt/rsi/idl_8.5_with_envi_5.3/idl85/bin/bin.darwin.x86_64

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

IDLAstro routines:
% Compiled module: FILE_WHICH.
cntrd:/home/pirl/mdtigges/ominas_data/idlastro/pro/cntrd.pro
minmax:/home/pirl/mdtigges/ominas_data/idlastro/pro/minmax.pro

--------------------------------------------------------------------------------

No IDL_STARTUP set

--------------------------------------------------------------------------------

OMINAS repository:
On branch master
Your branch is up to date with 'origin/master'.
Last commit:
1bf01164 Paulo Penteado Thu Dec 21 00:11:10 2017 -0800

Icy:

--------------------------------------------------------------------------------

% Unknown dynamically loadable module: icy.

--------------------------------------------------------------------------------
Not found
OMINAS> 

@RichardGFrench
Copy link

I'm trying to install ominas on MAC OS X - at the stage of getting Cassini spice kernels, I keep getting the following error: TZ=UTC: Command not found.

Do you need to download the Cassini kernels from PDS? [y]y
Please enter the location where the downloaded Cassini kernel pool will be placed: [~/ominas_data/Cassini]
This script will download a subset of kernels from the PDS Cassini archive (http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/. As of November/2016, this adds to 16GB.
Continue?[y]
http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/fk/ --localdir=/Users/rfrench/ominas_data/Cassini/fk/ --absolute --timestamps=/Users/rfrench/.ominas/timestamps/ /Users/rfrench/ominas_data/Cassini -lm --quiet=1

IDL 8.7.0 (darwin x86_64 m64).
(c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College
License: MNT-5509101:--****-D3A9
Creating directory /Users/rfrench/ominas_data/Cassini/fk/
downloading http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/fk/
downloading http://naif.jpl.nasa.gov/pub/naif/CASSINI/kernels/fk/
downloading aareadme.txt
TZ=UTC: Command not found.
downloading cas_rocks_v02.tf
TZ=UTC: Command not found.
downloading cas_rocks_v03.tf
TZ=UTC: Command not found.

@RichardGFrench
Copy link

I'm trying to run the demos - none of them seem to work. I get the following error messages:

2061 rfrench@achilles> pwd
/Users/rfrench/Dropbox/ominas-master
2062 rfrench@achilles> cd demo
2063 rfrench@achilles> ls
cas_radar_example.pro graphics multiinstrument_example.pro tiepoints_example-batch.pro
cas_vims_example.pro grift_example-batch.pro multimission_example-batch.pro vgr_distortion_cp_example-batch.pro
data grim_example-batch.pro outputs vgr_distortion_pn_example-batch.pro
defunct map_disk_example-batch.pro override_example-batch.pro
eclipse_example-batch.pro map_globe_example-batch.pro pg_example-batch.pro
graft_example-batch.pro mosaic_example-batch.pro predict_example-batch.pro
2064 rfrench@achilles> idl
IDL 8.7.0 (darwin x86_64 m64).
(c) 2018, Harris Geospatial Solutions, Inc.

Licensed for use by: Wellesley College
License: MNT-5509101:--****-D3A9
IDL> @grim_example-batch.pro
% Variable is undefined: DAT_READ.
% Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'.
% Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'.
% Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'.
% Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'.
% Execution halted at: $MAIN$
% Attempt to call undefined procedure: 'GRIM'.
% Execution halted at: $MAIN$
=== Auto-example complete. Use cut & paste to continue.
% Prematurely closing batch file: /Users/rfrench/Dropbox/ominas-master/demo/grim_example-batch.pro.
IDL> .run cas_radar_example.pro
SAR file needed for the demo not found. Downloading it from PDS...
% Attempt to call undefined function: 'PP_WGET'.
% Execution halted at: $MAIN$ 68 /Users/rfrench/Dropbox/ominas-master/demo/cas_radar_example.pro
IDL> .run cas_vims_example.pro
% Attempt to call undefined function: 'DAT_READ'.
% Execution halted at: $MAIN$ 54 /Users/rfrench/Dropbox/ominas-master/demo/cas_vims_example.pro
IDL> .run multiinstrument_example.pro
SAR file needed for the demo not found. Downloading it from PDS...
% Attempt to call undefined function: 'PP_WGET'.
% Execution halted at: $MAIN$ 84 /Users/rfrench/Dropbox/ominas-master/demo/multiinstrument_example.pro

@penteado-jpl
Copy link
Collaborator Author

Hello Richard,

What you posted suggests you were trying to run OMINAS code from a regular IDL session. That is, an IDL session started with either the idl or idlde command. OMINAS uses it own IDL startup script, called ominas (command line) / ominasde (for the IDLDE), which sets up paths and environment variables needed for OMINAS. One indicator that you are in an OMINAS IDL session is the different prompt. Ex:

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX.
Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.0-75-g03b074
OMINAS> 

The OMINAS IDL session should work like a regular IDL session, any other regular IDL code would still be functional in the same way. The OMINAS script just takes care of setting up the environment OMINAS needs, based on the configuration files made by the installer (configure.sh).

Paulo

@RichardGFrench
Copy link

RichardGFrench commented Mar 19, 2018 via email

@penteado-jpl
Copy link
Collaborator Author

Hello,

Indeed, setting the demo package to configured causes all the mission packages to be set to not configured. This is because the demo package contains a small set of kernels, those needed to run the demos, so that the user does not need to setup any mission packages to run the examples. The demo package causes OMINAS to use only the demo kernels, and that is the reason it sets any mission packages to unconfigured, and vice-versa. All examples can be run having just core, demo and Icy setup. In addition, the examples relative to one mission can also be run when that mission's package is setup.

Note that when a mission package is unconfigured because demo was configured, the kernel files are not deleted. This is so that one can quickly switch between using demo and using mission packages, by running configure.sh.

So, to run the Cassini demos, you can either have just demo configured, or have Cassini configured.

Now, to figure out why the demos are not working, can you tell me

  1. Which you currently have configured. This can be seen by running configure.sh, it will show the current state.

  2. The output of ominas_env_info, called from an OMINAS IDL session, as in

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX.
Licensed for use by: XXXX,

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.0-74-gb399
OMINAS> ominas_env_info
% Compiled module: OMINAS_ENV_INFO.
OMINAS version:
v1.0.0-74-gb399
--------------------------------------------------------------------------------
OMINAS variables:
OMINAS_RC=/home/penteado/.ominas
OMINAS_TMP=/usr/tmp/_penteado_ominas
OMINAS_DEMO=/home/penteado/ominas/github_new/demo
OMINAS_DIR=/home/penteado/ominas/github_new
PYOMINAS_DIR=/home/penteado/ominas/pyominas
OMINAS_CF=/home/penteado/ominas/github_new/util/downloader/ca-bundle.crt
OMINAS_LDP=
OMINAS_DATA=/home/penteado/ominas_data
--------------------------------------------------------------------------------
Demo variables:
DFLAG=true
--------------------------------------------------------------------------------
NV variables:
NV_TRANSLATORS=/home/penteado/ominas/github_new/config/tab/translators.tab:/home/penteado/ominas/github_new/demo/data/translators.tab
NV_CONFIG=/home/penteado/ominas/github_new/config
NV_IO=/home/penteado/ominas/github_new/config/tab/io.tab
NV_SPICE=/home/penteado/ominas/github_new/config/spice
NV_ORBIT_DATA=/home/penteado/ominas/github_new/config/orb/
NV_SAO_DATA=/home/penteado/ominas/github_new/demo/data/
NV_ARRAY_DATA=/home/penteado/ominas/github_new/config/arr/dat/
NV_TRANSFORMS=/home/penteado/ominas/github_new/config/tab/transforms.tab:/home/penteado/ominas/github_new/demo/data/transforms.tab
NV_STATION_DATA=/home/penteado/ominas/github_new/config/stn/dat/
NV_RING_DATA=/home/penteado/ominas/github_new/config/rings/
NV_FTP_DETECT=/home/penteado/ominas/github_new/config/tab/filetype_detectors.tab
NV_SPICE_KER=::/home/penteado/ominas/github_new/demo/data
NV_INS_DETECT=/home/penteado/ominas/github_new/config/tab/instrument_detectors.tab:/home/penteado/ominas/github_new/demo/data/instrument_detectors.tab
--------------------------------------------------------------------------------
SPICE variables:
DEMO_SPICE_CK=/home/penteado/ominas/github_new/demo/data/kernels/ck/
DEMO_SPICE_SCK=/home/penteado/ominas/github_new/demo/data/kernels/sck/
DEMO_SPICE_SPK=/home/penteado/ominas/github_new/demo/data/kernels/spk/
DEMO_SPICE_LSK=/home/penteado/ominas/github_new/demo/data/kernels/lsk/
DEMO_SPICE_IK=/home/penteado/ominas/github_new/demo/data/kernels/ik/
DEMO_SPICE_PCK=/home/penteado/ominas/github_new/demo/data/kernels/pck/
DEMO_SPICE_FK=/home/penteado/ominas/github_new/demo/data/kernels/fk/
DEMO_SPICE_XK=/home/penteado/ominas/github_new/config/spice/
NV_SPICE_KER=::/home/penteado/ominas/github_new/demo/data
--------------------------------------------------------------------------------
PG variables:
PG_MAPS=
--------------------------------------------------------------------------------
IDL variables:
IDL_DIR=/usr/local/exelis/idl85
--------------------------------------------------------------------------------
ominas_setup.sh:
 ...

@penteado-jpl
Copy link
Collaborator Author

Hello all,

I just pushed an update that should fix both the Icy not getting installed issue (reported by @mattietigges) and the TZ=UTC errors (reported by @RichardGFrench). Thank you both for catching those.

So, if you update the code, by doing a

$git pull

from your main OMINAS directory (the same where configure.sh lives), you should get the update. In case you are wondering if you got it or not, you can see it when starting OMINAS:

$ ominas
IDL Version 8.5.1 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: XXXX.
Licensed for use by: XXXX

% Compiled module: OMINAS_VERSION.
OMINAS version  v1.0.1

Or, at any time in an OMINAS IDL session:

OMINAS> print,ominas_version()
v1.0.1

Once you have the update, I suggest trying again the installer. In the case of those using the PIRL environment, note that you will still need to be in a bash shell (not the PIRL default), and do something like

$export IDL_DIR=/opt/rsi/idl_8.5/idl/

Before running configure.sh, as noted above (#6 (comment)). I have a partially working update that will remove that need, but that is not finished yet.

Paulo

@RichardGFrench
Copy link

RichardGFrench commented Mar 19, 2018 via email

@penteado-jpl
Copy link
Collaborator Author

Hello Richard,

The directory name, /Users/rfrench/Dropbox/ominas-master, suggests it was made from the zip file, instead of setup through git (doing a git clone https://github.com/nasa/ominas). When git populates a directory from a repository, it creates a directory .git, which is where it keeps the files it needs to work. That error message indicates the .git directory is not present, which is what happens when the zip file is used instead of doing a git clone.

In that case, the two simplest options to get updates are

  1. Delete / move the current /Users/rfrench/Dropbox/ominas-master, then download the zip again (the zip file from Github always has the current version) and extract it. The reason not to simply extract the zip over the current directory is that some updates might include removing or moving old files.

  2. Delete / move the current /Users/rfrench/Dropbox/ominas-master, then use git to create a new directory,
    $git clone https://github.com/nasa/ominas
    Once that is done, any future updates will be obtainable by doing a git pull.

@RichardGFrench
Copy link

RichardGFrench commented Mar 19, 2018 via email

@penteado-jpl
Copy link
Collaborator Author

Can you send me the output of running ominas_env_info, from an OMINAS IDL session?

Thanks,

Paulo

@RichardGFrench
Copy link

RichardGFrench commented Mar 19, 2018 via email

@mattietigges
Copy link

We tried installing packages 1 2 and 3 and this is the output:

IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Unknown directive "user:FFFFEEEE-DDDD-CCCC-BBBB-AAAA00000059:_spotlight:89:al
low,inherited:read,execute,readattr,readextattr,readsecurity" on line 2 of
dynamically loadable module definition file:
/home/pirl/mdtigges/ominas_data/icy/lib/._icy.dlm.
Dynamically loadable module definition file lacks a MODULE directive:
/home/pirl/mdtigges/ominas_data/icy/lib/._icy.dlm.
Segmentation fault: 11

@mattietigges
Copy link

Hey Paulo, still no luck with Icy. I logged out of my account after wiping everything, logged back in and tried installing. Here's what I got

raga:../~ 15:43 % bash
bash-3.2$ git clone https://github.com/nasa/ominas
Cloning into 'ominas'...
remote: Counting objects: 30158, done.
remote: Compressing objects: 100% (1033/1033), done.
remote: Total 30158 (delta 331), reused 1080 (delta 238), pack-reused 28878
Receiving objects: 100% (30158/30158), 415.93 MiB | 13.40 MiB/s, done.
Resolving deltas: 100% (21983/21983), done.
Checking out files: 100% (4623/4623), done.
bash-3.2$ cd ominas/
bash-3.2$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
bash-3.2$ export IDL_DIR=/opt/rsi/idl_8.5/idl/
bash-3.2$ source ./configure.sh 
Detecting .bash_profile...
.bash_profile detected!
Detecting .bashrc...
.bashrc detected!
IDL_DIR found, /opt/rsi/idl_8.5/idl/, using it
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

Creating ~/.ominas directory
Creating ~/.ominas/config directory
config/ominas_env_def.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh
config/strcat/ominas_env_strcat.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_strcat.sh
config/cas/ominas_env_cas.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_cas.sh
config/dawn/ominas_env_dawn.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_dawn.sh
config/gll/ominas_env_gll.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_gll.sh
config/vgr/ominas_env_vgr.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_vgr.sh
Creating ~/ominas_data directory
Copying default grimrc to /home/pirl/mdtigges/.ominas
config/grimrc -> /home/pirl/mdtigges/.ominas/grimrc
Copying default Xdefaults-grim to /home/pirl/mdtigges/.ominas
config/Xdefaults-grim -> /home/pirl/mdtigges/.ominas/Xdefaults-grim
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh
The setup will guide you through the installation of OMINAS
More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html
OMINAS files located in /home/pirl/mdtigges/ominas
 
Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: <IDL_DEFAULT>:+~/projects:+~/ominas_pro
=============================================================================
	Current OMINAS configuration settings
Required:
	1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
	4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
	5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
	6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
Settiing OMINAS Core...
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh






done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
IDL Version 8.5, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
Installation number: 219862.
Licensed for use by: HiRISE Co-i Workstation

% Compiled module: OMINAS_PATHS_ADD.
Checking to see if IDL paths need to be changed...
% Compiled module: IDLASTRO_DOWNLOAD.
% Compiled module: ROUTINE_EXISTS.
There are missing IDLAstro routines:
cntrd not found
minmax not found
Auto installing
git clone https://github.com/wlandsman/IDLAstro.git /home/pirl/mdtigges/ominas_data/idlastro
Cloning into '/home/pirl/mdtigges/ominas_data/idlastro'...
remote: Counting objects: 1721, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 1721 (delta 11), reused 15 (delta 5), pack-reused 1696
Receiving objects: 100% (1721/1721), 11.71 MiB | 9.11 MiB/s, done.
Resolving deltas: 100% (789/789), done.
Checking out files: 100% (524/524), done.
IDLAstro path set in IDL_PATH: 
<IDL_DEFAULT>:+~/projects:+~/ominas_pro:+/home/pirl/mdtigges/ominas_data/idlastro/pro
OMINAS paths added to IDL_PATH
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh






done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
Icy: Icy not found
OMINAS_TMP=/var/folders/zz/zyxvpxvq6csfxvn_n0000lj00004w8/T/_mdtigges_ominas
IDL_PATH: <IDL_DEFAULT>:+~/projects:+~/ominas_pro:+/home/pirl/mdtigges/ominas_data/idlastro/pro:+/home/pirl/mdtigges/ominas
=============================================================================
	Current OMINAS configuration settings
Required:
	1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED
           Contains the OMINAS code. If you select only one 
           of the other packages, this will be included.
Optional packages:
        2) Demo package . . . . . . . . . . . . .  CONFIGURED
           Contains the demo scripts and the data required 
           to run then.
           These files are always present (in ominas/demo), 
           this option is to set up the environment so that
           the demos can be run.
        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED
           Library maintained by JPL's NAIF (Navigation and Ancillary
           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,
           required to use spacecraft / planetary kernel files.

Mission Packages:
           Kernels used for each mission's position and 
           pointing data. If you do not already have them,
           an option to download them from PDS will be provided.
           If you already have them, you will need to provide
           the path to your kernel files.
           Note: the NAIF Generic Kernels (one of the optional 
           data packages) are not required for the missions, they
           already contain a copy the subset of the generic kernel
           files they need.
	4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED
           Subsetted, about 16 GB as of Dec/2016
	5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED
           About 833 MB as of Dec/2016
	6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED
           About 163 MB as of Dec/2016
Data:
        8) NAIF Generic Kernels  . . . . . . . . .  NOT CONFIGURED
           About 22 GB as of Dec/2016
        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED
           About 161 MB download, 665 MB unpacked
       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED
           Already provided with OMINAS, no download needed
       11) Maps
           Map library created for use with OMINAS NOT CONFIGURED
           About 813 MB as of August/2017
       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED
           About 8.5 GB download
       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED

For more information, see
https://nasa.github.io/ominas/guides/userguide.html
Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?

@mattietigges
Copy link

This error occurred today when installing packages 1 and 2 on the dev branch (in Pirl)

done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

Running 'idl' Setup..
*** This is IDL version 8.2 ***
*** Type "idl71" or "idl-" for IDL version 7.1 ***
*** Type "idl85" or "idl+" for IDL version 8.5 ***
dyld: Symbol not found: _inflateReset2
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
  Expected in: /opt/rsi/idl_8.2_SP1/idl/bin/bin.darwin.x86_64/libz.1.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
Abort trap: 6
/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/idlpath.sh
writing /home/pirl/mdtigges/.ominas/ominas_setup.sh
/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

@mattietigges
Copy link

Hi Paulo, looks like there are some issues concerning IDL.

raga:../~ 04:06:10 $ export IDL_DIR=/opt/rsi/idl_8.7/idl/

raga:../~ 04:06:23 $ git clone https://github.com/nasa/ominas

Cloning into 'ominas'...

remote: Counting objects: 30449, done.

remote: Compressing objects: 100% (184/184), done.

remote: Total 30449 (delta 156), reused 174 (delta 98), pack-reused 30166

Receiving objects: 100% (30449/30449), 415.99 MiB | 13.36 MiB/s, done.

Resolving deltas: 100% (22403/22403), done.

Checking out files: 100% (4682/4682), done.

raga:../~ 04:07:51 $ cd ominas/

/home/pirl/mdtigges/ominas

raga:../ominas 04:08:38 $ git status

On branch master

Your branch is up to date with 'origin/master'.



nothing to commit, working tree clean

raga:../ominas 04:09:01 $ source configure.sh

Detecting .bash_profile...

.bash_profile detected!

Detecting .bashrc...

.bashrc detected!

IDL_DIR found, /opt/rsi/idl_8.7/idl/, using it

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

Unable to obtain an IDL license.

Creating ~/.ominas directory

Creating ~/.ominas/config directory

config/ominas_env_def.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_def.sh

config/strcat/ominas_env_strcat.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_strcat.sh

config/cas/ominas_env_cas.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_cas.sh

config/dawn/ominas_env_dawn.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_dawn.sh

config/gll/ominas_env_gll.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_gll.sh

config/vgr/ominas_env_vgr.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_vgr.sh

config/juno/ominas_env_juno.sh -> /home/pirl/mdtigges/.ominas/config/ominas_env_juno.sh

Creating ~/ominas_data directory

Copying default grimrc to /home/pirl/mdtigges/.ominas

config/grimrc -> /home/pirl/mdtigges/.ominas/grimrc

Copying default Xdefaults-grim to /home/pirl/mdtigges/.ominas

config/Xdefaults-grim -> /home/pirl/mdtigges/.ominas/Xdefaults-grim

/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh

The setup will guide you through the installation of OMINAS

More help is in the Install Guide, at https://nasa.github.io/ominas/guides/userguide.html

OMINAS files located in /home/pirl/mdtigges/ominas

 

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

Icy: 

usage: mkdir [-pv] [-m mode] directory ...

OMINAS_TMP=

IDL_PATH: 

=============================================================================

	Current OMINAS configuration settings

Required:

	1) OMINAS Core  . . . . . . . . . . . . .  NOT CONFIGURED

           Contains the OMINAS code. If you select only one 

           of the other packages, this will be included.

Optional packages:

        2) Demo package . . . . . . . . . . . . .  NOT CONFIGURED

           Contains the demo scripts and the data required 

           to run then.

           These files are always present (in ominas/demo), 

           this option is to set up the environment so that

           the demos can be run.

        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED

           Library maintained by JPL's NAIF (Navigation and Ancillary

           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,

           required to use spacecraft / planetary kernel files.



Mission Packages:

           Kernels used for each mission's position and 

           pointing data. If you do not already have them,

           an option to download them from PDS will be provided.

           If you already have them, you will need to provide

           the path to your kernel files.

           Note: the NAIF Generic Kernels (one of the optional 

           data packages) are not required for the missions, they

           already contain a copy the subset of the generic kernel

           files they need.

	4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 16 GB as of Dec/2016

	5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED

           About 833 MB as of Dec/2016

	6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED

           About 163 MB as of Dec/2016

        7) Juno  . . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 22 GB as of Feb/2018

Data:

        8) NAIF Generic Kernels  . . . . . . . . . NOT CONFIGURED

           About 22 GB as of Dec/2016

        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED

           About 161 MB download, 665 MB unpacked

       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED

           Already provided with OMINAS, no download needed

       11) Maps

           Map library created for use with OMINAS NOT CONFIGURED

           About 813 MB as of August/2017

       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED

           About 8.5 GB download

       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED



For more information, see

https://nasa.github.io/ominas/guides/userguide.html

Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)?  1 2 3

OMINAS requires the NAIF Icy toolkit to process SPICE kernels.

Would you like to install Icy from the internet now? [y]y

http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/MacIntel_OSX_AppleC_IDL8.x_64bit/packages/icy.tar.Z

http://naif.jpl.nasa.gov/pub/naif/toolkit//IDL/MacIntel_OSX_AppleC_IDL8.x_64bit/packages/icy.tar.Z --localdir=



(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

Unable to obtain an IDL license.

Extracting Icy source files...

-bash: cd: icy: No such file or directory

Trying to use precompiled binaries...

Precompiled binary failed: 

Trying to build Icy...

Icy compiled. Log is at ~/.ominas/icy_make.log

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

Settiing OMINAS Core...

writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh













done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

(null): [1,7E1,8,0[73000041,D,400703F3]]

Failed file open. : Failed file open. (code : 1929379905) (cll_internal.cpp : 498) (code : 1929379905) (CLLFloatingLicenseThread.cpp : 473)

CLLFloatingLicenseInitialize failed to start the license thread.

Unable to obtain an IDL license.

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/idlpath.sh

writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/.ominas/ominas_setup.sh -> /home/pirl/mdtigges/.ominas/ominas_setup_old.sh













done with writing /home/pirl/mdtigges/.ominas/ominas_setup.sh

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

-bash: /home/pirl/mdtigges/.bashrc: Permission denied

-bash: /home/pirl/mdtigges/.bash_profile: Permission denied

/home/pirl/mdtigges/ominas /home/pirl/mdtigges/.ominas/ominas_setup.sh

Icy: 

usage: mkdir [-pv] [-m mode] directory ...

OMINAS_TMP=

IDL_PATH: 

=============================================================================

	Current OMINAS configuration settings

Required:

	1) OMINAS Core  . . . . . . . . . . . . .  CONFIGURED

           Contains the OMINAS code. If you select only one 

           of the other packages, this will be included.

Optional packages:

        2) Demo package . . . . . . . . . . . . .  CONFIGURED

           Contains the demo scripts and the data required 

           to run then.

           These files are always present (in ominas/demo), 

           this option is to set up the environment so that

           the demos can be run.

        3) SPICE Icy  . . . . . . . . . . . . . .  NOT CONFIGURED

           Library maintained by JPL's NAIF (Navigation and Ancillary

           Information Facility, https://naif.jpl.nasa.gov/naif/toolkit.html,

           required to use spacecraft / planetary kernel files.



Mission Packages:

           Kernels used for each mission's position and 

           pointing data. If you do not already have them,

           an option to download them from PDS will be provided.

           If you already have them, you will need to provide

           the path to your kernel files.

           Note: the NAIF Generic Kernels (one of the optional 

           data packages) are not required for the missions, they

           already contain a copy the subset of the generic kernel

           files they need.

	4) Cassini . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 16 GB as of Dec/2016

	5) Galileo (GLL) . . . . . . . . . . . . . NOT CONFIGURED

           About 833 MB as of Dec/2016

	6) Voyager . . . . . . . . . . . . . . . . NOT CONFIGURED

           About 163 MB as of Dec/2016

        7) Juno  . . . . . . . . . . . . . . . . . NOT CONFIGURED

           Subsetted, about 22 GB as of Feb/2018

Data:

        8) NAIF Generic Kernels  . . . . . . . . . NOT CONFIGURED

           About 22 GB as of Dec/2016

        9) Tycho2 star catalog . . . . . . . . . . NOT CONFIGURED

           About 161 MB download, 665 MB unpacked

       10) SAO star catalog  . . . . . . . . . . . NOT CONFIGURED

           Already provided with OMINAS, no download needed

       11) Maps

           Map library created for use with OMINAS NOT CONFIGURED

           About 813 MB as of August/2017

       12) UCAC4 star catalog  . . . . . . . . . . NOT CONFIGURED

           About 8.5 GB download

       13) GSC star catalog  . . . . . . . . . . . NOT CONFIGURED



For more information, see

https://nasa.github.io/ominas/guides/userguide.html

Modify Current OMINAS configuration (Exit/Auto/Uninstall 1 2 ...)? 

After the install, I tried

ominas override_example-batch.pro

and got the error

-bash: ominas: command not found

I checked that the file ominas exists in the ~/.ominas/ directory and it was there so I went into the .ominas directory and attempted to run ominas from there

raga:../demo 04:43:02 $ cd ~/.ominas/
raga:../.ominas 04:46:08 $ ominas
-bash: ominas: command not found

@ppenteado
Copy link

Hello,

The problem with a license not being found could be due to the use of IDL 8.7 - the installer will look for the highest IDL version it can find, and use it by default. Since IDL 8.7 uses a different license server than versions up to 8.5. So, my suggestion is first to try to run IDL 8.7 from the command line, and see if the license issue is resolved. If not, you can try to use the license server for older versions, by setting IDL_DIR, as mentioned above. For instance, to use IDL 8.5:

$export IDL_DIR=/opt/rsi/idl_8.5/idl/

This will suppress the auto detection, and will cause the installer to use 8.5.

Let me know how it goes.

@mattietigges
Copy link

Icy won't configure using IDL 8.7, but I did have success using 8.5. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants