Skip to content

Commit b75ec21

Browse files
Merge branch 'v2.9' of github.com:plumed/plumed2 into v2.9
2 parents 71be3bf + 41e9dd5 commit b75ec21

17 files changed

+3646
-5
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- -coverage-mpi-
2626
- -debug-
2727
- -debug-mpi-
28-
- -intel-
28+
# temporarily commented out
29+
# see https://github.com/plumed/plumed2/issues/976
30+
# - -intel-
2931
steps:
3032
- uses: actions/checkout@v3
3133
- uses: actions/cache@v3
@@ -243,7 +245,7 @@ jobs:
243245
variant: [ "" , "+allmodules" ]
244246
# see https://github.community/t/how-to-conditionally-include-exclude-items-in-matrix-eg-based-on-branch/16853/6 for possible exclusions
245247
env:
246-
PYVERS: "py37 py38 py39 py310"
248+
PYVERS: "py39 py310"
247249
steps:
248250
- uses: actions/checkout@v3
249251
- uses: actions/cache@v3

patches/qespresso-7.2.config

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
3+
function plumed_preliminary_test(){
4+
# check if the README.md contains the word ESPRESSO and if qe has been already configured
5+
grep -q ESPRESSO README.md 1>/dev/null 2>/dev/null && test -f make.inc
6+
}
7+
8+
function plumed_before_patch(){
9+
cp make.inc make.inc.plumedbck
10+
PWD=`pwd`
11+
echo "include ${PWD}/Plumed.inc ">make.inc
12+
awk '{if($1=="QELIBS" && $2=="="){sub("=","= $(PLUMED_LOAD)"); print}else{print }}' make.inc.plumedbck >> make.inc
13+
}
14+
15+
function plumed_after_revert(){
16+
mv make.inc.plumedbck make.inc
17+
}
18+
19+
function plumed_patch_info(){
20+
echo ""
21+
echo "For more information on Quantum Espresso you should visit http://www.quantum-espresso.org"
22+
echo "To apply this patch configure Quantum Espresso by running ./configure first."
23+
echo "The newer CMake installation workflow is not supported yet."
24+
echo "To enable PLUMED on md runs use pw.x -plumed < md.in > md.out."
25+
echo "A fixed PLUMED input file name 'plumed.dat' is used."
26+
echo "This patch was kindly provided by Ralf Meyer, email: meyer.ralf(at)yahoo.com"
27+
}
28+
+249
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,249 @@
1+
#/a Makefile for Modules
2+
3+
include ../make.inc
4+
5+
# location of needed modules
6+
MODFLAGS=$(BASEMOD_FLAGS) \
7+
$(MOD_FLAG)../ELPA/src
8+
9+
# list of modules
10+
11+
MODULES = \
12+
additional_kpoints.o \
13+
autopilot.o \
14+
basic_algebra_routines.o \
15+
becmod.o \
16+
bfgs_module.o \
17+
bspline.o \
18+
bz_form.o \
19+
cell_base.o \
20+
check_stop.o \
21+
command_line_options.o \
22+
compute_dipole.o \
23+
constants.o \
24+
constraints_module.o \
25+
control_flags.o \
26+
coulomb_vcut.o \
27+
dist.o \
28+
electrons_base.o \
29+
environ_base_module.o \
30+
environment.o \
31+
extffield.o \
32+
fd_gradient.o \
33+
fft_base.o \
34+
fft_rho.o \
35+
fft_wave.o \
36+
fsockets.o \
37+
funct.o \
38+
generate_function.o \
39+
gradutils.o \
40+
gvecw.o \
41+
input_parameters.o \
42+
invmat.o \
43+
io_files.o \
44+
io_global.o \
45+
ions_base.o \
46+
kind.o \
47+
lmdif.o \
48+
mdiis.o \
49+
mm_dispersion.o \
50+
mp_bands.o \
51+
mp_exx.o \
52+
mp_global.o \
53+
mp_images.o \
54+
mp_pools.o \
55+
mp_wave.o \
56+
mp_world.o \
57+
noncol.o \
58+
open_close_input_file.o \
59+
parameters.o \
60+
parser.o \
61+
plugin_flags.o \
62+
plugin_arguments.o \
63+
plugin_variables.o \
64+
pw_dot.o \
65+
qmmm.o \
66+
random_numbers.o \
67+
read_cards.o \
68+
read_input.o \
69+
read_namelists.o \
70+
read_pseudo.o \
71+
recvec.o \
72+
recvec_subs.o \
73+
run_info.o \
74+
space_group.o \
75+
set_para_diag.o \
76+
set_signal.o \
77+
set_vdw_corr.o \
78+
setqf.o \
79+
timestep.o\
80+
tsvdw.o\
81+
mbdlib.o\
82+
version.o \
83+
wannier_gw.o\
84+
wannier_new.o \
85+
wavefunctions.o \
86+
ws_base.o \
87+
xc_vdW_DF.o \
88+
xc_rVV10.o \
89+
io_base.o \
90+
qes_types_module.o \
91+
qes_libs_module.o \
92+
qes_write_module.o \
93+
qes_read_module.o \
94+
qes_reset_module.o \
95+
qes_init_module.o \
96+
qes_bcast_module.o \
97+
qexsd.o \
98+
qexsd_copy.o \
99+
qexsd_init.o \
100+
qexsd_input.o \
101+
hdf5_qe.o\
102+
qeh5_module.o\
103+
fox_init_module.o \
104+
xsf.o \
105+
wyckoff.o \
106+
wypos.o \
107+
zvscal.o \
108+
wave_gauge.o \
109+
plumed.o
110+
111+
# list of RISM's modules
112+
113+
RISMLIB = \
114+
allocate_fft_3drism.o \
115+
chempot.o \
116+
chempot_lauerism.o \
117+
closure.o \
118+
corrdipole_laue.o \
119+
correctat0_vv.o \
120+
corrgxy0_laue.o \
121+
cryst_to_car_2d.o \
122+
data_structure_3drism.o \
123+
do_1drism.o \
124+
do_3drism.o \
125+
do_lauerism.o \
126+
eqn_1drism.o \
127+
eqn_3drism.o \
128+
eqn_lauedipole.o \
129+
eqn_lauegxy0.o \
130+
eqn_lauelong.o \
131+
eqn_lauerism.o \
132+
eqn_laueshort.o \
133+
eqn_lauevoid.o \
134+
err_rism.o \
135+
guess_3drism.o \
136+
init_1drism.o \
137+
init_3drism.o \
138+
input_1drism.o \
139+
input_3drism.o \
140+
io_rism_xml.o \
141+
lauefft.o \
142+
lauefft_subs.o \
143+
lj_forcefield.o \
144+
lj_solute.o \
145+
molecorr_vv.o \
146+
molebridge_vv.o \
147+
molecule_const.o \
148+
molecule_types.o \
149+
mp_rism.o \
150+
mp_swap_ax_rism.o \
151+
normalize_lauerism.o \
152+
plot_rism.o \
153+
potential_3drism.o \
154+
potential_esm.o \
155+
potential_vv.o \
156+
print_chempot_3drism.o \
157+
print_chempot_lauerism.o \
158+
print_chempot_vv.o \
159+
print_corr_vv.o \
160+
print_solvavg.o \
161+
radfft.o \
162+
read_mol.o \
163+
read_solv.o \
164+
recvec_3drism.o \
165+
rism.o \
166+
rism1d_facade.o \
167+
rism3d_facade.o \
168+
rms_residual.o \
169+
scale_fft_3drism.o \
170+
scale_fft_lauerism.o \
171+
solute.o \
172+
solvation_3drism.o \
173+
solvation_esm.o \
174+
solvation_force.o \
175+
solvation_lauerism.o \
176+
solvation_pbc.o \
177+
solvation_stress.o \
178+
solvavg.o \
179+
solvmol.o \
180+
summary_1drism.o \
181+
summary_3drism.o \
182+
suscept_g0.o \
183+
suscept_laue.o \
184+
suscept_laueint.o \
185+
suscept_vv.o \
186+
write_rism_type.o \
187+
xml_io_rism.o
188+
189+
# list of subroutines and functions (not modules) previously found in flib/clib
190+
191+
OBJS = \
192+
atom_weight.o \
193+
capital.o \
194+
cryst_to_car.o \
195+
expint.o \
196+
generate_k_along_lines.o \
197+
has_xml.o \
198+
inpfile.o \
199+
int_to_char.o \
200+
latgen.o \
201+
linpack.o \
202+
matches.o \
203+
plot_io.o \
204+
radial_gradients.o \
205+
rgen.o \
206+
recips.o \
207+
remove_tot_torque.o \
208+
sort.o \
209+
trimcheck.o \
210+
test_input_file.o \
211+
date_and_tim.o \
212+
volume.o \
213+
wgauss.o \
214+
w0gauss.o \
215+
w1gauss.o \
216+
deviatoric.o \
217+
customize_signals.o \
218+
qmmm_aux.o \
219+
sockets.o \
220+
stack.o
221+
222+
# GPU versions of modules
223+
MODULES += \
224+
wavefunctions_gpu.o \
225+
becmod_gpu.o \
226+
becmod_subs_gpu.o \
227+
cuda_subroutines.o \
228+
random_numbers_gpu.o
229+
230+
TLDEPS= libfox libla libfft libutil libmbd librxc libupf
231+
232+
all : libqemod.a
233+
234+
libqemod.a: $(MODULES) $(OBJS) $(RISMLIB)
235+
$(AR) $(ARFLAGS) $@ $?
236+
$(RANLIB) $@
237+
238+
tldeps :
239+
if test -n "$(TLDEPS)" ; then \
240+
( cd ../.. ; $(MAKE) $(TLDEPS) || exit 1 ) ; fi
241+
242+
243+
clean :
244+
- /bin/rm -f *.o *.a *.d *.i *~ *_tmp.f90 *.mod *.L plumed.f90
245+
246+
plumed.f90:
247+
cp $(PLUMED_FORTRAN) plumed.f90
248+
249+
include make.depend

0 commit comments

Comments
 (0)