This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Hard links [was: Re: OPENMPI only works on Cygwin Terminal not windows Command Line]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]