delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=vif7knlm7giPsNrh | |
BytUGZNJ7NzRw+9/eoR3h15i4vYld2fegiMxUyKCeqWg7wnwCa2NLt9EPqVAosuH | |
X9wa54sOh8m6OAUhozocvH6pM5f/vRk1QX0VbRFhuwJl2M7bUNlEsrv66zixsQSj | |
zmuaAAr0nzvWT0JMW7d5N0z56F4= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=uSNkJlOClXTXEDon055tM5 | |
3cGWQ=; b=QrDBbZpM2odYYLFRqI/ft/dFAQxQRJwFC0swlFfZQ6bWRKITU9gda0 | |
O/snjZeX4EfXXjJGPKVMXvpt8rCgsr5UpBP7QqA2puS3xZ++McctYCxstP9cGLgw | |
nwQlsMRxgIJhYl5GiduM72fqNS/q8NktTM/Z5O0t5mpI6Wz3ELEdA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Wolff, wolff, Manager |
X-HELO: | smtp-out-no.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: OPENMPI only works on Cygwin Terminal not windows Command Line |
To: | cygwin AT cygwin DOT com |
References: | <CAK=LkowuGPCG-OEg8Sfo-kwr07xQBGVWj6fvjv9ueFTV-Umn_g AT mail DOT gmail DOT com> <CAK=LkozzXqD2Wcdifi3+QdXNhSOWNXm=DvvYJvcZbrM3U5tDRA AT mail DOT gmail DOT com> <bb6c2e33-d5e6-08a0-0354-5ba2a8815373 AT towo DOT net> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <b060cbdb-c3e9-e08d-eba2-763e5fc97d88@SystematicSw.ab.ca> |
Date: | Sun, 27 Oct 2019 14:04:33 -0600 |
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: | <bb6c2e33-d5e6-08a0-0354-5ba2a8815373@towo.net> |
X-IsSubscribed: | yes |
On 2019-10-27 13:21, Thomas Wolff wrote: > Am 27.10.2019 um 19:56 schrieb William John: >> On Sat, Oct 26, 2019 at 11:33 PM William John <wj552 AT nyu DOT edu> wrote: >>> I recently installed openmpi and libopenmpi-devel on my windows machine. >>> However, I cannot call mpicc on my windows cmd, rather I get "'mpicc' is >>> not recognized as an internal or external command, operable program or >>> batch file". This is weird because I have added C:\cygwin64\bin >>> and C:\cygwin64 to my System variables. The command mpicc --version also >>> works on my cygwin terminal so I am kind of confused here as to what to do >>> with the set up. I checked the bin inside cygwin64 and I found mpicc and >>> mpiexec, I am just confused as to what is going on with the configuration >>> for my windows command line. Would it be possible to direct me to a >>> solution or to help me with this? >> I did add it to the Path and also restarted the computer and the command >> line. I do see that the file mpicc is a symbolic link to opalwrapper >> executable file and windows cannot recognize that. Is there some way to >> remedy this? > 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 > And you really don't need to restart Windows after changing an environment > variable. Just close and reopen any cmd or other shell processes, including Windows File Explorer, if necessary for Windows Shell Extensions, from Task Manager/Processes tab/Windows Explorer/menu Restart. > Also, please don't "top-post" here. Show *AND* Tell ;^> -- 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. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |