User Tools

Site Tools


other:uvcdat:cdat_conda:climaf_test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
other:uvcdat:cdat_conda:climaf_test [2019/03/07 17:13] jypeterother:uvcdat:cdat_conda:climaf_test [2019/05/14 17:08] (current) jypeter
Line 9: Line 9:
     * standard environment: ''module load climaf''     * 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''     * JYP's environment: we assume that the required ''module load'' and environment variables have already been initialized from ''~jypmce/.bashrc''
-      * ''conda activate cdatm-nightly_py2''+      * ''conda activate cdatm_py2''
  
   * Start jupyter from the //TP// directory:   * Start jupyter from the //TP// directory:
     * <code>cd somewhere/Notebooks/TP_CliMAF     * <code>cd somewhere/Notebooks/TP_CliMAF
 jupyter notebook --no-browser</code> jupyter notebook --no-browser</code>
 +      * You can also explicitly specify a port (e.g. use the one associated with your account in ''/ciclad-home/jservon/Evaluation/CliMAF/climaf_installs/climaf_1.2.10/bin/cmip6.notebook.txt'') with\\ ''jupyter notebook %%--%%no-browser %%--%%port=pppp_number''
     * Write down the connection URL and token: ''http://localhost:8888/?token=9f7682071ab5d6a3e...''     * Write down the connection URL and token: ''http://localhost:8888/?token=9f7682071ab5d6a3e...''
       * The port number may be different from the default ''8888''       * The port number may be different from the default ''8888''
-    * At the end, kill the server by typing ''^C^C'' (2x ''CTRL-C'')+    * When you are finished<wrap em>do not forget to kill the ipython server</wrap> 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)   * At LSCE (or on the Windows machine where you will run the browser connecting to the server on ciclad)
Line 36: Line 37:
     * Open a shell and type: ''ssh -L 8000:localhost:8888 your_login@ciclad.ipsl.jussieu.fr''     * Open a shell and type: ''ssh -L 8000:localhost:8888 your_login@ciclad.ipsl.jussieu.fr''
     * In a browser, open the URL <wrap em>with the corrected 8000 port</wrap> ''http://localhost:8000/?token=9f7682071ab5d6a3e...''     * In a browser, open the URL <wrap em>with the corrected 8000 port</wrap> ''http://localhost:8000/?token=9f7682071ab5d6a3e...''
 +
 +===== Notes to clean =====
 +
 +<code>/ciclad-home/jservon/Evaluation/CliMAF/climaf_installs/climaf_1.2.10/bin/climaf-notebook
 +
 +Login to ciclad
 +Start an interactive session on a cluster node: qsub -IVX -l mem=9g,vmem=9g,walltime=06:00:00
 +dig a tunnel from local machine to node: ssh -L 7225:cicladNNN:7225 jypmce@ciclad2.ipsl.jussieu.fr
 +init conda environment: conda activate cdatm_py2
 +start notebook: jupyter notebook --no-browser --port=7225 --ip=cicladNNN
 +
 +(cdatm_py2) [jypmce@ciclad20 ~]$ jupyter notebook --no-browser --port=7225 --ip=ciclad20
 +[I 14:21:05.729 NotebookApp] [nb_conda_kernels] enabled, 5 kernels found
 +[I 14:21:06.344 NotebookApp] [nb_conda] enabled
 +[I 14:21:06.352 NotebookApp] Serving notebooks from local directory: /home/jypmce
 +[I 14:21:06.352 NotebookApp] The Jupyter Notebook is running at:
 +[I 14:21:06.352 NotebookApp] http://ciclad20:7225/?token=832aa384170471352b2a36444f610e54f2e16fde383a6741
 +[I 14:21:06.352 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
 +[C 14:21:06.365 NotebookApp]
 +
 +    To access the notebook, open this file in a browser:
 +        file:///home/jypmce/.local/share/jupyter/runtime/nbserver-24895-open.html
 +    Or copy and paste one of these URLs:
 +        http://ciclad20:7225/?token=832aa384170471352b2a36444f610e54f2e16fde383a6741
 +
 +open in local browser: http://localhost:7225/?token=832aa384170471352b2a36444f610e54f2e16fde383a6741
 +</code>
 +
 +===== Issues to report =====
 +
 +  * handling of CLIMAF_LOG_DIR when it is set or not, esp last.out
 +  * rename last.out ?
 +  * problem with cfile when period is not set
 +  * cdo not loaded with 'module load climaf'
 +  * netcdf problems with some files on ciclad20
  
 /* standard page footer */ /* standard page footer */
other/uvcdat/cdat_conda/climaf_test.1551975235.txt.gz · Last modified: 2019/03/07 17:13 by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki