51%
19.06.2023
="unformatted")
write(2) b
close(2)
end program
The compiled code outputs the value of element (5,5)
for both the double-precision and real arrays:
./fortran_test1
a(5,5) = 9.9179648655938202
b(5,5) = 9
51%
31.10.2025
software, Postfix [2]. The story goes that the talented Venema needed to keep track of attacks on workstations at a university and wrote a piece of software capable of limiting port access by rules
51%
21.01.2020
7 1 56008 loop1
06 7 2 56184 loop2
07 7 3 91264 loop3
08 259 0 244198584 nvme0n1
09 8 0 488386584 sda
10 8 1 1024 sda1
11 8 2
51%
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
51%
22.12.2017
wall clock time = ', wtime
!
! Terminate.
!
write ( *, '(a)' ) ' '
write ( *, '(a)' ) 'HELLO_OPENMP'
write ( *, '(a)' ) ' Normal end of execution.'
!stop
end
For testing, I used f2py to build
51%
20.10.2016
), has to be specified. Here is a simple example of the declaration:
INTEGER, TARGET :: a(3), b(6), c(9)
INTEGER, DIMENSION(:), POINTER :: pt2
Another quick example of multidimension arrays
51%
02.10.2012
addresses to connect /etc/hosts.allow
, the file would simply look like this:
sshd: 10.10.10.10, 1.2.3.4, 21.21.21.21
TCP Wrappers works nicely, even if you change the standard SSH port (it’s usually TCP
50%
02.08.2021
4095
The following example creates a 1GB RAM drive:
$ sudo rapiddisk -a 1024
rapiddisk 7.2.0
Copyright 2011 - 2021 Petros Koutoupis
**
Attached device rd0 of size 1024 Mbytes
As mentioned
50%
10.06.2015
to the first sed I know that here is only a SINGLE space
45 display_list="$(sed ':a;N;$!ba;s/\n / /g'<<<"$xrandr_current" | sed \
-n -e 's/^\([a-zA-Z0-9_-]\+\) connected.* \([0-9]\+\)mm.* \([0-9]\+\)mm
50%
07.11.2011
for [clauses ...]
for (i=0;i<N;i++) {
a[i]= i*i; /* parallelized */
}
... /* one thread */
Also, you can combine the two compiler directives, parallel
and sections
, to form a single directive