Re: Couldn't compute FAST_CWD pointer

2020-10-01 Thread Andrey Repin via Cygwin
Greetings, Alice Bilton!

>>
>> I am a Sheffield University student trying to install MASS software.
>> However, during the process I have received the following message a number
>> of times:
>> 
>> 
>> The problem is that the MASS software is meant for an older version of
>> Cygwin which has not been shipped in 10 years. The error is misleading and
>> from when Cygwin was a commercial product. The professor who assigned this
>> software will need to find a newer version for students.
>> 

> Thank you for getting back to me so quickly!. Do you mean that my professor
> needs to find a newer version of Cygwin or Mass, for it to work?

See the KB article linked by the bot: 
https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

Also, please no top-posting in this list.


-- 
With best regards,
Andrey Repin
Thursday, October 1, 2020 12:41:41

Sorry for my terrible english...

--
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


Re: test -r or -x always return false on an NFS mount?

2020-10-01 Thread Mario Emmenlauer


On 22.09.20 22:14, Mario Emmenlauer wrote:
> But since today I met a problem: I mounted a Linux NFSv3 share using
> the Windows 10 shipped NFS client. The user and group ID are mapped
> via registry settings AnonymousUid and AnonymousGid in the entry
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default
> 
> Everything seems to work quite well, and in `ls -la` I can see the
> file permissions and user and group entries. But when using `test`
> to check for read (`test -r`) or execute permissions (`test -x`), it
> always returns false, even for readable files. `ls` on the other hand
> shows the permissions correctly, and `cat`ing the files works without
> problems.
> 
> I've read https://cygwin.com/cygwin-ug-net/using-filemodes.html
> about the Cygwin file permissions for NFS, and also the NFS account
> mapping at https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nfs,
> but as far as I can see, they are both unrelated. Google turned up no
> useful hits for keywords "cygwin" "test" and "nfs", so I'm a bit at the
> end of my wit.
> 
> Is this a known issue, and/or are there any workarounds? I'm currently
> using `test -e` in place of read or execute checks, but it basically
> breaks all my build scripts.

Is there something I should do about this issue? I could look into the
source code of `test` on Cygwin if someone can point me to the correct
repository? Or should I just file an issue?

The issue is not a super high priority for me personally, but I guess
its quite a limitation of Cygwin if essential scripting functionality
is misbehaving on NFS.

All the best,

Mario Emmenlauer

--
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 with OpenMPI

2020-10-01 Thread Rudnei Dias da Cunha via Cygwin
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


ca-certificates upgrade for Comodo CA rebrand as Sectigo

2020-10-01 Thread Brian Inglis
curl and wget fail or need curl -k --insecure or wget --no-check-certificates
against sites such as https://astro.ukho.gov.uk/ which Chromium allows okay.

I have upgraded ca-certificates locally to current NSS_BUILTINS_LIBRARY_VERSION
2.42 whoch should hopefully handle updates for Comodo CA expiries, transitions,
and rebranding to Sectigo last year.

But curl and wget still have the same issues, so what am I missing?
Is there another global nssdb or cert.db I have to update with certutil, where
is it, and what do I run?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
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


Re: Problem with OpenMPI

2020-10-01 Thread Marco Atzeri via Cygwin

On 01.10.2020 16:47, Rudnei Dias da Cunha via Cygwin wrote:

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


there are not so many user of mpifort
but I do not see the problem building the examples:


$ make
mpicc -g  hello_c.c  -o hello_c
mpicc -g  ring_c.c  -o ring_c
mpicc -g  connectivity_c.c  -o connectivity_c
make[1]: Entering directory '/pub/devel/openmpi/examples64'
make[2]: Entering directory '/pub/devel/openmpi/examples64'
mpifort -g  hello_mpifh.f  -o hello_mpifh
mpifort -g  ring_mpifh.f  -o ring_mpifh
make[2]: Leaving directory '/pub/devel/openmpi/examples64'
make[2]: Entering directory '/pub/devel/openmpi/examples64'
mpifort -g  hello_usempi.f90  -o hello_usempi
mpifort -g  ring_usempi.f90  -o ring_usempi
make[2]: Leaving directory '/pub/devel/openmpi/examples64'
make[2]: Entering directory '/pub/devel/openmpi/examples64'
mpifort -g  hello_usempif08.f90  -o hello_usempif08
mpifort -g  ring_usempif08.f90  -o ring_usempif08
make[2]: Leaving directory '/pub/devel/openmpi/examples64'
make[1]: Leaving directory '/pub/devel/openmpi/examples64'


$ cat hello_usempi.f90
!
! Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
! University Research and Technology
! Corporation.  All rights reserved.
! Copyright (c) 2004-2005 The Regents of the University of California.
! All rights reserved.
! Copyright (c) 2006-2015 Cisco Systems, Inc.  All rights reserved.
! $COPYRIGHT$
!
! Sample MPI "hello world" application using the Fortran mpi module
! bindings.
!
program main
use mpi
implicit none
integer :: ierr, rank, size, len
character(len=MPI_MAX_LIBRARY_VERSION_STRING) :: version

call MPI_INIT(ierr)
call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)
call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierr)
call MPI_GET_LIBRARY_VERSION(version, len, ierr)

write(*, '("Hello, world, I am ", i2, " of ", i2, ": ", a)') &
  rank, size, version

call MPI_FINALIZE(ierr)
end



--
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