From: "Xin Ai" <xai@mail.wsu.edu>
Subject: Re: Unix System Command
Date: Tue, 20 Aug 2002 14:24:25 -0700 [thread overview]
Message-ID: <ajubup$cnt1$1@murrow.it.wsu.edu> (raw)
In-Reply-To: Kcx89.29$x47.828576@news.cpqcorp.net
The "practically idle" situation is what I am really concerning on. I am
running a parallel Fortan code (using openMP) on a public supercomputer.
Sometimes the performance of the parallel code is even much worse than the
sequential code if the computer is busy. So I am wondering if I can use
some Unix system command to detect how many CPUs are really available, then
I can let the parallel code to run with the maximum number of CPUs it can
be.
Thanks
"Alan Rollow - Dr. File System's Home for Wayward Inodes."
<alan@nabeth.cxo.cpqcorp.net> wrote in message
news:Kcx89.29$x47.828576@news.cpqcorp.net...
> In article <ajttr2$c9g6$1@murrow.it.wsu.edu>, "Xin Ai" <xai@mail.wsu.edu>
writes:
>
> >Is there an unix system command that can be used to check out how many
> >processors are available on a supercomputer at a certain time?
>
> Depends on how you define "available". As someone else noted, you
> can use "sizer -p" to get the number. You can use psrinfo(1) to
> the state of each CPU. If online counts as available, this may
> be more useful to you than sizer. If you want available to mean
> "practically idle" that gets harder.
> >
> >Thanks
> >
> >
> >
> --
> Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
>
next prev parent reply other threads:[~2002-08-20 21:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-20 17:23 Unix System Command Xin Ai
2002-08-20 18:23 ` Marre des Spameurs qui prennent les add dans les news [SauroN]
2002-08-20 19:59 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2002-08-20 21:24 ` Xin Ai [this message]
2002-08-21 19:58 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2002-08-21 8:45 ` Ralf Eichmann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox