# Fortran Catalyst Examples

**URL:** https://discourse.paraview.org/t/fortran-catalyst-examples/16586
**Category:** In Situ Support
**Created:** [May 8, 2025, 8:49am UTC](https://discourse.paraview.org/t/fortran-catalyst-examples/16586 "2025-05-08T08:49:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jml](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@jml](https://discourse.paraview.org/u/jml)
#### Post date: [May 8, 2025, 8:49am UTC](https://discourse.paraview.org/t/fortran-catalyst-examples/16586/1 "2025-05-08T08:49:48Z")

</div>

Dear Developers,  
We use fortran simulation codes, and we would like to try Catalyst on them.

1. I create an Apptainer container Ubuntu 24.04LTS with dependencies for compilations

2. Then install ParaView-5.13.3-MPI-Linux-Python3.10-x86\_64.tar.gz inside

3. Then install Mpich, i red somewhere that the Mpich version have to match the one used in Paraview, so i checked :  
/usr/local/ParaView-5.13.3-MPI-Linux-Python3.10-x86\_64/bin/mpiexec --version which gives;  
Version: 4.1.2  
‘FC=/opt/rh/devtoolset-10/root/usr/bin/gfortran’

So i my container i compiled and installed 4.1.2 version of Mpich

1. Then install and compile catalyst-master.tar.gz’ with:

cmake -G Ninja -DCMAKE\_INSTALL\_PREFIX=/usr/local/Catalyst -DCMAKE\_BUILD\_TYPE=Release -DCATALYST\_USE\_MPI:BOOL=ON -DCATALYST\_WRAP\_FORTRAN:BOOL=ON -DCATALYST\_WRA  
P\_PYTHON:BOOL=ON -DCMAKE\_C\_COMPILER=/usr/local/Mpich/bin/mpicc -DCMAKE\_CXX\_COMPILER=/usr/local/Mpich/bin/mpicxx -DCMAKE\_Fortran\_COMPILER=/usr/local/Mpich/bin/mpi  
f90 /usr/local/catalyst-master

- I noticed that if i execute ctest, test 17 fail, i haven’t understood why…so skipped it for now

1. Then install and try build ‘paraview-master-Examples.tar.gz’

- for now i just try Catalyst2 examples: Everything compile but when i try to execute fortran one, i.e.:

- cd /opt/paraview-master-Examples/Examples/Catalyst2/Fortran90FullExample/

- ./build/bin/Fortran90FullExampleV2 catalyst\_pipeline.py  
i got these errors:  
./build/bin/Fortran90FullExampleV2: /usr/local/ParaView-5.13.3-MPI-Linux-Python3.10-x86\_64/lib/libgfortran.so.5: version `GFORTRAN_10' not found (required by ./build/bin/Fortran90FullExampleV2) ./build/bin/Fortran90FullExampleV2: /usr/local/ParaView-5.13.3-MPI-Linux-Python3.10-x86_64/lib/libgfortran.so.5: version `GFORTRAN\_9’ not found (required by /usr/local/Mpich/lib/libmpifort.so.12)

Thank i advance for your advices and help  
Best regards  
JM

---

<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: [June 13, 2025, 10:02am UTC](https://discourse.paraview.org/t/fortran-catalyst-examples/16586/2 "2025-06-13T10:02:06Z")

</div>

It looks like newer `gfortran` is being used to compile your code than ParaView ships with its `libgfortran`. You’ll need to make sure that you’re using `gfortran-10` (usually you don’t use the MPI wrappers directly; I’d try telling CMake about the `devtoolset-10` compilers there).
