Skip to content

Commit

Permalink
add HPC and PyProject events
Browse files Browse the repository at this point in the history
  • Loading branch information
plmrry committed Sep 20, 2024
1 parent 3b71200 commit a710c63
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 10 deletions.
4 changes: 4 additions & 0 deletions assets/css/main-v2.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,7 @@ a.icon:visited {
text-decoration: none;
border-bottom: none;
}

code {
font-size: 0.8em;
}
22 changes: 20 additions & 2 deletions build-index-page.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ const upcoming_events = [
// location: `162 5th Ave<br />IDA Auditorium`,
// summary: `Connect to Github and learn how to collaborate on code.`,
// },
{
title: `Intro to Python Packaging`,
weekday: `Thursday`,
date: `September 26`,
time: `3 — 5 PM`,
location: `162 5th Ave<br />3rd Floor Classroom`,
summary: html`In this Sciware workshop, we'll discuss Python packaging and relevant tools. Our main focus will be on how to get a project <code>pip</code>-installable using a <code>pyproject.toml</code> file and <code>setuptools</code>. We'll work together to make a test project where everyone can go through the steps of organizing and making a Python package.`,
},
{
title: `Extended Intro to High-Performance Computing`,
weekday: `Wednesday`,
date: `October 2`,
time: `10 AM — Noon`,
location: `162 5th Ave<br />IDA Auditorium`,
summary: html` In this SCC-hosted Sciware, we will introduce cluster terminology and describe the two Flatiron clusters, <code>popeye</code> and <code>rusty</code>. In the interactive session, we will learn to make use of the software and hardware resources available by setting up a Python environment and running a Python script on the cluster by submitting jobs using <code>slurm</code>. In addition, we will demonstrate how to use <code>mpi4py</code> and <code>disBatch</code> to run distributed Python tasks. `,
},
];

const past_events = [
Expand Down Expand Up @@ -97,7 +113,9 @@ const past_events = [
[`Session #33 day 2`, `Intro to VS Code`, `June 12, 2024`, `/33_SummerIntro/day2.html`, `https://github.com/flatironinstitute/sciware/tree/main/33_SummerIntro`],
[`Session #33 day 3`, `Intro to GitHub, Part 1`, `June 20, 2024`, `/33_SummerIntro/day3.html`, `https://github.com/flatironinstitute/sciware/tree/main/33_SummerIntro`],
[`Session #33 day 4`, `Intro to GitHub, Part 2`, `June 27, 2024`, `/33_SummerIntro/day4.html`, `https://github.com/flatironinstitute/sciware/tree/main/33_SummerIntro`],
[`Session #34`, `NVIDIA Intro to Machine Learning`, `June 17, 2024`],
// [``, `NVIDIA Intro to Machine Learning`, `June 17, 2024`],
// [`Session #34`, `Python Packaging`, `September 26, 2024`, `/34_PyPackaging/slides.html`, `https://github.com/flatironinstitute/sciware/tree/main/34_PyPackaging`],
// [`Session #35`, `Extended Intro to HPC`, `October 2, 2024`, `/35_IntroToHPC/slides.html`, `https://github.com/flatironinstitute/sciware/tree/main/35_IntroToHPC`],
];

const upcoming_events_list_items = upcoming_events.map(({ title, weekday, date, time, location, summary }) => {
Expand All @@ -111,7 +129,7 @@ const upcoming_events_list_items = upcoming_events.map(({ title, weekday, date,
</div>
<div class="summary">
<h3>${title}</h3>
<p>${summary.trim()}</p>
<p>${summary}</p>
</div>
</li>
`;
Expand Down
36 changes: 28 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,34 @@ <h1>
<main>
<section id="upcoming">
<h2>Upcoming Sciware Events</h2>
<p>There are no upcoming events at this time.</p>

<ul>
<li>
<div class="details">
<div data-type="weekday">Thursday</div>
<div data-type="date">September 26</div>
<div data-type="time">3 — 5 PM</div>
<div data-type="location">162 5th Ave<br />3rd Floor Classroom</div>
</div>
<div class="summary">
<h3>Intro to Python Packaging</h3>
<p>In this Sciware workshop, we'll discuss Python packaging and relevant tools. Our main focus will be on how to get a project <code>pip</code>-installable using a <code>pyproject.toml</code> file and <code>setuptools</code>. We'll work together to make a test project where everyone can go through the steps of organizing and making a Python package.</p>
</div>
</li>

<li>
<div class="details">
<div data-type="weekday">Wednesday</div>
<div data-type="date">October 2</div>
<div data-type="time">10 AM — Noon</div>
<div data-type="location">162 5th Ave<br />IDA Auditorium</div>
</div>
<div class="summary">
<h3>Extended Intro to High-Performance Computing</h3>
<p> In this SCC-hosted Sciware, we will introduce cluster terminology and describe the two Flatiron clusters, <code>popeye</code> and <code>rusty</code>. In the interactive session, we will learn to make use of the software and hardware resources available by setting up a Python environment and running a Python script on the cluster by submitting jobs using <code>slurm</code>. In addition, we will demonstrate how to use <code>mpi4py</code> and <code>disBatch</code> to run distributed Python tasks. </p>
</div>
</li>
</ul>
</section>
<section id="past">
<h2>Previous Events</h2>
Expand All @@ -28,13 +55,6 @@ <h2>Previous Events</h2>
<a href="https://vimeo.com/showcase/sciware">Vimeo</a>. Please see the <a href="https://simonsfoundation.slack.com/archives/CDU1EE9V5" alt="sciware slack">#sciware </a>Slack channel for the password.
</p>
<ul>
<li>
<span>Session #34:</span>
<span style="color: #717171">NVIDIA Intro to Machine Learning</span>

<span class="inline-date">June 17, 2024</span>
</li>

<li>
<span>Session #33 day 4:</span>
<a href="/33_SummerIntro/day4.html">Intro to GitHub, Part 2</a>
Expand Down

0 comments on commit a710c63

Please sign in to comment.