delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/23/10:19:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: real beginer
Date: Tue, 23 Oct 2012 07:19:13 -0700
Lines: 36
Message-ID: <k66912$f1r$1@ger.gmane.org>
References: <1350998927796-93898 DOT post AT n5 DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
In-Reply-To: <1350998927796-93898.post@n5.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 10/23/2012 06:28 AM, Trixie wrote:
> I'm real beginner with cygwin, actually linux and everything related.
> But i need to instal and use certain fortran based program. I installed
> cygwin and several packages. I'm trying to call certain module and all i get
> is
> bash: module: command not found
What is "module"? What's it supposed to be? Where did you get it? Where 
did you install it to?

Execution of scripts/binaries in Cygwin is not very much unlike 
execution of such commands in Windows cmd. The command name is searched 
for using the PATH environment variable. The difference really is 
Windows paths vs POSIX paths. That said, what do you see when you do 
"echo $PATH" in your bash shell?
> I googled it up and i found the solution that i should call
> /etc/profile.d/modules.sh before my module. but there is now module.sh in my
> /profile.d folder! Did i miss some package to install? What should i do?
> Please help! I desperately need to start that program :(((
Later on you mention that "that program" is "BigDFT 
<http://inac.cea.fr/L_Sim/BigDFT/>". This appears to be a package 
distributed in source form. So now you have get it and build it. The 
build instructions mention nothing about Cygwin at all. So, effectively, 
you're talking about porting this program to Windows in the Cygwin 
environment. This is a very ambitious project for somebody who 
admittedly is a real beginner with Cygwin and Linux and everything 
related. Not impossible but a very, very big thing.  The install 
instructions talk about Fortran (so you'll need to install Fortran on 
Cygwin if you plan to go further) and using Intel's Fortran compiler as 
well as a C compiler. This is not a task for beginners unless they are 
tenacious in their goal of getting this done.

I would highly recommend you contact the developers of BigDFT and ask if 
they have considered porting it to Cygwin.
-- 
Andrew DeFaria <http://defaria.com>
And whose cruel idea was it to put an S in the word Lisp?


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019