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@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(myprochttps://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Updated: gmp-6.2.1-1
GNU Multiple Precision Arithmetic Library = GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface. --8<---cut here---start->8--- Changes in GMP 6.2.1 BUGS FIXED A possible overflow of type int is avoided for mpz_cmp on huge operands. Overflows are more carefully detected and reported for mpz_pow_ui. A bug in longlong.h for aarch64 sub_ddmmss, not affecting GMP, was healed. Mini-GMP: mpz_out_str and mpq_out_str now correctly handle out of range bases. FEATURES C90 compliance. Initial support for Darwin on arm64, and improved portability. Support for more processors. SPEEDUPS None, except indirectly through recognition of new CPUs. --8<---cut here---end--->8--- -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
cygwin@cygwin.com
On Mon, Nov 16, 2020 at 12:44:33PM -0800, Stephen Carrier wrote: > On Sun, Nov 15, 2020 at 02:03:28PM -0700, Keith Christian via Cygwin wrote: > > Cygwin people, > > > > Running with this version of Cygwin. > > CYGWIN_NT-10.0 DESKTOP-ASERVER 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 > > Cygwin > > > > Windows info: > > $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional, > > 64-bit (build 18363) > > > > I installed using cron-config, and created the cyg_server user.cron > > starts OK, but does not appear to execute the crontabs. > > No messages or errors in /var/log/cron.log. > > > > $ cygrunsrv -Q cron > > Service : cron > > Display name: Cron daemon > > Current State : Running > > Controls Accepted : Stop > > Command : /usr/sbin/cron -n > > What's the output of "cygrunsrv -V -Q cron"? > > What are the file permissions on /var/log/cron.log? ("ls -l > /var/log/cron.log"). The uid running cron needs write permission there. > > I run cron from the Local System account, which can setuid to other users. > I don't know the circumstances where one should still use a non-SYSTEM > account with Windows 10, but they aren't mine and I recommend running > as SYSTEM if possible. > > Stephen I have also found the output of "cronevents" helpful. -- 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
cygwin@cygwin.com
On Sun, Nov 15, 2020 at 02:03:28PM -0700, Keith Christian via Cygwin wrote: > Cygwin people, > > Running with this version of Cygwin. > CYGWIN_NT-10.0 DESKTOP-ASERVER 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin > > Windows info: > $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional, > 64-bit (build 18363) > > I installed using cron-config, and created the cyg_server user.cron > starts OK, but does not appear to execute the crontabs. > No messages or errors in /var/log/cron.log. > > $ cygrunsrv -Q cron > Service : cron > Display name: Cron daemon > Current State : Running > Controls Accepted : Stop > Command : /usr/sbin/cron -n What's the output of "cygrunsrv -V -Q cron"? What are the file permissions on /var/log/cron.log? ("ls -l /var/log/cron.log"). The uid running cron needs write permission there. I run cron from the Local System account, which can setuid to other users. I don't know the circumstances where one should still use a non-SYSTEM account with Windows 10, but they aren't mine and I recommend running as SYSTEM if possible. Stephen -- 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