Graphs & Networks

SDSC Expanse Notebook: Graphs&Networks

This README file provides instructions for Expanse users on how to run notebooks related to building, visualizing, and analyzing graphs and networks.
Listof Content

Import Module:

  • matplotlib
  • networkx

Launch Galyleo

For specific information about launching Galyleo, please refer to this GitHub repository.

Environment Modules

By utilizing --env-modules, we can load any software installed in Expanse. For instance, executing this command line will load CPU modules and Anaconda3 within the Jupyter session.

  • CPU: --env-modules cpu/0.17.3b,anaconda3
    galyleo launch --account abc123 --partition shared --cpus 2 --memory 4 --time-limit 00:30:00 --env-modules cpu/0.17.3b,anaconda3/2021.05
    

Install Modules

To run NetworkX notebook, we need to install additional package.

  • networkx

Location

Graphs&Networks
├──NetworkX.ipynb
├──image.png
├── README.md

Sources

If you want more information please go to the official documentation at https://networkx.github.io/documentation/stable/tutorial.html.

Submit Ticket

This notebook was last tested on 3/31/25. If you find anything that needs to be changed, edited, or if you would like to provide feedback or contribute to the notebook, please submit a ticket by contacting us at:

Email: consult@sdsc.edu

We appreciate your input and will review your suggestions promptly!




Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Parallel Programming with DASK on CPU
  • Hello_World CPU
  • Clustering Visualizations
  • Matplotlib Intro
  • Data-Analysis