# Conduit Node from Catalyst Conduit Node

**URL:** https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242
**Category:** In Situ Support
**Tags:** python
**Created:** [August 16, 2024, 3:00pm UTC](https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242 "2024-08-16T15:00:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [August 16, 2024, 3:00pm UTC](https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242/1 "2024-08-16T15:00:31Z")

</div>

Is there a way to get a conduit Node from a catalyst\_conduit Node in Python?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [August 16, 2024, 5:30pm UTC](https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242/2 "2024-08-16T17:30:21Z")

</div>

@Christos_Tsolakis

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [September 3, 2024, 3:10pm UTC](https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242/3 "2024-09-03T15:10:35Z")

</div>

Hi Andy,

not sure what you mean.  
In Python you can directly use the `catalyst_conduit` module in place of the `conduit`.

see

[https://gitlab.kitware.com/paraview/paraview/-/blob/master/Examples/Catalyst2/PythonFullExample/catalyst\_adaptor.py](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Examples/Catalyst2/PythonFullExample/catalyst_adaptor.py)

What exactly are you looking to achieve ? Can you give en example ?

---

<div class="post-metadata">

### Author: ![Andy\_Bauer](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andy_bauer/32/5442_2.png) [@Andy\_Bauer](https://discourse.paraview.org/u/Andy_Bauer)
#### Post date: [September 3, 2024, 3:58pm UTC](https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242/4 "2024-09-03T15:58:23Z")

</div>

I’m trying to use the same conduit node in both ParaView Catalyst and Ascent during a simulation run. The ParaView Catalyst Conduit node has some extra information in it but the way I’m currently constructing the node is that I first create the Conduit node for Ascent and then for Catalyst output I add in extra information after that. Ascent doesn’t know anything about a Catalyst Conduit node type (in Python) and gives an error if I construct the simulation information as a catalyst\_conduit node. I’d like to be able to use the similar conduit parts of what Ascent needs and Catalyst needs in the same hierarchy.

Does that make sense?

---

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos_tsolakis/32/4450_2.png) [@Christos\_Tsolakis](https://discourse.paraview.org/u/Christos_Tsolakis)
#### Post date: [September 3, 2024, 5:07pm UTC](https://discourse.paraview.org/t/conduit-node-from-catalyst-conduit-node/15242/5 "2024-09-03T17:07:27Z")

</div>

Yes it does thank you !  
Do you use the same conduit library for both Ascent and Catayst (and ParaView) ?  
By default catalyst uses an internal copy of catalyst. Since you are mixing more libraries I would recommend to start with using the same external conduit library for Catalyst and Ascent.

In Catalyst you need to compile with `CATALYST_WITH_EXTERNAL_CONDUIT`.  
For Ascent, I believe one can only build it using an external conduit library.

When catalyst is compiled with this option the `catalyst_conduit` package reduces to

```auto
from conduit import *

```

where `conduit` is the externally provided one. So, it should help in this case since it points to the same package.
