From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by sourceware.org (Postfix) with ESMTPS id 1BCE03858D28 for ; Mon, 17 Oct 2022 14:42:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1BCE03858D28 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=carnegiescience.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f48.google.com with SMTP id t12-20020a17090a3b4c00b0020b04251529so11152707pjf.5 for ; Mon, 17 Oct 2022 07:42:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :organization:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cCUE3pr00PnddMCFGcWJ/tEW5Rgc4uS7kDYaZxHWzdM=; b=SOfOmBrHQSxb2DUVN+gALZ1jvqeARsOjT/Mn488y1rNMvR9z55n/ooz4q38dAvX3qG rYEzOsahALCGwaH5lpQbxJnJKuK2jpchtrZwrBSQM82hX2uA69FO7HCxGgmnznBGZWZ9 VoqcCcp5wbcibse4FnHMOVAjoI7IwkpCgJtusW+mcPhv4U1GFIQ4NCY+fh71FAc69PyC EokYcBH1sF8snWDFJeLJ3My/e/golTZKWCEhPCun7+LZXJzAXzxJuzMhcthtGghvQKq3 h2XmlD3tfkwTU640DC7KI7OxZusieu9RaaJevAl4g48CPp54wcE0A44p3BHHOBIZCi2y p12Q== X-Gm-Message-State: ACrzQf3uNClMjhqSEoyZ2nrBq8FePh8tF85zw9NKLKmibL1sA79c61ve RCp+Ji/U+OcLisA7UFp7A8A= X-Google-Smtp-Source: AMsMyM4kqtnPC3mxMhiE//n4vSOLQGNEUd3V4byM99As67ZHg0pAkAEQk1DMkxlwRjbh6YeZiL9iUg== X-Received: by 2002:a17:903:18b:b0:185:43e6:20df with SMTP id z11-20020a170903018b00b0018543e620dfmr12017348plg.4.1666017728922; Mon, 17 Oct 2022 07:42:08 -0700 (PDT) Received: from abensonca-precision-7540.localnet (075-140-015-040.biz.spectrum.com. [75.140.15.40]) by smtp.gmail.com with ESMTPSA id 83-20020a621456000000b0056203db46ffsm7353389pfu.172.2022.10.17.07.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 07:42:08 -0700 (PDT) From: Andrew Benson To: Salvatore Filippone Cc: Fortran List Subject: Re: Error message Date: Mon, 17 Oct 2022 07:42:06 -0700 Message-ID: <5058880.PNISsnXf8o@abensonca-precision-7540> Organization: Observatories of the Carnegie Institution for Science In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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