# CWL for HPC: are we there yet?

**URL:** https://cwl.discourse.group/t/cwl-for-hpc-are-we-there-yet/761
**Category:** CWLCon 2023
**Created:** [February 25, 2023, 9:59pm UTC](https://cwl.discourse.group/t/cwl-for-hpc-are-we-there-yet/761 "2023-02-25T21:59:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GlassOfWhiskey](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/glassofwhiskey/32/167_2.png) [@GlassOfWhiskey](https://cwl.discourse.group/u/GlassOfWhiskey)
#### Post date: [February 25, 2023, 9:59pm UTC](https://cwl.discourse.group/t/cwl-for-hpc-are-we-there-yet/761/1 "2023-02-25T21:59:12Z")

</div>

Presenter: [Iacopo Colonnelli](https://orcid.org/0000-0001-9290-2017), University of Torino @GlassOfWhiskey

[Schedule](https://cwl.discourse.group/t/schedule-of-confirmed-talks/753):

- Session 1: 🌎 🌍 (Americas-EMEA) Monday, February 27th 09:00 - 13:00 US EST / 14:00 - 18:00 UTC
- Session 2: 🌍 🌏 (EMEA-APAC) Wednesday, March 1st 07:00 - 11:00 UTC / 16:00 - 20:00 Japanese Standard Time

> Modern HPC applications are becoming so heterogeneous and complex that a modular approach to their design, deployment and orchestration is now necessary. This talk explores the benefits of using a vendor-agnostic workflow language (CWL) coupled with a hybrid workflow management system (StreamFlow) in the HPC ecosystem. Also, it will examine the requirements needed to model HPC applications effectively, the CWL’s readiness to meet such requirements, and the proposals made to improve the language where needed. Four real use cases will drive the discussion: the ACROSS Project (G.A. n. 955648), where CWL is the primary interface to model three HPC workflows, and the EUPEX Project (G.A. n. 101033975), where StreamFlow will be used for the rapid prototyping of a seismic engineering HPC application for a Modular Supercomputing Architecture (MSA) system.

CWL4HPC Matrix channel: [https://matrix.to/#/#cwl4hpc:matrix.org](https://matrix.to/#/#cwl4hpc:matrix.org)

Slides: [https://datacloud.di.unito.it/index.php/s/CMCd5LiZeXsxwEg](https://datacloud.di.unito.it/index.php/s/CMCd5LiZeXsxwEg)

Please leave your questions for the presenter below!

[![](https://global.discourse-cdn.com/free1/uploads/cwl1/original/1X/be9c22d57db9add625f5d0b9764195c0c422b2ae.jpeg "CWL for HPC: are we there yet?") ](https://www.youtube.com/watch?v=zFy9-pzPQso)

As an alternative to YouTube, this presentations is also available on ConfTube

https://conf.tube/videos/embed/7fd4e5ed-3188-4660-a0e9-6412551c352d

---

<div class="post-metadata">

### Author: ![brunokinoshita](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/brunokinoshita/32/226_2.png) [@brunokinoshita](https://cwl.discourse.group/u/brunokinoshita)
#### Post date: [March 1, 2023, 8:03am UTC](https://cwl.discourse.group/t/cwl-for-hpc-are-we-there-yet/761/2 "2023-03-01T08:03:43Z")

</div>

Hi Iacopo!

I’ve started playing with the latest version of cwltool to test loops and compare with other cyclic WMS’s like Cylc, ecFlow, StackStorm, etc. I was impressed for being able to convert a Cylc 8 simple workflow to CWL + Loops: [kinoshita.eti.br/cylc1.md at 4455ad542a8a638317948136223415763e78bcbe · kinow/kinoshita.eti.br · GitHub](https://github.com/kinow/kinoshita.eti.br/blob/4455ad542a8a638317948136223415763e78bcbe/notes/cwl/loops/cylc1.md)

In Cylc (and also in ecFlow) in some workflows the cycles/loops have to be started in parallel. This is to maximize the use of resources in the HPC server, and because some of the steps in the workflow may be independent, meaning that the whole loop/cycle, or parts of it, can “run-ahead” (see Cylc’s docs about the [runahead-limiting](https://cylc.github.io/cylc-doc/stable/html/user-guide/writing-workflows/scheduling.html#runahead-limiting)).

Q. Would it be possible with CWL + Loops to have something like:

- A number of maximum runahead loop iterations / cycles?
