Skip to content

CI- Fault:- It is not catching local machine error #65

@adit4443ya

Description

@adit4443ya

Towards #60

If we go with

+  MPI_Datatype datatype = get_c_comm_from_fortran(*datatype_f);
- MPI_Datatype datatype = get_c_datatype_from_fortran(*datatype_f);

Then on My Ubuntu Machine i get following error

 aditya-trivedi   tests    main ≡    FC='gfortran' ./run_tests.sh 
../src/mpi_wrapper.c: In function 'mpi_ssend_wrapper':
../src/mpi_wrapper.c:203:29: error: initialization of 'MPI_Datatype' {aka 'struct ompi_datatype_t *'} from incompatible pointer type 'MPI_Comm' {aka 'struct ompi_communicator_t *'} [-Wincompatible-pointer-types]
  203 |     MPI_Datatype datatype = get_c_comm_from_fortran(*datatype_f);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
 aditya-trivedi   tests    main ≡    echo $?
1

My system Specs

 aditya-trivedi   tests    main ≡    cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
 aditya-trivedi   tests    main ≡    hostnamectl
 Static hostname: Observer
       Icon name: computer-laptop
         Chassis: laptop 💻
      Machine ID: e8f19b2206044c40a492925d75f0b9e5
         Boot ID: 2e79548695224d45b27e58fd35ed4c8a
Operating System: Ubuntu 24.04.2 LTS              
          Kernel: Linux 6.11.0-21-generic
    Architecture: x86-64
 Hardware Vendor: HP
  Hardware Model: HP Pavilion Laptop 15-eg2xxx
Firmware Version: F.15
   Firmware Date: Tue 2024-04-23
    Firmware Age: 11month 1w
 aditya-trivedi   tests    main ≡    uname -a | grep x86_64  # Check if the architecture is 64-bit  
Linux Observer 6.11.0-21-generic #21~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 24 16:52:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
 aditya-trivedi   tests    main ≡    lsb_release -a | grep Description # Get the distribution description
Description:	Ubuntu 24.04.2 LTS

OpenMPI version

 aditya-trivedi   tests    main ≡    conda activate mpi
 aditya-trivedi   tests    main ≡    which mpi
 aditya-trivedi   tests    main ≡    mpiexec --version
mpiexec (Open MPI) 5.0.6

Report bugs to https://www.open-mpi.org/community/help/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions