Skip to content

Commit 6659034

Browse files
committed
lint: Remove all the trailing whitespace
1 parent 63c0ebb commit 6659034

File tree

12 files changed

+50
-50
lines changed

12 files changed

+50
-50
lines changed

CITATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Additionally, if you use Devito for distributed runs, you may want to cite the f
4141
@misc{bisbas2024automatedmpixcodegeneration,
4242
title={Automated MPI-X code generation for scalable finite-difference solvers},
4343
author={Bisbas, George and Nelson, Rhodri and Louboutin, Mathias and Luporini, Fabio and Kelly, Paul H.J. and Gorman, Gerard},
44-
booktitle={2025 IEEE International Parallel and Distributed Processing Symposium (IPDPS)},
45-
title={Automated MPI-X Code Generation for Scalable Finite-Difference Solvers},
44+
booktitle={2025 IEEE International Parallel and Distributed Processing Symposium (IPDPS)},
45+
title={Automated MPI-X Code Generation for Scalable Finite-Difference Solvers},
4646
year={2025},
4747
volume={},
4848
number={},

FAQ.md

Lines changed: 20 additions & 20 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ provided with Devito or create your own notebooks.
9595
instructions and other options. If you encounter a problem during installation, please
9696
see the
9797
[installation issues](https://github.com/devitocodes/devito/wiki/Installation-Issues) we
98-
have seen in the past.
98+
have seen in the past.
9999

100100
## Resources
101101

@@ -126,4 +126,4 @@ are facing issues or just trying it out, join the
126126
[conversation](https://join.slack.com/t/devitocodes/shared_invite/zt-2hgp6891e-jQDcepOWPQwxL5JJegYKSA).
127127

128128
## Interactive jupyter notebooks
129-
The tutorial jupyter notebook are available interactively at the public [binder](https://mybinder.org/v2/gh/devitocodes/devito/main) jupyterhub.
129+
The tutorial jupyter notebook are available interactively at the public [binder](https://mybinder.org/v2/gh/devitocodes/devito/main) jupyterhub.

docker/Dockerfile.amd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ RUN rm -rf /tmp/ucx && rm -rf /tmp/ompi
8484
# Adding OpenMPI and UCX to Environment
8585
ENV PATH=$OMPI_HOME/bin:$UCX_HOME/bin:$PATH \
8686
LD_LIBRARY_PATH=$OMPI_HOME/lib:$UCX_HOME/lib:$LD_LIBRARY_PATH \
87-
C_INCLUDE_PATH=$OMPI_HOME/include:$UCX_HOME/include:$C_INCLUDE_PATH \
88-
CPLUS_INCLUDE_PATH=$OMPI_HOME/include:$UCX_HOME/include:$CPLUS_INCLUDE_PATH \
87+
C_INCLUDE_PATH=$OMPI_HOME/include:$UCX_HOME/include:$C_INCLUDE_PATH \
88+
CPLUS_INCLUDE_PATH=$OMPI_HOME/include:$UCX_HOME/include:$CPLUS_INCLUDE_PATH \
8989
CPATH=$OMPI_HOME/include:$UCX_HOME/include:$CPATH \
9090
INCLUDE=$OMPI_HOME/include:$UCX_HOME/include:$INCLUDE \
9191
PKG_CONFIG_PATH=$OMPI_HOME/lib/pkgconfig:$UCX_HOME/lib/pkgconfig:$PKG_CONFIG_PATH

docker/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# architectures using GCC compilers and OpenMPI.
55
##############################################################
66

7-
# Base image
7+
# Base image
88
FROM ubuntu:22.04 AS base
99

1010
ARG gcc=""

docker/Dockerfile.nvidia

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ RUN echo "$HPCSDK_HOME/cuda/lib" >> /etc/ld.so.conf.d/nvidia.conf && \
121121
echo "$HPCSDK_HOME/compilers/lib" >> /etc/ld.so.conf.d/nvidia.conf && \
122122
echo "$HPCSDK_HOME/comm_libs/mpi/lib" >> /etc/ld.so.conf.d/nvidia.conf && \
123123
echo "$HPCSDK_CUPTI/lib64" >> /etc/ld.so.conf.d/nvidia.conf && \
124-
echo "$HPCSDK_HOME/math_libs/lib64" >> /etc/ld.so.conf.d/nvidia.conf
125-
124+
echo "$HPCSDK_HOME/math_libs/lib64" >> /etc/ld.so.conf.d/nvidia.conf
125+
126126
# Compiler, CUDA, and Library paths
127127
# CUDA_HOME has been deprecated but keep for now because of other dependencies (@mloubout).
128128
ENV CUDA_HOME=$HPCSDK_HOME/cuda

docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Devito] Docker image library
22

3-
In order to facilitate the dissemination, usage, and development of Devito, we provide a series of Docker images. These images support numerous architectures and compilers and are tagged accordingly. You can find all the available images at [DevitoHub](https://hub.docker.com/r/devitocodes/). The following describes the available images and the workflow to build it yourself.
3+
In order to facilitate the dissemination, usage, and development of Devito, we provide a series of Docker images. These images support numerous architectures and compilers and are tagged accordingly. You can find all the available images at [DevitoHub](https://hub.docker.com/r/devitocodes/). The following describes the available images and the workflow to build it yourself.
44

55
## [Devito] images
66

@@ -17,7 +17,7 @@ These images provide a working environment for any CPU architecture and come wit
1717
To run this image locally, you will first need to install `docker`. Then, the following commands will get you started:
1818

1919
```bash
20-
# Pull image and start a bash shell
20+
# Pull image and start a bash shell
2121
docker run --rm -it -p 8888:8888 -p 8787:8787 -p 8786:8786 devitocodes/devito:gcc-latest /bin/bash
2222
docker run --rm -it -p 8888:8888 -p 8787:8787 -p 8786:8786 --device=/dev/infiniband/uverbs0 --device=/dev/infiniband/rdma_cm devitocodes/devito:gcc-latest /bin/bash
2323

docker/Singularity.nvidia.def

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ From: python:3.8
33

44
%help
55
##############################################################
6-
# This Dockerfile contains the additional NVIDIA compilers,
7-
# libraries, and plugins to enable OpenACC and NVIDIA GPU
6+
# This Dockerfile contains the additional NVIDIA compilers,
7+
# libraries, and plugins to enable OpenACC and NVIDIA GPU
88
# acceleration of Devito codes.
99
#
10-
# BUILD:
10+
# BUILD:
1111
# singularity build --fakeroot devito.nvidia.sif docker/Singularity.nvidia.def
1212
#
13-
# RUN:
13+
# RUN:
1414
# singularity run --nv --writable-tmpfs devito.nvidia.sif
1515
##############################################################
1616

@@ -75,11 +75,11 @@ export DEVITO_LANGUAGE="openacc"
7575
export DEVITO_PLATFORM=nvidiaX
7676

7777
# Options: [unset, 1] For PGI openacc; Should only be set after a first execution of the benchmark
78-
# export DEVITO_JIT_BACKDOOR=1
78+
# export DEVITO_JIT_BACKDOOR=1
7979

8080
# Enable logging, Options: [unset, PERF, DEBUG]
8181
export DEVITO_LOGGING=DEBUG
82-
#export PGI_ACC_TIME=1
82+
#export PGI_ACC_TIME=1
8383

8484
# Set the home directory to our app user's home.
8585
export HOME=/app
@@ -89,7 +89,7 @@ export APP_HOME=/app
8989

9090
export DEBIAN_FRONTEND=noninteractive
9191

92-
# nodesource: nvdashboard requires nodejs>=10
92+
# nodesource: nvdashboard requires nodejs>=10
9393
echo 'deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' > /etc/apt/sources.list.d/nvhpc.list && \
9494
apt-get update -y && \
9595
apt-get install -y -q \
@@ -113,7 +113,7 @@ rm -rf /var/lib/apt/lists/*
113113

114114
export HPCSDK_HOME=/opt/nvidia/hpc_sdk/Linux_x86_64/2022
115115
export HPCSDK_CUPTI=/opt/nvidia/hpc_sdk/Linux_x86_64/2022/cuda/11.6/extras/CUPTI
116-
116+
117117
# Compiler, CUDA, and Library paths
118118
export CUDA_HOME=$HPCSDK_HOME/cuda
119119
export NVHPC_CUDA_HOME=$HPCSDK_HOME/cuda
@@ -128,7 +128,7 @@ python3 -m venv /venv && \
128128
/venv/bin/pip install --no-cache-dir -r /app/requirements-optional.txt && \
129129
/venv/bin/pip install --no-cache-dir -r /app/requirements-nvidia.txt && \
130130
rm -rf ~/.cache/pip
131-
131+
132132
# MPI ROOT USER DEFAULTS
133133
export CPATH=$HPCSDK_HOME/comm_libs/mpi/include:${CPATH}
134134
export CFLAGS=-noswitcherror
@@ -137,10 +137,10 @@ export CFLAGS=-noswitcherror
137137
# Do Nothing
138138
#MPI 4
139139
#rm -f $HPCSDK_HOME/comm_libs/mpi && \
140-
#ln -sf $HPCSDK_HOME/comm_libs/openmpi4/openmpi-4.0.5 $HPCSDK_HOME/comm_libs/mpi ;
140+
#ln -sf $HPCSDK_HOME/comm_libs/openmpi4/openmpi-4.0.5 $HPCSDK_HOME/comm_libs/mpi ;
141141
#HPCX
142142
rm -f $HPCSDK_HOME/comm_libs/mpi && \
143-
ln -sf $HPCSDK_HOME/comm_libs/hpcx/latest/ompi $HPCSDK_HOME/comm_libs/mpi ;
143+
ln -sf $HPCSDK_HOME/comm_libs/hpcx/latest/ompi $HPCSDK_HOME/comm_libs/mpi ;
144144

145145
/venv/bin/pip install --no-cache-dir -r /app/requirements-mpi.txt && \
146146
rm -rf ~/.cache/pip
@@ -149,7 +149,7 @@ export CFLAGS=
149149
chmod -R 755 /app
150150
chmod 777 /app
151151
chmod 777 /print-defaults /jupyter /tests /entrypoint.sh && \
152-
/venv/bin/jupyter serverextension enable dask_labextension
152+
/venv/bin/jupyter serverextension enable dask_labextension
153153
# /venv/bin/jupyter lab workspaces import /app/nvdashboard.json
154154

155155
%runscript

docker/run-jupyterlab.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22

3-
/venv/bin/jupyter-lab --ip=0.0.0.0 --port=8888 --allow-root --NotebookApp.token=''
3+
/venv/bin/jupyter-lab --ip=0.0.0.0 --port=8888 --allow-root --NotebookApp.token=''

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A set of more advanced examples are available in `seismic`:
3838
equations.
3939
* `seismic/self-adjoint`: Self-adjoint energy conserving pseudo-acoustic
4040
operators, including notebooks for implementation of the nonlinear forward,
41-
the forward and adjoint linearized Jacobian, and tests proving accuracy and
41+
the forward and adjoint linearized Jacobian, and tests proving accuracy and
4242
correctness.
4343

4444
Further:

0 commit comments

Comments
 (0)