delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <BA8A52925D25D41197DF00805FAD2C620120469C@INETSVR.coi-world.com> |
From: | "Jensen, Brent" <bjensen AT coi-world DOT com> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | From Brent Jensen |
Date: | Wed, 1 Aug 2001 09:13:12 -0700 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
I have a large (memory intensive) fortran program that requires knowing the physical memory resident on the pc it runs on. I prefer to run the fortran on cygwin's g77. Is there an easy way to obtain the physical memory resident on any given pc from inside g77? I have thought of using a script to run the fortran and write physical memory to a file which the fortran can then read. However, I don't know how to write total physical memory to a file in windows 2000 or NT. I have also thought about converting the fortran to c, using f2c, distributed in linux. Others have told me there are interfaces that can obtain physical memory size in C. Am I on the right track or is the some API connection in g77 that can handle this. Thanks to anyone that may know more about this. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |