[petsc-users] Compilation fails in tao Fortran modules

Matthew Knepley knepley at gmail.com
Mon Oct 14 06:28:57 CDT 2024


On Mon, Oct 14, 2024 at 3:44 AM TARDIEU Nicolas via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Dear PETSc Team,
>
> The compilation of the PETSc release version fails on my Debian machine
> with the message :
>
> #
> ---------------------------------------------------------------------------------------------------------------------------
>          FC arch-linux-c-debug/obj/src/ts/f90-mod/petsctsmod.o
>          FC arch-linux-c-debug/obj/src/tao/f90-mod/petsctaomod.o
>
> /home/UserName/dev/petsc_aster/include/../src/tao/f90-mod/ftn-auto-interfaces/petsctao.h90:2:17:
>
>         Tao a ! Tao
>                  1
> Error: Derived type ‘ttao’ at (1) is being used before it is defined
>
> /home/UserName/dev/petsc_aster/include/../src/tao/f90-mod/ftn-auto-interfaces/petsctao.h90:7:17:
> #
> ---------------------------------------------------------------------------------------------------------------------------
>
> Thanks in advance for your help.
>

You have old Fotran stub under '/src'. I think you need to run

  make deleteallfortranstubs
  make allfortranstubs
  make

  Thanks,

    Matt


> Regards,
> Nicolas
> --
> Nicolas Tardieu
> Ing PhD Computational Mechanics
> EDF - R&D Dpt ERMES
> PARIS-SACLAY, FRANCE
>
>
>
> Ce message et toutes les pièces jointes (ci-après le 'Message') sont
> établis à l'intention exclusive des destinataires et les informations qui y
> figurent sont strictement confidentielles. Toute utilisation de ce Message
> non conforme à sa destination, toute diffusion ou toute publication totale
> ou partielle, est interdite sauf autorisation expresse.
>
> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de
> le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou
> partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de
> votre système, ainsi que toutes ses copies, et de n'en garder aucune trace
> sur quelque support que ce soit. Nous vous remercions également d'en
> avertir immédiatement l'expéditeur par retour du message.
>
> Il est impossible de garantir que les communications par messagerie
> électronique arrivent en temps utile, sont sécurisées ou dénuées de toute
> erreur ou virus.
> ____________________________________________________
>
> This message and any attachments (the 'Message') are intended solely for
> the addressees. The information contained in this Message is confidential.
> Any use of information contained in this Message not in accord with its
> purpose, any dissemination or disclosure, either whole or partial, is
> prohibited except formal approval.
>
> If you are not the addressee, you may not copy, forward, disclose or use
> any part of it. If you have received this message in error, please delete
> it and all copies from your system and notify the sender immediately by
> return message.
>
> E-mail communication cannot be guaranteed to be timely secure, error or
> virus-free.
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bgIKi1-oKxz5PBKrVf24n6VF49j5HwlMXbU6SN8oRBjbzWTH8xlh6wTG0cLbN1nYumK2Th5fONJcg-u_rIq5$  <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bgIKi1-oKxz5PBKrVf24n6VF49j5HwlMXbU6SN8oRBjbzWTH8xlh6wTG0cLbN1nYumK2Th5fONJcgyeNbmXl$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20241014/461f51b9/attachment.html>


More information about the petsc-users mailing list