Dhruv Balwada
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Pleiades singularity # Instructions last successfully run on May 29th 2025 ### Login Login to PFE (Pleiades Front End). ``` ssh pfe ``` > If already setup ssh tunnel etc. ### Download image Download this image in your scratch, as it might be large in size. This download needs to be done on the login node, as the interactive nodes can't seem to access the internet. ~~``` module load singularity singularity pull notebook_pangeo.sif docker://pangeo/pangeo-notebook~~ ~~```~~ Update 05/29/2025: squashfs is banned on Pleiades, so I suggest trying this instead: ``` singularity build --sandbox notebook_pang/ docker://pangeo/pangeo-notebook ``` ### Get interactive node (or something like that) Run script `request_interactive_node.sh`, which has following content. ``` #!/bin/bash qsub -I -lselect=1:ncpus=2:model=ivy,walltime=02:00:00 -q devel ``` ### run singularity > Note: we needed to add all the above bindings to be able to see where the data is Run the following command or run a script with the following lines: ``` #!/bin/bash module load singularity singularity shell --bind /nobackup:/nobackup --bind /nobackupp1:/nobackupp1 --bind /nobackupp17:/nobackupp17 --bind /nobackupp1 9:/nobackupp19 --bind /home6/dmenemen:/home6/dmenemen /nobackup/dbalwada/notebook_pangeo.sif ``` NB New users need to use `ls -l /nobackup/your_username` to identify which volume their nobackup direct is actually located in and bind to that directory. > At this point you should be able to run any python script at the command l ### Run the script for using the CLI to access LLC data. Use this: https://github.com/ocean-transport/pleiades_llc_recipes/blob/master/python_cli_data_export/extract_llc.py ### Old access example From: https://github.com/rabernat/pleiades_llc_recipes/blob/master/notebooks/pleiades_llc_examples.ipynb ``` from xmitgcm import llcreader model = llcreader.PleiadesLLC4320Model() ``` ### Jupyter Lab Following steps describe accessing a Jupyter lab session running in a singularity container via a browser running on your local machine (Mac, Linux, etc). 1. Secure Setup of Jupyter Notebook: SSH into `pfe` and follow the steps in the article [Secure Setup for Using Jupyter Notebook on NAS Systems](https://www.nas.nasa.gov/hecc/support/kb/secure-setup-for-using-jupyter-notebook-on-nas-systems_622.html) to setup your **password** for Jupyter Lab. 2. From `pfe`, SSH into an interactive node and run Singularity 3. Start Jupyter Lab in the Singularity container. In the output below, `r403i7n4` is the interactive node we had gotten and `sraza2` is a username. You would need to replace both of these in the next step. The output is attached here for reference purposes. ``` > sraza2 @ r403i7n4 $ jupyter lab --no-browser [I 2022-12-15 14:27:28.040 ServerApp] dask_labextension | extension was successfully linked. [I 2022-12-15 14:27:28.041 ServerApp] jupyter_resource_usage | extension was successfully linked. [W 2022-12-15 14:27:28.043 MathJaxExtension] Config option `kernel_spec_manager_class` not recognized by `MathJaxExtension`. [W 2022-12-15 14:27:28.045 MathJaxExtension] Config option `kernel_spec_manager_class` not recognized by `MathJaxExtension`. [W 2022-12-15 14:27:28.049 MathJaxExtension] Config option `kernel_spec_manager_class` not recognized by `MathJaxExtension`. [I 2022-12-15 14:27:28.051 ServerApp] jupyter_server_mathjax | extension was successfully linked. [I 2022-12-15 14:27:28.051 ServerApp] jupyter_server_proxy | extension was successfully linked. [W 2022-12-15 14:27:28.055 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`. [W 2022-12-15 14:27:28.059 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`. [W 2022-12-15 14:27:28.066 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`. [I 2022-12-15 14:27:28.068 ServerApp] jupyterlab | extension was successfully linked. [I 2022-12-15 14:27:28.068 ServerApp] jupyterlab_git | extension was successfully linked. [I 2022-12-15 14:27:28.068 ServerApp] jupyterlab_s3_browser | extension was successfully linked. [W 2022-12-15 14:27:28.071 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`. [W 2022-12-15 14:27:28.075 NotebookApp] 'cookie_secret_file' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-12-15 14:27:28.075 NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-12-15 14:27:28.075 NotebookApp] 'certfile' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-12-15 14:27:28.075 NotebookApp] 'keyfile' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-12-15 14:27:28.075 NotebookApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [W 2022-12-15 14:27:28.077 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`. [W 2022-12-15 14:27:28.082 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`. [I 2022-12-15 14:27:28.083 ServerApp] nbclassic | extension was successfully linked. [I 2022-12-15 14:27:28.083 ServerApp] nbdime | extension was successfully linked. [I 2022-12-15 14:27:28.083 ServerApp] nbgitpuller | extension was successfully linked. [I 2022-12-15 14:27:28.085 ServerApp] Writing Jupyter server cookie secret to /home3/sraza2/.jupyter/cookie_file [I 2022-12-15 14:27:28.093 ServerApp] notebook_shim | extension was successfully linked. [I 2022-12-15 14:27:28.093 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked. [I 2022-12-15 14:27:28.093 ServerApp] xarray_leaflet | extension was successfully linked. [I 2022-12-15 14:27:29.979 ServerApp] [nb_conda_kernels] enabled, 0 kernels found [I 2022-12-15 14:27:30.019 ServerApp] notebook_shim | extension was successfully loaded. [I 2022-12-15 14:27:30.019 ServerApp] dask_labextension | extension was successfully loaded. [I 2022-12-15 14:27:30.020 ServerApp] jupyter_resource_usage | extension was successfully loaded. [I 2022-12-15 14:27:30.021 ServerApp] jupyter_server_mathjax | extension was successfully loaded. [I 2022-12-15 14:27:30.668 ServerApp] jupyter_server_proxy | extension was successfully loaded. [I 2022-12-15 14:27:30.669 LabApp] JupyterLab extension loaded from /srv/conda/envs/notebook/lib/python3.10/site-packages/jupyterlab [I 2022-12-15 14:27:30.669 LabApp] JupyterLab application directory is /srv/conda/envs/notebook/share/jupyter/lab [I 2022-12-15 14:27:30.673 ServerApp] jupyterlab | extension was successfully loaded. [I 2022-12-15 14:27:30.679 ServerApp] jupyterlab_git | extension was successfully loaded. [I 2022-12-15 14:27:30.680 ServerApp] jupyterlab_s3_browser | extension was successfully loaded. [I 2022-12-15 14:27:30.688 ServerApp] nbclassic | extension was successfully loaded. [I 2022-12-15 14:27:30.862 ServerApp] nbdime | extension was successfully loaded. [I 2022-12-15 14:27:30.863 ServerApp] nbgitpuller | extension was successfully loaded. [I 2022-12-15 14:27:30.863 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded. [I 2022-12-15 14:27:30.864 ServerApp] xarray_leaflet | extension was successfully loaded. [I 2022-12-15 14:27:30.864 ServerApp] Serving notebooks from local directory: /home3/sraza2 [I 2022-12-15 14:27:30.864 ServerApp] Jupyter Server 1.23.3 is running at: [I 2022-12-15 14:27:30.864 ServerApp] https://127.0.0.1:8888/lab [I 2022-12-15 14:27:30.864 ServerApp] or https://127.0.0.1:8888/lab [I 2022-12-15 14:27:30.864 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 2022-12-15 14:41:35.068 LabApp] 302 GET /lab? (127.0.0.1) 1.26ms [I 2022-12-15 14:41:43.316 ServerApp] 302 POST /login?next=%2Flab%3F (127.0.0.1) 28.18ms [W 2022-12-15 14:41:59.079 LabApp] Could not determine jupyterlab build status without nodejs ERROR:root:Exception encountered during GET : Could not connect to the endpoint URL: "http://169.254.169.254/latest/api/token" [I 2022-12-15 14:42:05.829 ServerApp] Creating new notebook in [I 2022-12-15 14:42:06.781 ServerApp] Kernel started: 4911b680-76db-48d8-9d6d-a3e846f206d4 [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control [IPKernelApp] WARNING | No such comm: f63c9676-f5c4-49a2-b7dd-86d71caa23b6 [W 2022-12-15 14:42:34.454 ServerApp] Notebook nasa/nasa.ipynb is not trusted [I 2022-12-15 14:42:34.958 ServerApp] Kernel started: b3b74c13-74c9-4311-9b07-fa1709623753 [W 2022-12-15 14:42:36.718 ServerApp] Notebook nasa/scratch.ipynb is not trusted [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control [IPKernelApp] WARNING | No such comm: 736f163e-9ed0-426b-ac41-21214f683e7c [I 2022-12-15 14:42:37.852 ServerApp] Kernel started: 9bea8645-2f85-4a99-b559-37970dd48502 [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control [IPKernelApp] WARNING | No such comm: 15fad6fe-88b0-4d7e-8e4e-30a5d1b9052a [I 2022-12-15 14:44:06.619 ServerApp] Saving file at /Untitled.ipynb [I 2022-12-15 14:44:34.841 ServerApp] Saving file at /nasa/nasa.ipynb [I 2022-12-15 14:44:38.980 ServerApp] Saving file at /nasa/scratch.ipynb [W 2022-12-15 14:44:38.980 ServerApp] Notebook nasa/scratch.ipynb is not trusted ``` 4. Update the following items in the command below and run it in the terminal of your local machine (e.g., iTerm in Mac). - **Interactive node name**: replace `r403i7n4` with the name of the interactive node you get - **Username**: replace `sraza2` with your NAS username - **Actual pfe node**: replace `pfe21` with the pfe node you log into ``` ssh -l sraza2 -o "StrictHostKeyChecking=ask" -o "ProxyJump=sfe,pfe21" -L 8080:localhost:8888 r403i7n4 ``` This will create a SSH tunnel from your local machine port 8080 to port 8888 on `r403i7n4` 5. Visit https://localhost:8080 in the browser on your local machine and enter Jupyter password you created in Step 1, when prompted.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully