How to compile and use with quantum espresso?

499 views
Skip to first unread message

佐伯英紀

unread,
Jun 5, 2022, 7:07:26 AM6/5/22
to PLUMED users
Dear PLUMED user list,

I would like to use quantum espresso with plumed.
I performed the following steps.

1)    Install quantum espresso v6.2.0 (./configure with Blas, lapack and FFTW → make pw and cp)
2)    Install plumed v2.6.6 (refer to plumed manual : https://www.plumed.org/doc-v2.6/user-doc/html/index.html)
3)    Patch plumed (execute plumed patch -p in qe folder)
4)    Make input files (pw.in and plumed.dat)
5)    Execute pw.x -plumed < pw.in > pw.out.

From 1) to 3), there were no errors. However, I got no plumed output files(e.g. COLVAR) or errors in step 5).
Output files of pw(e.g. pw.out or files in outdir) were obtained and the calculation was normally done.
Additionally, I was able to use LAMMPS(3Mar20) patched with plumed, so I should have installed plumed without any probrems.
I don't understand why the plumed doesn't work.

I also tried compiling qe-v.6.2.0 with make plumed command (maybe plumed v1.3 ?).
However, I got error message
metadyn.c(1120): error: expected a declaration
  {
  ^
Is there something wrong with the procedure or compiler ?
Thank you for any help.

Best regards

Hidenori

Giovanni Bussi

unread,
Jun 6, 2022, 5:25:47 AM6/6/22
to plumed...@googlegroups.com
Hi,

I guess you should patch qe (point 3) and then recompile it (point 1).

You can also see the workflow we used for testing that the installation procedure is working correctly here:

Giovanni


--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/7d4dfb0d-b138-4e48-bdcf-c1641679384fn%40googlegroups.com.

佐伯英紀

unread,
Jun 6, 2022, 6:50:26 AM6/6/22
to PLUMED users
Dear Giovanni,

Thank you very much for your help.
I was able to confirm the operation of plumed with pw.x.

Sorry, I have one more thing to ask.
According to the following question 7 years ago, plumed2. does not support cp.x.
Is it still unsupported? Would you please tell me if there is a way to use plumed with cp.x?

Regards,

Hidenori

2022年6月6日月曜日 18:25:47 UTC+9 giovann...@gmail.com:

Giovanni Bussi

unread,
Jun 6, 2022, 10:57:55 AM6/6/22
to plumed...@googlegroups.com
No, it's not supported yet.

Giovanni


佐伯英紀

unread,
Jun 7, 2022, 7:42:57 PM6/7/22
to plumed...@googlegroups.com
Thank you.
I understand.

Regards,

Hidenori

2022年6月6日(月) 23:57 Giovanni Bussi <giovann...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages