49%
05.12.2019
).
Figure 1: Flattening a 2D array in C or C++.
Listing 3
inspect.c
#include
**
int a[4][5] = { // array of 4 arrays of 5 ints each, a 4x5 matrix
{ 1, 2, 3
49%
31.10.2025
of Ubuntu on the virtual machine. The virtual machine uses one CPU (core) and 128MB of RAM.
The filesystem is created as a QCOW2 image file of 4GB. Of these, 3GB are reserved for the system partition
49%
15.12.2016
are over i
= 2,n
− 1 and j
= 2,n
−1. Here is how you can write the iteration over the domain using array notation:
a(2:n-1,2:n-1) = 0.25 * &
(a(1:n-2,2:n) + a(3:n,2:n) + a(2:n,1:n-2) + a(2:n,3:n ... Modern Fortran – Part 2
49%
30.11.2025
# Header for user-specific report
19 printf("%2s\t%4s\t%4s\tD=%2d\n", "N", "Xdat", "Xpdq", MAXDUMMIES);
20
21 foreach $users (sort {$a <=> $b} @vusers) {
22 pdq::Init($model);
23 $pdq::streams = pdq
49%
12.02.2014
B hald-addon-input
...
22.9 MiB + 4.0 MiB = 26.9 MiB plasma-desktop
26.0 MiB + 5.7 MiB = 31.7 MiB konsole (3)
28.3 MiB + 4.4 MiB = 32.7 MiB kwin
41.0 MiB + 2.0 MiB = 43.0 MiB Xorg
146.9
49%
30.11.2025
lxc.cgroup.devices.allow = c 1:9 rwm
25 lxc.cgroup.devices.allow = c 1:8 rwm
26 lxc.cgroup.devices.allow = c 136:* rwm
27 lxc.cgroup.devices.allow = c 5:2 rwm
28 # rtc
29 lxc.cgroup.devices.allow = c
49%
16.01.2013
$ starcluster start -s 1 foocluster -n ami-999d49f0
$ starcluster get foocluster /opt/sge6-fresh .
$ starcluster terminate foocluster
$ starcluster start -o -s 1 -i t1.micro -n ami-e2a0058b imagehost
49%
01.06.2024
simulations.
sudo apt install openmpi-bin openmpi-common openmpi-doc libopenmpi-dev
The code as listed runs 1 million iterations, which I can launch over two Xeon Broadwell cores,
mpiexec -n 2 mpi
49%
09.01.2019
of the loop, n
, is large enough, some processing hardware can greatly speed up the computation.
What happens if z(i)
depends on a previous value, as in the following:
do i = 2,n
z(i) = z(i-1)*2
enddo
49%
12.05.2021
.xz 100%[=============================================================================================>] 1.77M 8.85MB/s in 0.2s
2021-03-21 15:40:30 (8.85 MB/s) - ‘perf-5.9.0.tar.xz’ saved [1857268