Hard links [was: Re: OPENMPI only works on Cygwin Terminal not windows Command Line]
Thomas Wolff
towo@towo.net
Mon Oct 28 04:59:00 GMT 2019
Am 27.10.2019 um 21:04 schrieb Brian Inglis:
> On 2019-10-27 13:21, Thomas Wolff wrote:
> ...
>> Change the soft link to a hard link, in cygwin, with an exe suffix.
> Cygwin needs to be running Windows 10 in dev mode with WSL installed to enable
> this without elevation I think.
> Otherwise you will need an elevated shell, and be careful if you use mklink, as
> the arguments are swapped from ln:
>
> > REM mklink /h LINK_NAME TARGET
> > mklink /h C:\cygwin64\bin\mpicc.exe C:\cygwin64\bin\opalwrapper.exe
> > mklink /h C:\cygwin64\bin\mpiexec.exe C:\cygwin64\bin\opalwrapper.exe
Additional privileges are required for Windows *soft* links. Hard links have always worked without. You can use cygwin ln alike.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list