delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/01/10:49:22

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2CF7398B456
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1601563721;
bh=MrxoMLdrkw+KIqNhgP9GJtTCVPOWkMLtMIaahnOAM/o=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=jJ2DJ06oRSGDwXYweSnr/jsLhP1KaCRTh+rTnSUMT6DGLvdGWP2pb3cDKkaDNzKXV
omc3RDETgUha1fBUQPEIX2iSVaJrlb2iYotdh2FmsJ9dbuMcQSToKGkPr7n46r4N+x
JaQAMAgsIyYi2Prfq7HAVbO+Q06OuFTV9uHMvk5A=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0E090385703A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=Dqcdl6Plj9Os5KWbFTfhi07WYn7m5szMyidjnbp5CnI=;
b=Ou4cXE/K1jrrE88kOkCzRMCx3poSAgxHjjwgpLwu1PsjnKH87wpHVpmh+0oZwEONvS
iSqC0NyMOmyExx/qSsgm+n7HYT7VKYivlgND36ozcsp6zHXy7L0vjrbNgY4blpjO5Pio
WPyWJXuiGy+VCaWKHsmjgdPjRgLbMHSCHVt0VEB2VlOLCufFXye04UF5+WSRApd6vDvH
smSnmu7jEdn1X4O5TjZB+0BhJVn2WFaOPmfdorc+OfmVZGsFXUi5uCI9q/gd9NQNtz/O
u1bvh4RTvQrDy/2pWIy7oZHedVWZinyKf6DRloSPQBn5A7r8OHPJQ4JacmBQgbd2Ld7R
gBNA==
X-Gm-Message-State: AOAM5300/mKyezmJ0/OLVkXKpuKrR9yZ9ehiqaNH4Iv3gFT8Jl3Ov2ao
g/WEXCXyTnXI36RyLVLUarN4RFJaSfFPV7/2FBupthg5pvpMp8Gw
X-Google-Smtp-Source: ABdhPJwjRXs/FT5lBuEd8Vrcl+Qy2GsGfGE/vqMG8Blu+64P8e1IJ4/yB8AaYQFaNmFW/APGOrzb4YLwmoWnGf3N3ig=
X-Received: by 2002:a05:6638:144f:: with SMTP id
l15mr6436855jad.5.1601563717919;
Thu, 01 Oct 2020 07:48:37 -0700 (PDT)
MIME-Version: 1.0
Date: Thu, 1 Oct 2020 11:47:21 -0300
Message-ID: <CAL8czr2kheRUF+PPt6RinGdoYROc82hXEUGzcA7Lsa_gt680iA@mail.gmail.com>
Subject: Problem with OpenMPI
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-2.9 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.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Rudnei Dias da Cunha via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Rudnei Dias da Cunha <rudnei DOT cunha AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 091En7ov005338

Hi,
I have installed all the relevant OpenMPI packages to develop programs in
Fortran but found a problem when compiling programs in Fortran 90 with the
clause

use mpi

as mpifort then complains:

$ mpifort hello_usempi.f90
hello_usempi.f90:13:9:

   13 |     use mpi
      |         1
Fatal Error: Cannot open module file ‘mpi.mod’ for reading at (1): No such
file or directory

The workaround was to use

mpifort -J/usr/lib

as /usr/lib is the directory where mpi.mod resides after the installation
of the OpenMPI packages.

Has anyone found this before? Shouldn't the flag -J/usr/lib be issued as
part of the string issued by mpifort?

Regards
Rudnei
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019