Skip to content

Commit b1be6da

Browse files
committed
Merge branch 'master' of github.com:lammps/lammps-testing into master
2 parents 40d2e01 + a9141e6 commit b1be6da

17 files changed

+98
-19
lines changed

containers/singularity/ubuntu18.04.def

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,21 @@ From: ubuntu:18.04
123123
# Customizations
124124
###########################################################################
125125

126+
# create missing readline pkgconfig file
127+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
128+
prefix=/usr
129+
exec_prefix=/usr
130+
libdir=/usr/lib/x86_64-linux-gnu
131+
includedir=/usr/include
132+
133+
Name: Readline
134+
Description: GNU Readline library for command line editing
135+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
136+
Version: 7.0
137+
Requires.private: tinfo
138+
Libs: -L\${libdir} -lreadline
139+
Cflags: -I\${includedir}/readline
140+
EOF
126141
# set custom prompt indicating the container name
127142
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
128143
cat >$CUSTOM_PROMPT_ENV <<EOF

containers/singularity/ubuntu18.04_amd_rocm.def

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ From: ubuntu:18.04
5757
libopenblas-dev \
5858
libnuma-dev \
5959
libpng-dev \
60-
libreadline-dev \
6160
libproj-dev \
61+
libreadline-dev \
6262
libvtk6-dev \
6363
libyaml-dev \
6464
libzstd-dev \
@@ -147,6 +147,21 @@ From: ubuntu:18.04
147147
# Customizations
148148
###########################################################################
149149

150+
# create missing readline pkgconfig file
151+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
152+
prefix=/usr
153+
exec_prefix=/usr
154+
libdir=/usr/lib/x86_64-linux-gnu
155+
includedir=/usr/include
156+
157+
Name: Readline
158+
Description: GNU Readline library for command line editing
159+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
160+
Version: 7.0
161+
Requires.private: tinfo
162+
Libs: -L\${libdir} -lreadline
163+
Cflags: -I\${includedir}/readline
164+
EOF
150165
# set custom prompt indicating the container name
151166
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
152167
cat >$CUSTOM_PROMPT_ENV <<EOF

containers/singularity/ubuntu18.04_gpu.def

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,21 @@ From: ubuntu:18.04
179179
# Customizations
180180
###########################################################################
181181

182+
# create missing readline pkgconfig file
183+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
184+
prefix=/usr
185+
exec_prefix=/usr
186+
libdir=/usr/lib/x86_64-linux-gnu
187+
includedir=/usr/include
188+
189+
Name: Readline
190+
Description: GNU Readline library for command line editing
191+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
192+
Version: 7.0
193+
Requires.private: tinfo
194+
Libs: -L\${libdir} -lreadline
195+
Cflags: -I\${includedir}/readline
196+
EOF
182197
# set custom prompt indicating the container name
183198
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
184199
cat >$CUSTOM_PROMPT_ENV <<EOF

containers/singularity/ubuntu18.04_intel_opencl.def

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ From: ubuntu:18.04
3434
libhwloc-dev \
3535
libjpeg-dev \
3636
liblapack-dev \
37+
libnetcdf-dev \
3738
libomp-dev \
3839
libopenblas-dev \
3940
libnuma-dev \
@@ -123,6 +124,21 @@ From: ubuntu:18.04
123124
# Customizations
124125
###########################################################################
125126

127+
# create missing readline pkgconfig file
128+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
129+
prefix=/usr
130+
exec_prefix=/usr
131+
libdir=/usr/lib/x86_64-linux-gnu
132+
includedir=/usr/include
133+
134+
Name: Readline
135+
Description: GNU Readline library for command line editing
136+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
137+
Version: 7.0
138+
Requires.private: tinfo
139+
Libs: -L\${libdir} -lreadline
140+
Cflags: -I\${includedir}/readline
141+
EOF
126142
# set custom prompt indicating the container name
127143
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
128144
cat >$CUSTOM_PROMPT_ENV <<EOF
@@ -138,7 +154,6 @@ EOF
138154
# clean cache
139155
rm -rf /var/lib/apt/lists/*
140156

141-
142157
%environment
143158
LC_ALL=C
144159
export LC_ALL

containers/singularity/ubuntu18.04_nvidia.def

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ From: nvidia/cuda:11.0-devel-ubuntu18.04
3434
libhwloc-dev \
3535
libjpeg-dev \
3636
liblapack-dev \
37+
libnetcdf-dev \
3738
libomp-dev \
3839
libopenblas-dev \
3940
libnuma-dev \
@@ -122,6 +123,21 @@ From: nvidia/cuda:11.0-devel-ubuntu18.04
122123
# Customizations
123124
###########################################################################
124125

126+
# create missing readline pkgconfig file
127+
cat > /usr/lib/x86_64-linux-gnu/pkgconfig/readline.pc <<EOF
128+
prefix=/usr
129+
exec_prefix=/usr
130+
libdir=/usr/lib/x86_64-linux-gnu
131+
includedir=/usr/include
132+
133+
Name: Readline
134+
Description: GNU Readline library for command line editing
135+
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
136+
Version: 7.0
137+
Requires.private: tinfo
138+
Libs: -L\${libdir} -lreadline
139+
Cflags: -I\${includedir}/readline
140+
EOF
125141
# set custom prompt indicating the container name
126142
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
127143
cat >$CUSTOM_PROMPT_ENV <<EOF

scripts/builds/cmake_gpu_cuda_mpi_openmp_smallbig_shared.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ ${CMAKE_COMMAND} -C ${LAMMPS_DIR}/cmake/presets/most.cmake \
8585
${LAMMPS_DIR}/cmake || exit 1
8686

8787
# Build
88-
cmake --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
88+
${CMAKE_COMMAND} --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
8989

9090
# Install
9191
# running install target repeats the compilation with Kokkos enabled
92-
# cmake --build . --target install || exit 1
92+
# ${CMAKE_COMMAND} --build . --target install || exit 1
9393
deactivate
9494

9595
ccache -s

scripts/builds/cmake_gpu_hip_serial_bigbig_static.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ ${CMAKE_COMMAND} -C ${LAMMPS_DIR}/cmake/presets/most.cmake \
8989
${LAMMPS_DIR}/cmake || exit 1
9090

9191
# Build
92-
cmake --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
92+
${CMAKE_COMMAND} --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
9393

9494
# Install
9595
# running install target repeats the compilation with Kokkos enabled
96-
# cmake --build . --target install || exit 1
96+
# ${CMAKE_COMMAND} --build . --target install || exit 1
9797
deactivate
9898

9999
ccache -s

scripts/builds/cmake_kokkos_cuda_bigbig_static.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ ${CMAKE_COMMAND} \
6767
${LAMMPS_DIR}/cmake || exit 1
6868

6969
# Build
70-
cmake --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
70+
${CMAKE_COMMAND} --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
7171

7272
# Install
7373
# running install target repeats the compilation with Kokkos enabled
74-
# cmake --build . --target install || exit 1
74+
# ${CMAKE_COMMAND} --build . --target install || exit 1
7575
deactivate
7676

7777
ccache -s

scripts/builds/cmake_kokkos_mpi_openmp_clang_shared.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ ${CMAKE_COMMAND} \
8686
${LAMMPS_DIR}/cmake || exit 1
8787

8888
# Build
89-
cmake --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
89+
${CMAKE_COMMAND} --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
9090

9191
# Install
9292
# running install target repeats the compilation with Kokkos enabled
93-
#cmake --build . --target install || exit 1
93+
#${CMAKE_COMMAND} --build . --target install || exit 1
9494
deactivate
9595

9696
ccache -s

scripts/builds/cmake_kokkos_mpi_openmp_smallbig_icc_shared.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ ${CMAKE_COMMAND} \
8686
${LAMMPS_DIR}/cmake || exit 1
8787

8888
# Build
89-
cmake --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
89+
${CMAKE_COMMAND} --build . -- -j ${LAMMPS_COMPILE_NPROC} || exit 1
9090

9191
# Install
9292
# running install target repeats the compilation with Kokkos enabled
93-
#cmake --build . --target install || exit 1
93+
#${CMAKE_COMMAND} --build . --target install || exit 1
9494
deactivate
9595

9696
ccache -s

0 commit comments

Comments
 (0)