From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by sourceware.org (Postfix) with ESMTPS id 7F59D3858D32 for ; Mon, 17 Oct 2022 16:05:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7F59D3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-x22f.google.com with SMTP id j188so12612808oih.4 for ; Mon, 17 Oct 2022 09:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iOcvbOkQyytg/7xzWjIDnPJWvHH6vgM+0mqzYKNblPQ=; b=hMj7GxyAbFvvchRgkBAG4WTN7quRA56KTacNkyGXJfMtwTo395f+8pRW0MWtrQyVEB 2Qde9/ohPfmqIL+XmCgw6+foHsukzPtaRGDwOzst9H6znN/w5tIBMXQMLcAyw7Pckad+ A1dEzpQHBOlRWh1xqId42xfYLl7kzYbr+exyZ7AGtpkdqv0WXGOFW5CTJEd4YaYRNUMx UrLGnDI9GWHb0BzGGNpbyi11R7tZ3gxwoLRjgM/uLCshoGuRprU8OCyknkf8vFae5eyt 9YTRdG14fLYionnWUaetw4CUaS3h1HCFkv5IvFJuepeLy0wh67i3XWtS44jRP22zvZ5V nILg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iOcvbOkQyytg/7xzWjIDnPJWvHH6vgM+0mqzYKNblPQ=; b=gRYONBEsVoJXOFL254T8BBMnlSGG6WP2oeXrrXjqIU8TNnWUFSO0dCzRsfc3zkctvC my/eaFak7joFXL85FY6cLBmXikG2NwmNdjBrGip4JLUb8Sx2JFfgxLAJvCTsmC6Y3R2n Gf8Hby8SLSer82gSDvigd9MwQ+fH4rTlqshszDpMYb1IQ2UvPDpQqBAkk/olzWWx1ljV KfaPp5GDRCAoRu9BvmMdGqoSM2u7YERReFoGHWtcio0c6uOw2K7fROrVDGieg32tSac4 QpeX1ePoQHG0+WdL1K3pB125j8UcmWeIxYjSnozgs6Zyzo4Dg2B+pVqUaoS4JO3IbVEQ l/Vg== X-Gm-Message-State: ACrzQf171K94jmqMYQjnsxONCkbVFMfKIeZmGLgfux+Ikw/M2MhbYVSK o5ncoVO6oVx/ohfO4Zfh7pTs7LVdCjhlM5t7Qf8= X-Google-Smtp-Source: AMsMyM6H3D+QvX+bXfKRh/vyg3cE9FN7NETB0z561sk0wDwIF8VAXiToZFHcnU5Om0Ny3FcSRb8VJF3mFaYvtSG+u9A= X-Received: by 2002:a05:6808:308e:b0:354:fdd1:f9e1 with SMTP id bl14-20020a056808308e00b00354fdd1f9e1mr5232251oib.72.1666022756682; Mon, 17 Oct 2022 09:05:56 -0700 (PDT) MIME-Version: 1.0 References: <5058880.PNISsnXf8o@abensonca-precision-7540> In-Reply-To: <5058880.PNISsnXf8o@abensonca-precision-7540> From: Salvatore Filippone Date: Mon, 17 Oct 2022 18:05:44 +0200 Message-ID: Subject: Re: Error message To: Andrew Benson Cc: Fortran List Content-Type: multipart/alternative; boundary="0000000000009994a805eb3d264d" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000009994a805eb3d264d Content-Type: text/plain; charset="UTF-8" It was indeed a case of misalignment of compiled files (in my case, make install going to one location, and the code to be compiled picking up from a different one) Thanks to all, Salvatore On Mon, Oct 17, 2022 at 4:42 PM Andrew Benson wrote: > Hi Salvatore, > > I've run into similar error messages occasionally. I've never been able to > fully track down the cause, but it seems to happen if I change the content > of > a derived type (e.g. add some new variable to it), recompile the module > containing it, but don't recompile some other module that USEs that first > module. It seems like there are then multiple definitions of the derived > type > (from different modules) that are out of sync. So, recompiling everything > resolves this issue for me. > > But, as I said, I'm not 100% sure that this is the explanation! > > -Andrew > > On Monday, October 17, 2022 2:28:33 AM PDT Salvatore Filippone via Fortran > wrote: > > Dear all > > I am getting the following error message, which I find quite confusing > > > > 68 | use amg_prec_mod > > > > | 1 > > > > Fatal Error: Mismatch in components of derived type > > '__vtype_psb_c_par_mat_mod_Psb_c_par_mat_type' from 'psb_c_par_mat_mod' > at > > (1): expecting 'bldext', but got 'aclsum' > > compilation terminated. > > > > from > > mpifort -v > > mpifort for MPICH version 3.4.3 > > Using built-in specs. > > COLLECT_GCC=/opt/gnu/12.1.0/bin/gfortran > > > COLLECT_LTO_WRAPPER=/opt/gnu/12.1.0/libexec/gcc/x86_64-pc-linux-gnu/12.1.0/l > > to-wrapper Target: x86_64-pc-linux-gnu > > Configured with: ../gcc-12.1.0/configure --prefix=/opt/gnu/12.1.0 > > --enable-languages=c,c++,fortran > > Thread model: posix > > Supported LTO compression algorithms: zlib > > gcc version 12.1.0 (GCC) > > > > > > What might the compiler be complaining about? Where can I find > additional > > info on what to do? > > Any help greatly appreciated > > > > Salvatore > > > -- > > * Andrew Benson: https://abensonca.github.io > > * Galacticus: https://github.com/galacticusorg/galacticus > > > > --0000000000009994a805eb3d264d--