X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=f5Q8SCDUyfP/4l6Z WUNOrtMfbrD1WdKo/zGJYd38nopejDqZrV9xLqa42a3LSjGMQyzY2oVtFy8EXJkY 4u8mbqSbryzWWyQQ2RiD8N2a60s8+50VJmzmHqZD0sPvjYBs/CYJWFMqOf2JLCJv y2J93R28m0t9+P5gzSHIVvdzxR8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=1mJ3qCtNEDpybCioASFzNg zmsic=; b=AWofxDbE22eAkqSIdrzdvQzyapHdyYuAbmrq4ha9LPsdznQ29zVsA+ VZZ8TGTfzpfUkGZvL6bU2d5NM8+TPSJrYep8qIZSm1j1EOHBjmN+YYNw9cgXanLU M78P1BU18lE+AT9sr+kk7i7FNSF7Wt5Vh4mxHZoVMlrKkYWEVJDXk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: mout.kundenserver.de Subject: Hard links [was: Re: OPENMPI only works on Cygwin Terminal not windows Command Line] To: cygwin AT cygwin DOT com References: From: Thomas Wolff Message-ID: <94318bef-1db5-6220-5b05-c16d8dcb40a2@towo.net> Date: Mon, 28 Oct 2019 05:59:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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