10-06-2012
I expected the name of the library that I can use -
from the people who worked with hpl. If you do not know it, do not write.
8 More Discussions You Might Find Interesting
1. Linux Benchmarks
Should we conver to Linpack for Linux Benchmarks?
http://www.netlib.org/benchmark/hpl/
What do you think? (0 Replies)
Discussion started by: Neo
0 Replies
2. High Performance Computing
Our directory of HPC related links is growing:
Virtualization, Grid and Cloud Computing - Links
Please contribute! (0 Replies)
Discussion started by: Neo
0 Replies
3. High Performance Computing
Hi guys,
I am having some issues tuning the HPL.dat file for the Linpack benchmark test across 2 nodes. I am very new to this with minimal Linux experience, however i am trying my luck.
The specs for the two nodes are:
3GHZ QX6850 CORE 2 EXTREME (QUAD CORE)
4GB RAM
I have been typing these... (1 Reply)
Discussion started by: mercthunder
1 Replies
4. Shell Programming and Scripting
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Discussion started by: Max89
1 Replies
5. Shell Programming and Scripting
How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies
6. High Performance Computing
In my company, it's fallen on me to serve as the admin of our new HPC cluster, a task that's very new to me. It's very important to me to lay a solid foundation and avoid any unnecessary pitfalls. So, can anyone recommend a succinct guide or list of do's-and-don'ts for adiminstering an HPC cluster?... (0 Replies)
Discussion started by: DBryan
0 Replies
7. High Performance Computing
I'm trying to compile Linpack on a Ubuntu cluster. I'm running MPI. I've modified the following values to fit my system TOPdir MPdir LAlib CC LINKER.
When compiling I get the following error: (the error is at the end, the other errors in between are because I've ran the script several times so... (0 Replies)
Discussion started by: JPJPJPJP
0 Replies
8. Homework & Coursework Questions
My high school started a tech lab where students like myself can take apart computers, build circuit boards, learn to program and lots more.
I got the job of building a cluster with 4 old work stations we have. This is just a trial if it works well we can get more work stations.
We have one... (3 Replies)
Discussion started by: PC-2011
3 Replies
people(2) System Calls Manual people(2)
NAME
people - fetch a structure containing all ttys, whose owner behaves like a human
SYNOPSIS
#include <sys/people.h>
#include <asr.h>
int people (struct ppl_tty **ttys);
DESCRIPTION
The people function fetches a short description of every tty, whose coupled process behaves as an actual human.
It returns a newly malloc'ed array with just enough elements to contain all elements needed for this.
The struct ppl_tty is declared as:
struct ppl_tty {
char tty_path[MAX_PATH_LENGTH];
int is_erratic;
int uses_jobcontrol;
int is_amoron;
int is_aluser;
int has_aclue;
pid_t pgrp_leader;
};
RETURN VALUES
On success people returns the number of elements in ttys , on failure it returns -1 and errno is set to an appropriate value.
ERRORS
ENOENT There are no human-behavioured processes on the system
EBUSY The kernel is busy and will not stand this silly behaviour. Caution to call people again, from the same process, as the kernel
might kill it right away.
ENODEV See ENOENT above.
EUSERS Too many of the people found were lusers. The cut-off for this error is system dependent, but is usually about 3.
EXAMPLE
#include <sys/people.h>
#include <asr.h>
#include <signal.h>
int
main (int argc, char **argv)
{
struct ppl_tty **ttys;
int rv,c;
rv=people(ttys);
if (rv!=-1) {
for (c=0;c<rv;c++)
if ((ttys[c].is_amoron)||(ttys[c].is_aluser)) {
kill(-(ttys[c].pgrp_leader),SIGKILL);
}
} else {
; /* Handle errors in a graceful way... */
}
}
AUTHOR
This man page was written by Ingvar Mattsson, as a contribution to the a.s.r man page collection.
4th Berkeley Distribution Release 0.01 alpha people(2)