31%
09.08.2015
'
sed -n 's/Man//gp' textdata.txt
11
Replace 'Iron' with 'Tin' on line 4
cat textdata.txt | sed -n '4s/Iron/Tin/gp'
12
Replace '0' with '089' on all lines containing
31%
17.06.2017
the domain ranges from 1 to n
for both i
and j
. Therefore the iterations are over i
= 2 to n
-1 and j
= 2 to n
-1. You can write the iteration over the domain using array notation as follows:
a(2:n-1,2:n
31%
04.12.2013
3 type rec
4 integer :: x, y, z
5 real :: value
6 end type rec
7
8 integer :: counter
9 integer :: counter_limit
10 integer :: ierr
11
12 type (rec) :: my
30%
12.09.2013
=$dbh->prepare('select burncpu(?)');
12 $sth->execute((($ENV{QUERY_STRING}+0) || .5).'s');
13
14 while( my $row=$sth->fetchrow_arrayref ) {
15 print "@$row\n";
16 }
Workaround
The script is simple, but the attentive
30%
02.08.2021
SGEMM
for N = [2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192]
A = single( rand(N,N) );
B = single( rand(N,N) );
start = clock();
C = A*B;
elapsedTime = etime(clock(), start
30%
12.05.2020
68e152db7e5bb36b1cca638",
"sha256:37b9a4b2218692d028f9f26aa9cb85bf1f56d9abe612ba31304643bdb448484f",
"sha256:b16af11cbf2977eb52ba4d6cee5b713721cc19812b8c90ea1f22e7e
30%
10.09.2012
to logfiles, and it’s pretty simple to use:
[laytonjb@test1 ~]$ logger "This is a test"
...
[root@test1 ~]# tail -n 2 /var/log/messages
Aug 22 15:54:47 test1 avahi-daemon[1398]: Invalid query packet.
Aug 22 17
30%
13.04.2023
Interactive HPC applications written in languages such as Python play a very important part today in high-performance computing. We look at how to run Python and Jupyter notebooks on a Warewulf 4 ... own package; therefore, according to the module hierarchy discussed in a past Warewulf article, it should go into /opt/modulefiles/Core
. The version of Anaconda I installed was 22.9.0, which is what I
30%
30.01.2020
Fmt Attr PSize PFree
/dev/nvme0n1 vg-cache lvm2 a-- 232.88g 232.88g
/dev/sdb vg-cache lvm2 a-- <6.37t <6.37t
Say I want to use 90 percent of the slow disk: I will carve a logical
30%
05.02.2023
wgossrvc
Listing 4
setup_goss.sh Diff Additions
5a6
> GOSSVFLE='/lib/systemd/system/goss.service'
9,10c10,12
< sha256sum
< tee
---
> sha256sum
> systemctl
> tee
81a84