Testing CLIMAF on ciclad

Reminder: JYP's CLIMAF installation notes

Copy the notebooks:

cd somewhere/Notebooks
cp -pr /ciclad-home/jservon/TP_CliMAF .

Initialize the python environment you want to use:

standard environment: module load climaf

JYP's environment: we assume that the required module load and environment variables have already been initialized from ~jypmce/.bashrc

conda activate cdatm_py2

Start jupyter from the TP directory:

cd somewhere/Notebooks/TP_CliMAF
jupyter notebook --no-browser

Write down the connection URL and token: http://localhost:8888/?token=9f7682071ab5d6a3e...

The port number may be different from the default 8888

At the end, kill the server by typing ^C^C (2x CTRL-C)

At LSCE (or on the Windows machine where you will run the browser connecting to the server on ciclad)

Use Putty to start a tunnel to the jupyter server on ciclad:

Create a New session (or update an existing one) with the following parameters

Host Name: ciclad.ipsl.jussieu.fr

Saved Sessions (the name used to save this set of parameters): your_login @ ciclad TUNNEL

Connection -> Data -> Auto-login username: your_login

Connection -> SSH -> Tunnels

Source port: 8000

Destination: localhost:8888 (or the port number displayed when you started the server on ciclad)

Click on Add and you should get something like

Click on Session (at the top left) and then Save

Click on Open. This will open a Putty terminal (with the tunnel) that you have to keep open as long as you need the tunnel, and remember to close at the end of your session

On your local machine, open the URL you got on the server, after having replaced 8888 (or whatever the port was) with 8000 (or whatever you chose as a Source port number above)

http://localhost:8000/?token=9f7682071ab5d6a3e...

If you are on a Win10 machine with WSL, a Mac or a Linux machine, you can get the same result with:

Open a shell and type: ssh -L 8000:localhost:8888 your_login@ciclad.ipsl.jussieu.fr

In a browser, open the URL with the corrected 8000 port http://localhost:8000/?token=9f7682071ab5d6a3e...

[ PMIP3 Wiki Home ] - [ Help! ] - [ Wiki syntax ]