From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97116 invoked by alias); 28 Oct 2019 17:20:09 -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 97104 invoked by uid 89); 28 Oct 2019 17:20:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=UD:ru, HOME, H*M:yandex, H*R:D*cygwin.com X-HELO: forward106o.mail.yandex.net Received: from forward106o.mail.yandex.net (HELO forward106o.mail.yandex.net) (37.140.190.187) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Oct 2019 17:20:06 +0000 Received: from forward100q.mail.yandex.net (forward100q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb97]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 2EA5E5061296; Mon, 28 Oct 2019 20:20:03 +0300 (MSK) Received: from mxback12q.mail.yandex.net (mxback12q.mail.yandex.net [IPv6:2a02:6b8:c0e:1b3:0:640:3818:d096]) by forward100q.mail.yandex.net (Yandex) with ESMTP id 2C6117080008; Mon, 28 Oct 2019 20:20:03 +0300 (MSK) Received: from vla1-5ff4bc6b92b2.qloud-c.yandex.net (vla1-5ff4bc6b92b2.qloud-c.yandex.net [2a02:6b8:c0d:4201:0:640:5ff4:bc6b]) by mxback12q.mail.yandex.net (nwsmtp/Yandex) with ESMTP id rpUg2TVu1V-K2tGqQLx; Mon, 28 Oct 2019 20:20:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1572283203; bh=Dr7ALned3PReUTxXNPYIeaU1STt7+bJaCl0Ab1TuP1s=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=Q2wa4U4pWWMQhp4raJv0SYVN53NsfyId6gE3FS5KFcKaRoPdxeo7Ik06cPev0xhlh Ycb5pKc7o6MDOxUC7f6AT197jn7N3Vt8x6LMYb5wU72jterRDkxg29YUcDq6FmW6Kd 3He+U/IKoOJ3rZqGrZrvRXj0mewAiUZZcO6xsnJ0= Authentication-Results: mxback12q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla1-5ff4bc6b92b2.qloud-c.yandex.net (nwsmtp/Yandex) with ESMTPSA id PqnjNSlLQG-K2VuS8td; Mon, 28 Oct 2019 20:20:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 28 Oct 2019 17:17:03 -0000 Date: Mon, 28 Oct 2019 17:20:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1567900977.20191028201703@yandex.ru> To: William John , cygwin@cygwin.com Subject: Re: OPENMPI only works on Cygwin Terminal not windows Command Line In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00179.txt.bz2 Greetings, William John! > 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. Cygwin may use extension-less names to call programs. Something CMD can not do without being explicitly told to. If that's your case, you can still make symlinks to .exe'cutable names to make them recognizable by native tools. I would suggest $HOME/bin or /usr/local/bin for such custom symlinks. > 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? There are two available solutions. One is to stick to one ecosystem. If you want to use Cygwin-provided programs, stick to Cygwin environment. It's much more obvious, although sometimes daunting if you want to frequently use wide array of native console applications. Another solution is to setup your system to use Cygwin programs transparently. It requires much care and understanding of both Cygwin and Windows, and generally not advised to people without certain experience in both. -- With best regards, Andrey Repin Monday, October 28, 2019 20:11:55 Sorry for my terrible english... -- 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