Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Getting ready

Install software

Note: Windows has not been tested yet

SoftwareOS XLinux
Python

Install https://www.python.org/downloads/release/python-2711/

Should be preinstalled. Test with 

Code Block
languagebash
python --version

Otherwise check here.

PIP (Python installer)

PIP is shipped with Python 2.7.9+ and Python 3.4+.

Code Block
languagebash
pip --version

If you don't have it follow https://pip.pypa.io/en/stable/installing/

Python IDEWe suggest PyCharm, but any text editor or Spyder will work as well.
IDL

You can use your normal IDL setup to access data and prototype your algorithms.

Note: We do not support execution of IDL code on our cluster due to licensing issues. Let us know if this is a problem.

Please avoid SolarSoft/SSW-specific functionality in your algorithms. They tend to be hard to be ported to a cluster.

Git

(source code repository)

  1. Install XCODE though the App-Store
  2. open terminal

    xcode-select --install

  3. Click on "Install" and follow the wizard

sudo apt-get install git

Docker and

docker-compose

Requires Kernel 3.10+

Code Block
languagebash
sudo curl -L https://get.docker.com/ | sh
sudo pip install docker-compose
Install https://www.docker.com/docker-toolbox

...

Code Block
languagebash
titleInititalize docker
local> cd $FC_DEVINFRA
# see below for troubleshooting
local> curl 

If you get message SSL certificate problem: Invalid certificate chain

 

...

-O https://dev.flarecast.eu/stash/projects/INFRA/repos/dev-infra/browse/docker-compose.yml?raw
local> docker pull flarecast/smart-python

...


local> docker pull flarecast/

...

regiograph
local> docker-compose up

...


# In case you see any errors about database connection timeouts, just press Ctrl + C and run docker-compose up again.

 

Note: Windows has not been tested yet

 * OS X or Linux (we have not tested Windows installations yet)

 * Python 2.7

 * Text Editor or your preferred Python Interactive Development Environment (IDE).

 * Account to connect to the FLARECAST infrastructure at OBSPM.

 

Troubleshooting:

SSL certificate problem: Invalid certificate chain (OS X only)

  1. Open Safari (not Firefox, Opera, Chrome or similar)
  2. visit https://dev.flarecast.eu
  3. A certificate warning should pop up. -> Click "Show Certificate"
  4. Click on "Trust" and set to "Always trust"