Git Product home page Git Product logo

python_parallel_computing's Introduction

Computational Economics with Python - Parallel Computing

SSH into the Amazon CloudFormation Cluster Server instance (public IP: 35.177.227.48)

  1. Check if you have received the private key (.pem file) from email and download it to your local machine.
  2. Unix/Linux users type the following command in your terminal: ssh -i path/cepython.pem [email protected]
  3. Change the permission of private key file to read only: chmod 600 cepython.pem
  4. Windows users use putty and set up the key, host name as below:

Windows user troubleshooting: if your private key (*.pem) is not recognized by Putty. Use PuTTYgen to load the pem file and save the private key as *.ppk. Then you should be able to load the private key.

Now you are free to use the remote server for your work!

Create your own directory for the use, for example a combination of your first name and last time: mkdir qhan cd qhan

Download the code from the Github git clone https://github.com/francishan/python_parallel_computing.git cd python_parallel_computing

create directory as something you like

mkdir qhan

cd qhan

Download the github repo as

git clone https://github.com/francishan/python_parallel_computing.git

cd python_parallel_computing

Now lets write some code ๐Ÿ˜ƒ

We set up the Anaconda on the server Type conda and see whether it works.

Run the following command in the training instance: jupyter notebook --no-browser

The jupyter notebook is already running, now build a tunnel to give you access in your local machine ssh -i path/cepython.pem -NfL port:localhost:port [email protected]

Windows users: after the jupyter server is running, use PuTTY to build a tunnel as below:

Now you can open your browser, and copy/paste the URL shown from your training instance to login with a token:

You are now ready to code ๐Ÿ˜ƒ

python_parallel_computing's People

Contributors

joaopfonseca avatar qiweihan avatar

Forkers

omarja12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.