hi, all,
i saw a syntax like this
usr/local/mpiexec -np 8 /home/XXXX/program_exe >& ./temp/out
the output will be put into ./temp/out.
I want to know the meaning of the operation symbol '>&'.
Thanks (3 Replies)
I have a txt file with several columns and i want to peform an operation on two columns and output it to a new txt file .
file.txt
900.00000 1 1 1
500.00000
500.00000
100000.000
4
4
1.45257346E-07 899.10834 ... (4 Replies)
I use this simple command
result=$(echo "7 / 9" |bc -l)
echo $result
.77777777777777777777
.... but I like to get
0.7777777777777777777
How can I do in order to get also the 0 ?
How to use code tags when posting data and code samples. (3 Replies)
I want to perform the below division operation in shell script and round the value.
val1=6000
val2=5000
res=val1/val2 ----> 1.2---> Round to 2
Please help. (3 Replies)
I'm new to scripts, i wrote the below script to capture the percentage of FreeMemory available in Linux box. Output of UsedfreeMemory is displayed as '0'.
I'm expecting the output like 0.89 (or) .89 --- ( 0.89 perferable)
Anyone can help me on this pls.
... (3 Replies)
Hi All,
I want to display the distinct values in the file and for each distinct value how may occurance or there.
Test data:
test1.dat
20121105
20121105
20121105
20121105
20121106
20121106
20121106
20121105
I need to display the output like
Output (2 Replies)
Hi, to everybody
i have a string which Looks like this
FT47;3;1;1;;;1;09.02.2017 21:21:19;2;2
and i would like to change to value on one Position only
e.g. the values on Position 6 should change to 1 nevertheyless which values was there before
AIX 4.3.2.0 and csh
i try... (10 Replies)
Have three files. Any other approach with regards to file concatenation or splitting, etc is appreciated
If column55(billngtype) of file1 contains YMNC or YPBC then pick the value of column13(documentnumber). Now find this documentnumber in column1(Billdoc) of file2 and grep the corresponding... (4 Replies)
Discussion started by: as7951
4 Replies
LEARN ABOUT CENTOS
csrscl
csrscl.f(3) LAPACK csrscl.f(3)NAME
csrscl.f -
SYNOPSIS
Functions/Subroutines
subroutine csrscl (N, SA, SX, INCX)
CSRSCL multiplies a vector by the reciprocal of a real scalar.
Function/Subroutine Documentation
subroutine csrscl (integerN, realSA, complex, dimension( * )SX, integerINCX)
CSRSCL multiplies a vector by the reciprocal of a real scalar.
Purpose:
CSRSCL multiplies an n-element complex vector x by the real scalar
1/a. This is done without overflow or underflow as long as
the final result x/a does not overflow or underflow.
Parameters:
N
N is INTEGER
The number of components of the vector x.
SA
SA is REAL
The scalar a which is used to divide each component of x.
SA must be >= 0, or the subroutine will divide by zero.
SX
SX is COMPLEX array, dimension
(1+(N-1)*abs(INCX))
The n-element vector x.
INCX
INCX is INTEGER
The increment between successive values of the vector SX.
> 0: SX(1) = X(1) and SX(1+(i-1)*INCX) = x(i), 1< i<= n
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
September 2012
Definition at line 85 of file csrscl.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 csrscl.f(3)