SIGSEGV When Communicating Displacements For one-way Coupling

Hello,

I am working of building a coupling between my fluid solver and CalculiX in that process I am currently building a forced oscillation extension which is where I am here. I am building a script that deforms a surface using the preCICE coupling. What I am doing is letting the fluid solver provide the surface which is moving/oscillating. Below is the precice-config.xml file that I am using to couple the 2 solvers. The problem I am facing is when trying to write the displacements to precice I get a sigsegv error. I have added the code that produces the error along with the debugging log.

-Justin

<?xml version="1.0" encoding="UTF-8"?>
<precice-configuration>
    <log enabled="true">
        <sink type="stream" output="stdout" format="(%Rank%)  [%Module%]:%Line% in %Function%: %ColorizedSeverity%%Message%" filter="(%Severity% = debug) and not ((%Severity% = info) and (%Rank% != 0))" enabled="true"/>
    </log>
    <data:vector name="Forces"/>
    <data:vector name="Displacements"/>
    <mesh name="uns3dMesh" dimensions="3">
        <use-data name="Forces"/>
        <use-data name="Displacements"/>
    </mesh>
    <participant name="uns3d">
        <provide-mesh name="uns3dMesh" />
        <write-data name="Forces" mesh="uns3dMesh"/>
        <read-data  name="Displacements" mesh="uns3dMesh"/>
    </participant>
    <participant name="fsihook">
        <receive-mesh name="uns3dMesh" from="uns3d" api-access="true"/>
        <write-data name="Displacements" mesh="uns3dMesh"/>
        <read-data  name="Forces" mesh="uns3dMesh"/>
    </participant>
    <m2n:sockets acceptor="uns3d" connector="fsihook"/>

    <coupling-scheme:serial-explicit>
        <participants first="uns3d" second="fsihook"/>
        <time-window-size value="0.000001" />
        <exchange data="Forces" mesh="uns3dMesh" from="uns3d" to="fsihook"/>
        <exchange data="Displacements" mesh="uns3dMesh" from="fsihook" to="uns3d"/>
    </coupling-scheme:serial-explicit>
</precice-configuration>
program fsiPrecicehook
    use mpi
    use precice
    implicit none
    character(64) :: configFileName
    character(9) :: meshname = "uns3dMesh"
    character(7) :: solvername = "fsihook"
    character(13) :: dataclass = 'Displacements'
    character(6) :: dataclass2 = 'Forces'
    integer :: myid
    integer :: ncpu
    integer :: ierr
    integer :: meshID
    integer :: writeDataID, numVertices
    integer, allocatable :: vertexIDs(:)
    real(8), allocatable :: displacements(:), positions(:), forces(:)
    integer :: ongoing
    real(8) :: ctime = 0
    real(8) :: dt

    call MPI_INIT(ierr)
    call MPI_Comm_rank(MPI_COMM_WORLD, myid, ierr)
    call MPI_Comm_size(MPI_COMM_WORLD, ncpu, ierr)
    call get_command_argument(1, configFileName)

    call precicef_create(solvername, configFileName, &
      &                        myid, ncpu, &
      &                        LEN_TRIM(solvername), LEN_TRIM(configFileName))
    call precicef_set_mesh_access_region(meshname, [.3d0, .7d0, -1.d0, 1.d0, .3d0, .7d0], LEN_TRIM(meshname))

    call precicef_initialize()
    call precicef_get_mesh_vertex_size(meshname, numVertices, LEN_TRIM(meshname))
    print*, numVertices
    allocate(vertexIDs(numVertices))
    allocate(displacements(3*numVertices), positions(3*numVertices), forces(3*numVertices))
    vertexIDs = 0
    positions = 0d0
    print*, vertexIDs
    print*, positions
    call precicef_get_mesh_vertex_ids_and_coordinates(meshname, numVertices, vertexIDs, &
        positions, LEN_TRIM(meshname))
    print*, vertexIDs
    print*, positions

    call precicef_is_coupling_ongoing(ongoing)
    call precicef_get_max_time_step_size(dt)
    print*, dt
    do while (ongoing /= 0)
        call precicef_read_data(meshname, dataclass2, numVertices, vertexIDs, ctime, &
                forces, LEN_TRIM(meshname), LEN_TRIM(dataclass2))
        print*, forces

        call square_gaussian(displacements, positions, ctime)

        call precicef_write_data(meshname, dataclass, numVertices, vertexIDs, &
                displacements, LEN_TRIM(meshname), LEN_TRIM(dataclass))
        call precicef_advance(dt)
        call precicef_is_coupling_ongoing(ongoing)
    enddo

    call precicef_finalize()

    call MPI_FINALIZE(ierr)

contains

    subroutine square_gaussian(disp, pos, rtime)
        implicit none
        real(8), intent(in) :: rtime
        real(8), intent(out) :: disp(:)
        real(8), intent(in) :: pos(:)
        real(8), parameter :: pi = 3.141592653589793238462643383279502d0
        integer :: m
        integer :: i
        m = nint(rtime/.000001)+50
        if(mod(m, 200)<=100) then
            m = 1
        else
            m = -1
        endif
        if(rtime < 0) m = -1
        do i=1, size(disp)
            disp(i*3-2) = 0
            disp(i*3-1) = (3.4843*exp(-3.43421*(pos(i*3-2)-.5)**2)-3.03708679002)* &
                (3.4843*exp(-3.43421*(pos(i*3  )-.5)**2)-3.03708679002)/50*m
            disp(i*3  ) = 0
        enddo


    end subroutine
endprogram
LD_LIBRARY_PATH=../precice-3.2.0/lib:../boost_1_74_0/lib:../libxml2-v2.14.4/lib:../precice-3.2.0/thirdparty/libbacktrace/ mpirun -np 1 ../fsihook fsihook.xml
No protocol specified
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Forces
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "waveform-degree" value = 1
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Displacements
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "waveform-degree" value = 1
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "dimensions" value = 3
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Forces
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Displacements
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = uns3d
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Forces
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "mesh" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Displacements
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "mesh" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = fsihook
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "api-access" value = true
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "direct-access" value = false
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "geometric-filter" value = on-secondary-ranks
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "from" value = uns3d
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "safety-factor" value = 0.5
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Displacements
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "mesh" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "name" value = Forces
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "mesh" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "port" value = 0
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "network" value = lo
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "exchange-directory" value = .
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "acceptor" value = uns3d
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "connector" value = fsihook
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "enforce-gather-scatter" value = false
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "use-two-level-initialization" value = false
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "first" value = uns3d
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "second" value = fsihook
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "value" value = 1e-06
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "method" value = fixed
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "data" value = Forces
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "mesh" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "from" value = uns3d
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "to" value = fsihook
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "initialize" value = false
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "substeps" value = false
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "data" value = Displacements
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "mesh" value = uns3dMesh
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "from" value = fsihook
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "to" value = uns3d
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "initialize" value = false
(0)  [xml::XMLAttribute]:194 in readValue: Read valid attribute "substeps" value = false
(0)  [cplscheme::CouplingSchemeConfiguration]:393 in addCouplingScheme: No coupling scheme exists for the participant
(0)  [cplscheme::CouplingSchemeConfiguration]:393 in addCouplingScheme: No coupling scheme exists for the participant
(0)  [utils::IntraComm]:39 in configure: isSecondaryRank: false, isPrimaryRank: false
(0)  [impl::ParticipantImpl]:1607 in configurePartitions: Receiving mesh from uns3d
(0)  [Events]:132 in startBackend: Starting backend with events-file: "./precice-profiling/fsihook-0-1.json"
(0)  [impl::ParticipantImpl]:152 in ParticipantImpl: Initialize intra-participant communication
(0)  [impl::ParticipantImpl]:1456 in setMeshAccessRegion: Define bounding box
(0)  [impl::ParticipantImpl]:331 in setupCommunication: Preprocessing provided meshes
(0)  [impl::ParticipantImpl]:350 in setupCommunication: Establishing primary connection to uns3d
(0)  [com::SocketCommunication]:389 in prepareEstablishment: Creating connection exchange directory ./precice-run/fsihook-uns3d
(0)  [m2n::M2N]:83 in acceptPrimaryRankConnection: Accept primary connection
(0)  [com::SocketCommunication]:780 in getIpAddress: Looking for IP address of network "lo"
(0)  [com::SocketCommunication]:800 in getIpAddress: Detected network IP address of interface "lo": 127.0.0.1.
(0)  [com::ConnectionInfoPublisher]:115 in write: Writing temporary connection file "./precice-run/fsihook-uns3d/c3/1d8433fd5953498b660b1acb53d395~"
(0)  [com::ConnectionInfoPublisher]:129 in write: Publishing connection file "./precice-run/fsihook-uns3d/c3/1d8433fd5953498b660b1acb53d395"
(0)  [com::SocketCommunication]:87 in acceptConnection: Accept connection at 127.0.0.1:44055
(0)  [com::SocketCommunication]:100 in acceptConnection: Accepted connection at 127.0.0.1:44055
(0)  [com::ConnectionInfoPublisher]:87 in ~ConnectionInfoWriter: Deleting connection file "./precice-run/fsihook-uns3d/c3/1d8433fd5953498b660b1acb53d395"
(0)  [impl::ParticipantImpl]:353 in setupCommunication: Established primary connection to  uns3d
(0)  [partition::ReceivedPartition]:99 in compute: Handle partition data structures for serial participant
(0)  [partition::ReceivedPartition]:487 in prepareBoundingBox: Merge bounding boxes and increase by safety factor
(0)  [mesh::Mesh]:255 in computeBoundingBox: Bounding Box, ( [0.3 0.7], [-1 1], [0.3 0.7], )
(0)  [mesh::Data]:150 in allocateValues: Data Forces now has 75 values
(0)  [mesh::Data]:150 in allocateValues: Data Displacements now has 75 values
(0)  [impl::WriteDataContext]:103 in resizeBufferTo: Data Displacements now has 75 values
(0)  [impl::ParticipantImpl]:45 in connectSecondaryRanks: Establishing secondary connections to uns3d
(0)  [m2n::M2N]:142 in acceptSecondaryRanksConnection: Accept secondary connections
(0)  [m2n::PointToPointCommunication]:337 in acceptConnection: Exchange vertex distribution between both primary ranks
(0)  [com::SocketCommunication]:780 in getIpAddress: Looking for IP address of network "lo"
(0)  [com::SocketCommunication]:800 in getIpAddress: Detected network IP address of interface "lo": 127.0.0.1.
(0)  [com::ConnectionInfoPublisher]:115 in write: Writing temporary connection file "./precice-run/fsihook-uns3d/be/77e926d9455c88bec62ce884a672e1~"
(0)  [com::ConnectionInfoPublisher]:129 in write: Publishing connection file "./precice-run/fsihook-uns3d/be/77e926d9455c88bec62ce884a672e1"
(0)  [com::SocketCommunication]:87 in acceptConnection: Accept connection at 127.0.0.1:42205
(0)  [com::SocketCommunication]:100 in acceptConnection: Accepted connection at 127.0.0.1:42205
(0)  [com::ConnectionInfoPublisher]:87 in ~ConnectionInfoWriter: Deleting connection file "./precice-run/fsihook-uns3d/be/77e926d9455c88bec62ce884a672e1"
(0)  [m2n::PointToPointCommunication]:349 in acceptConnection: Broadcast vertex distributions
(0)  [m2n::PointToPointCommunication]:400 in acceptConnection: Create and connect communication
(0)  [com::SocketCommunication]:780 in getIpAddress: Looking for IP address of network "lo"
(0)  [com::SocketCommunication]:800 in getIpAddress: Detected network IP address of interface "lo": 127.0.0.1.
(0)  [com::ConnectionInfoPublisher]:115 in write: Writing temporary connection file "./precice-run/fsihook-uns3d/a4/7aa75879af56ab86355855e1207875~"
(0)  [com::ConnectionInfoPublisher]:129 in write: Publishing connection file "./precice-run/fsihook-uns3d/a4/7aa75879af56ab86355855e1207875"
(0)  [com::SocketCommunication]:179 in acceptConnectionAsServer: Accepting connection at 127.0.0.1:49107
(0)  [com::SocketCommunication]:186 in acceptConnectionAsServer: Accepted connection at 127.0.0.1:49107
(0)  [com::ConnectionInfoPublisher]:87 in ~ConnectionInfoWriter: Deleting connection file "./precice-run/fsihook-uns3d/a4/7aa75879af56ab86355855e1207875"
(0)  [m2n::PointToPointCommunication]:412 in acceptConnection: Store communication map
(0)  [impl::ParticipantImpl]:47 in connectSecondaryRanks: Established  secondary connections to uns3d
(0)  [impl::ParticipantImpl]:378 in setupCommunication: Established secondary connection to  uns3d
(0)  [com::SocketCommunication]:402 in cleanupEstablishment: Removing connection exchange directory ./precice-run/fsihook-uns3d
(0)  [impl::ParticipantImpl]:390 in setupWatcher: Initialize watchpoints
(0)  [impl::ParticipantImpl]:286 in initialize: Initialize coupling schemes
(0)  [cplscheme::BaseCouplingScheme]:222 in initializeWithZeroInitialData: Initialize Forces as zero.
(0)  [cplschemes::SerialCouplingSchemes]:113 in exchangeInitialData: Receiving data...
(0)  [impl::ParticipantImpl]:764 in getMeshVertexSize: Filtered 0 of 25 vertices out on mesh uns3dMesh due to the local access region. Mesh size in the access region: 25
          25
           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0           0
   0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000     
(0)  [impl::ParticipantImpl]:1491 in getMeshVertexIDsAndCoordinates: Get 25 mesh vertices with IDs
           0           1           2           3           4           5           6           7           8           9          10          11          12          13          14          15          16          17          18          19          20          21          22          23          24
  0.29999999999999999        0.0000000000000000       0.29999999999999999       0.39999999999999997        0.0000000000000000       0.29999999999999999       0.50000000000000000        0.0000000000000000       0.29999999999999999       0.59999999999999987        0.0000000000000000       0.29999999999999999       0.69999999999999996        0.0000000000000000       0.29999999999999999       0.29999999999999999        0.0000000000000000       0.39999999999999997       0.40000000000000002        0.0000000000000000       0.40000000000000002       0.50000000000000000        0.0000000000000000       0.40000000000000002       0.59999999999999976        0.0000000000000000       0.40000000000000002       0.69999999999999996        0.0000000000000000       0.39999999999999997       0.29999999999999999        0.0000000000000000       0.50000000000000000       0.39999999999999991        0.0000000000000000       0.50000000000000011       0.50000000000000000        0.0000000000000000       0.50000000000000000       0.59999999999999998        0.0000000000000000       0.50000000000000000       0.69999999999999996        0.0000000000000000       0.50000000000000000       0.29999999999999999        0.0000000000000000       0.59999999999999987       0.39999999999999991        0.0000000000000000       0.59999999999999998       0.50000000000000000        0.0000000000000000       0.59999999999999998       0.59999999999999976        0.0000000000000000       0.59999999999999998       0.69999999999999996        0.0000000000000000       0.59999999999999987       0.29999999999999999        0.0000000000000000       0.69999999999999996       0.39999999999999997        0.0000000000000000       0.69999999999999996       0.50000000000000000        0.0000000000000000       0.69999999999999996       0.59999999999999987        0.0000000000000000       0.69999999999999996       0.69999999999999996        0.0000000000000000       0.69999999999999996     
   9.9999999999999995E-007
   0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000        0.0000000000000000     

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7fc357a3ad11 in ???
#1  0x7fc357a39ee5 in ???
#2  0x7fc35771c08f in ???
        at /build/glibc-B3wQXB/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
#3  0x7fc357f4350c in _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv
        at /usr/include/c++/9/bits/basic_string.h:935
#4  0x7fc357f39917 in _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv
        at /usr/include/c++/9/bits/basic_string.h:821
#5  0x7fc3584eef2c in _ZNK7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEltISt17basic_string_viewIcS5_EEEbRKNS1_IT_EE
        at /home/grads/j/justin.schoppe/uns3d/7.0.0/precice-3.2.0/src/precice/impl/ParticipantState.hpp:54
#6  0x7fc3584e9142 in _ZNSt4lessIvE6_S_cmpIRKN7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS4_ISt17basic_string_viewIcS8_EEEEEDcOT_OT0_St17integral_constantIbLb0EE
        at /usr/include/c++/9/bits/stl_function.h:601
#7  0x7fc3584e9197 in _ZNKSt4lessIvEclIRKN7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS4_ISt17basic_string_viewIcS8_EEEEEDTltcl7forwardIT_Efp_Ecl7forwardIT0_Efp0_EEOSJ_OSK_
        at /usr/include/c++/9/bits/stl_function.h:586
#8  0x7fc3584e1781 in _ZNKSt8_Rb_treeIN7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt4pairIKS9_NS1_16WriteDataContextEESt10_Select1stISD_ESt4lessIvESaISD_EE17_M_lower_bound_trINS2_ISt17basic_string_viewIcS6_EEEvEESt23_Rb_tree_const_iteratorISD_ERKT_
        at /usr/include/c++/9/bits/stl_tree.h:1354
#9  0x7fc3584e1a51 in _ZNKSt8_Rb_treeIN7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt4pairIKS9_NS1_16WriteDataContextEESt10_Select1stISD_ESt4lessIvESaISD_EE17_M_equal_range_trINS2_ISt17basic_string_viewIcS6_EEEvEESA_ISt23_Rb_tree_const_iteratorISD_ESP_ERKT_
        at /usr/include/c++/9/bits/stl_tree.h:1406
#10  0x7fc3584d5193 in _ZNKSt8_Rb_treeIN7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESt4pairIKS9_NS1_16WriteDataContextEESt10_Select1stISD_ESt4lessIvESaISD_EE11_M_count_trINS2_ISt17basic_string_viewIcS6_EEEvEEmRKT_
        at /usr/include/c++/9/bits/stl_tree.h:1333
#11  0x7fc3584c00f0 in _ZNKSt3mapIN7precice4impl11MeshDataKeyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS1_16WriteDataContextESt4lessIvESaISt4pairIKS9_SA_EEE5countINS2_ISt17basic_string_viewIcS6_EEEEEDTcldtdtdefpT4_M_t11_M_count_trfp_EERKT_
        at /usr/include/c++/9/bits/stl_map.h:1221
#12  0x7fc358495cfc in _ZNK7precice4impl16ParticipantState11isDataWriteESt17basic_string_viewIcSt11char_traitsIcEES5_
        at /home/grads/j/justin.schoppe/uns3d/7.0.0/precice-3.2.0/src/precice/impl/ParticipantState.cpp:203
#13  0x7fc35848588f in _ZN7precice4impl15ParticipantImpl9writeDataESt17basic_string_viewIcSt11char_traitsIcEES5_NS_4spanIKiLm18446744073709551615EEENS6_IKdLm18446744073709551615EEE
        at /home/grads/j/justin.schoppe/uns3d/7.0.0/precice-3.2.0/src/precice/impl/ParticipantImpl.cpp:1183
#14  0x7fc358461c5d in _ZN7precice11Participant9writeDataENS_4spanIKcLm18446744073709551615EEES3_NS1_IKiLm18446744073709551615EEENS1_IKdLm18446744073709551615EEE
        at /home/grads/j/justin.schoppe/uns3d/7.0.0/precice-3.2.0/src/precice/Participant.cpp:210
#15  0x7fc3586e0a41 in precicef_write_data_
        at /home/grads/j/justin.schoppe/uns3d/7.0.0/precice-3.2.0/extras/bindings/fortran/src/preciceFortran.cpp:353
#16  0x557f1c49f2b0 in ???
#17  0x557f1c49f329 in ???
#18  0x7fc3576fd082 in __libc_start_main
        at ../csu/libc-start.c:308
#19  0x557f1c49e24d in ???
#20  0xffffffffffffffff in ???
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 0 on node aero-7x2nx8 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------