10-27-2015
Yes,no problem.
Was a ram faulted.
The ASMI tell me was deconfigured,on errpt i saw a lot of
BFE4C025 i check it and said system was deconfigured.
On asmi i check if hw was deconfigured:no,running diag
from aix give no error,on asmi i check if ram was deconfigured and said yes,one dimm was deconfigured and there is no way
to get configured because was "deconfigured by OS".
Removed the pair and replace it with new ram,no more errors.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
When I give the following
$ ps -ef | grep `echo $var1` | grep -v "grep `echo $var1`" | awk '{print $3}' | grep -v `echo $var1
80892
But when I give the following (made as command substitution) , I get error
$var2=`ps -ef | grep `echo $var1` |... (2 Replies)
Discussion started by: preetikate
2 Replies
2. Programming
hi,
when i try to compile, i got the following error message, what does it mean?
$gcc auto.cpp
/usr/tmp/ccmuE12B.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
thanks (1 Reply)
Discussion started by: laila63
1 Replies
3. AIX
Is it possible to use USB with an IntelliStation 275? It has a P4 CPU and AIX OpenBeta. I would like to connect an external hard drive as backup. (3 Replies)
Discussion started by: rein
3 Replies
4. AIX
Hi ,
I am planing to buy IBM pSeries Power5 9111-285 1,9 GHz but I am confused with few things. I would be happy if you could clear it up for me ?
1.Do I have to buy some license in order to create Lpars ?
2.Do I have to buy some license in order to use HMC , micro - partiocioning , VIOS... (4 Replies)
Discussion started by: phobus
4 Replies
5. AIX
Some simple questions about Intellistation 285 and powervm.
I want to learn AIX,so i will buy an used I285 from ebay.
1)Will support aix 7.1?
2)Is powervm avaliable?Where to download or buy it?
Thanks (3 Replies)
Discussion started by: Linusolaradm1
3 Replies
6. AIX
Hi There,
I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available).
Anyone could provide me the following answer -
Can IBM VM been deploy on X86 and X64 (Intel Chip)?
If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies
LEARN ABOUT PHP
gmp_gcdext
GMP_GCDEXT(3) 1 GMP_GCDEXT(3)
gmp_gcdext - Calculate GCD and multipliers
SYNOPSIS
array gmp_gcdext (GMP $a, GMP $b)
DESCRIPTION
Calculates g, s, and t, such that a*s + b*t = g = gcd(a,b), where gcd is the greatest common divisor. Returns an array with respective
elements g, s and t.
This function can be used to solve linear Diophantine equations in two variables. These are equations that allow only integer solutions
and have the form: a*x + b*y = c. For more information, go to the "Diophantine Equation" page at MathWorld
PARAMETERS
o $a
-Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is
possible to convert the latter to a number.
o $b
-Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is
possible to convert the latter to a number.
RETURN VALUES
An array of GMP numbers.
EXAMPLES
Example #1
Solving a linear Diophantine equation
<?php
// Solve the equation a*s + b*t = g
// where a = 12, b = 21, g = gcd(12, 21) = 3
$a = gmp_init(12);
$b = gmp_init(21);
$g = gmp_gcd($a, $b);
$r = gmp_gcdext($a, $b);
$check_gcd = (gmp_strval($g) == gmp_strval($r['g']));
$eq_res = gmp_add(gmp_mul($a, $r['s']), gmp_mul($b, $r['t']));
$check_res = (gmp_strval($g) == gmp_strval($eq_res));
if ($check_gcd && $check_res) {
$fmt = "Solution: %d*%d + %d*%d = %d
";
printf($fmt, gmp_strval($a), gmp_strval($r['s']), gmp_strval($b),
gmp_strval($r['t']), gmp_strval($r['g']));
} else {
echo "Error while solving the equation
";
}
// output: Solution: 12*2 + 21*-1 = 3
?>
PHP Documentation Group GMP_GCDEXT(3)