delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/17/10:14:14

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CEAC0397304E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1605626005;
bh=xrriZ1eg05r4ST93OET7DXQjvPv1cVmdzja+gVYlpRg=;
h=Date:To:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=MnICMsNm9x9vQ8VZqyw3r/o5nM3xn3C46gH/2vgIJTgySjlad/6ymymVYtj440nzb
My+M6NbccYA8aTeG6j7/myj3RHC9b6z3ZNhpk1neeIYt+cI0u56AJN1CDw/wemoiFH
o/r+Ye/L4SxVVgiimg3vd70g/GrETQgVCB08MxGY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0E1633858006
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1605625998; bh=dUidQwuF5/3d8zTgWyMgXSZgXQwaYQwMliywmod3Q4A=;
h=Date:From:To:Subject:From:Subject;
b=KX7Xok8/g4FAWQEpRBhl/kdXRLakp6t2TZycygxm6r9UHTyxdsN0OVMGxbRBrBNDJtHdeykkwcnIsfzn3SSxgzgp3IN2rSUCwDNNljDkAmHb14mR6K5fWccU5oAaoFWMJWgdSAmQyV03Sr4UdEmQY93CJgkkODdU8Qw+9Zv2/tZuuvxDnJfctZZDzwJtuVBXjIdK7OwBN7nO5SCRewflpOTRpVnxknxJfiHPny8aEFtuj6AKqgpmtB1K5KzDnznV2f4xDtTPIK6qJC2zr8Olvhz9bd4epSgJOy37M5hexM+7XCE4nFLWP1tYaTE5DtL6GnvEX1HhNT88Hu0dMcdBoA==
X-YMail-OSG: 8G1hLUQVM1mXbeReOG_xp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TTrxsJ3Cjeeg.likyy5Pq
_FmEQbRZ8Hh.d2PGWRbb67.2aCPXkdDOdDrx1IeSnOghSlIozcZeTenR2eOxJWAFiq4yYT2OwcHy
wB8AbPBtNLtCAf74hUiR3J6V1qaQi.CCmwsLKfuZ4wmEavRgC4BAJ2VFwgwAVALayrTBl0VURmTH
ypguUEBEWOKvVIGoorf3YuH5gVctzSGxTwsFdf4w3goymvXQxYOpxM2IpvRjpddbnJDYBvH5DyQX
ByP2eR8Qo89eaAMLc5Hg7ouq9wuFJjn.buJZFzQJULK_BoVlxDtcjYYvOYl2aT0y8W.675FFMYWQ
bfhvKj4Heocq1BVTdZ1jaFJ2rl_NG11toSb4GLlLIe2m67VVS.sxcroOrjDycZctK
Date: Tue, 17 Nov 2020 15:13:16 +0000 (UTC)
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1533758124.6208727.1605625996877@mail.yahoo.com>
In-Reply-To: <2124807096.5977938.1605561666940@mail.yahoo.com>
References: <2124807096 DOT 5977938 DOT 1605561666940 DOT ref AT mail DOT yahoo DOT com>
<2124807096 DOT 5977938 DOT 1605561666940 AT mail DOT yahoo DOT com>
Subject: Re: Open MPI broken (November 2 release) ?
MIME-Version: 1.0
X-Mailer: WebService/1.1.16944 aolwebmail Mozilla/5.0 (Windows NT 10.0; Win64;
x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198
Safari/537.36 Edg/86.0.622.69
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
KAM_GOODAOL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Dennis Willen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jrwillen AT aol DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AHFDt68032212

Looks like copy/paste mangled the lines.  I'll try again.  Is the openMPI distribution not picking up all the libraries that should come along?
Denny AT DESKTOP-BEBCMC4 ~/MPI_tests$ mpifort testmpi.f90/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lhwloc/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -levent_core/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -levent_pthreads/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lzcollect2: error: ld returned 1 exit status
Denny AT DESKTOP-BEBCMC4 ~/MPI_tests$ cat testmpi.f90program testmpi!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  MPI tests for Raspberry Pi cluster.!!  - Hello World!  - Broadcast and reduce!  - Pass along real array!  -!  -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!implicit noneinclude 'mpif.h'integer:: myproc, numproc, ierr, len, istatus(mpi_status_size)character(mpi_max_processor_name):: hostnameinteger:: nreal*4:: y, z, x(1024)!!  Hello world.!call mpi_init(ierr)call mpi_comm_rank(mpi_comm_world, myproc, ierr)call mpi_comm_size(mpi_comm_world, numproc, ierr)call mpi_get_processor_name(hostname, len, ierr)write(6,'(i5,a19,a6)') myproc, ': Hello world from ', hostnamecall mpi_barrier(mpi_comm_world,ierr)!!  Broadcast and reduce.!y = 0.0z = 0.0if(myproc.eq.0) y = 1.0call mpi_bcast(y, 1, mpi_real, 0, mpi_comm_world, ierr)call mpi_reduce(y, z, 1, mpi_real, mpi_sum, 0, mpi_comm_world,  &                ierr)if(myproc.eq.0) write(6,*) numproc, ' should be ', zcall mpi_barrier(mpi_comm_world,ierr)!!  Up the chain and back to the start.!if(myproc==0) then  do n=1, 1024    x(n) = float(n)    enddoelse  do n=1, 1024    x(n) = -float(n)    enddo  call mpi_recv(x, 1024, mpi_real, myproc-1, mpi_any_tag,  &                mpi_comm_world, istatus, ierr)  endifif(myproc<numproc-1) call mpi_send(x, 1024, mpi_real,  &                      myproc+1, 1, mpi_comm_world, ierr)if(myproc==numproc-1) call mpi_send(x, 1024, mpi_real,  &                             0, 1, mpi_comm_world, ierr)x(1:1024) = 0.0if(myproc==0) then  call mpi_recv(x, 1024, mpi_real, numproc-1, mpi_any_tag,  &                               mpi_comm_world, istatus, ierr)  write(6,'(f8.2,a11,f8.2)') x(1024), ' should be ', float(1024)  endifcall mpi_barrier(mpi_comm_world,ierr)!!  Finished.!call mpi_finalize(ierr)stopend


-----Original Message-----
From: Dennis Willen via Cygwin <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Sent: Mon, Nov 16, 2020 3:21 pm
Subject: Open MPI broken (November 2 release) ?

I tried re-compiling some things after updating to openmpi 4.0.5 and am getting some unexpected failures from mpifort and mpicc:
$ mpifort -O3 testmpi.f90/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lhwloc/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -levent_core/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -levent_pthreads/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lzcollect2: error: ld returned 1 exit status
Denny AT DESKTOP-BEBCMC4 ~/MPI_tests$
I have some working executables from October 26, so I assume there is a problem or something else that I need to update.  An example causing the above problem follows.  Running Cygwin on an Intel i9-9900K.  Thanks for your help.
Example:
program testmpi!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  MPI tests for Raspberry Pi cluster.!!  - Hello World!  - Broadcast and reduce!  - Pass along real array!  -!  -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!implicit noneinclude 'mpif.h'integer:: myproc, numproc, ierr, len, istatus(mpi_status_size)character(mpi_max_processor_name):: hostnameinteger:: nreal*4:: y, z, x(1024)!!  Hello world.!call mpi_init(ierr)call mpi_comm_rank(mpi_comm_world, myproc, ierr)call mpi_comm_size(mpi_comm_world, numproc, ierr)call mpi_get_processor_name(hostname, len, ierr)write(6,'(i5,a19,a6)') myproc, ': Hello world from ', hostnamecall mpi_barrier(mpi_comm_world,ierr)!!  Broadcast and reduce.!y = 0.0z = 0.0if(myproc.eq.0) y = 1.0call mpi_bcast(y, 1, mpi_real, 0, mpi_comm_world, ierr)call mpi_reduce(y, z, 1, mpi_real, mpi_sum, 0, mpi_comm_world,  &                ierr)if(myproc.eq.0) write(6,*) numproc, ' should be ', zcall mpi_barrier(mpi_comm_world,ierr)!!  Up the chain and back to the start.!if(myproc==0) then  do n=1, 1024    x(n) = float(n)    enddoelse  do n=1, 1024    x(n) = -float(n)    enddo  call mpi_recv(x, 1024, mpi_real, myproc-1, mpi_any_tag,  &                mpi_comm_world, istatus, ierr)  endifif(myproc<numproc-1) call mpi_send(x, 1024, mpi_real,  &                      myproc+1, 1, mpi_comm_world, ierr)if(myproc==numproc-1) call mpi_send(x, 1024, mpi_real,  &                             0, 1, mpi_comm_world, ierr)x(1:1024) = 0.0if(myproc==0) then  call mpi_recv(x, 1024, mpi_real, numproc-1, mpi_any_tag,  &                               mpi_comm_world, istatus, ierr)  write(6,'(f8.2,a11,f8.2)') x(1024), ' should be ', float(1024)  endifcall mpi_barrier(mpi_comm_world,ierr)!!  Finished.!call mpi_finalize(ierr)stopend
--
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
--
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