From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116898 invoked by alias); 28 Oct 2019 04:59:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 116848 invoked by uid 89); 28 Oct 2019 04:59:50 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Oct 2019 04:59:49 +0000 Received: from [192.168.178.45] ([95.91.209.141]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MRnXY-1iZJFo2GoU-00TGmg for ; Mon, 28 Oct 2019 05:59:46 +0100 Subject: Hard links [was: Re: OPENMPI only works on Cygwin Terminal not windows Command Line] To: cygwin@cygwin.com References: From: Thomas Wolff Message-ID: <94318bef-1db5-6220-5b05-c16d8dcb40a2@towo.net> Date: Mon, 28 Oct 2019 04:59:00 -0000 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 X-SW-Source: 2019-10/txt/msg00174.txt.bz2 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