Hi José, there is a fast way to do this without any calculation. You can use the…
- User
Hi José, there is a fast way to do this without any calculation. You can use the XCrysden software to open the QE inputs/output files. Then you can save the file in the XCrysden format. In this format, you can read all variables such as lattice vectors and coordinates in the rectangular coordinates format (Bohr and Angstrom). Best regards Raphael how to do
- Assistant
Hi!
Here’s a step-by-step guide on how to use XCrysden to open Quantum ESPRESSO (QE) input/output files and save them in a format that shows lattice vectors and atomic coordinates in rectangular coordinates (Cartesian coordinates):
- User
- Assistant
- User
make -j28 pwall explain the comand
- Assistant
Sure! Let me explain the command:
make -j28 pwall
Breakdown of the command:
-
make:
This is a build automation tool that reads instructions from a file calledMakefilein the current directory. It compiles source code and builds executables or libraries based on the rules defined in that file. -
-j28:
This option tellsmaketo run jobs in parallel, using 28 simultaneous processes (jobs). This speeds up the compilation by making use of multiple CPU cores/threads.
-
- User
rupes@rupes-HP-255-G8-Notebook-PC:~
- Assistant
Since your machine has 12 CPU cores (as shown by
nproc), you should ideally use:make -j12 pwallThis will run up to 12 compilation jobs in parallel, matching your CPU count and speeding up the build without overloading your system.
Using
-j28on a 12-core machine would either:- Start 28 parallel jobs, which may overload your CPU and slow down the process due to context switching and resource contention, or
- Some systems may limit the jobs automatically, but it's better to match the number to your cores.
Summary:
Run:
make -j12 pwallto efficiently compile the
pwalltarget using all your CPU cores.If you want a slightly safer option to avoid spawning too many jobs, you can also try
-j10or-j8(a bit less than total cores).
Let me know if you need help with the compilation progress or other commands!
- User
yes
- Assistant
Great! So to efficiently compile your code on your 12-core machine, just run:
make -j12 pwallThis will speed up the build by using all your CPU cores without overloading your system.
If you run into any issues or have other questions about compiling or running your software, feel free to ask!
- User
if i use this code make -j12 pwall .can i be able to run simultaneiusly quantum espresso and youtube,facebook or other software
- Assistant
Yes, you can run Quantum ESPRESSO (QE) compiling with
make -j12 pwalland simultaneously use other software like YouTube, Facebook, or other everyday applications. However, there are some important points to consider:What really happens when you run
make -j12 pwall?- The
-j12option tellsmaketo run up to 12 compilation jobs in parallel, which means it will try to use all 12 CPU cores. - This will result in high CPU usage and likely (because of reading/writing files), which can make your system less responsive.
- The
- User
yes
- Assistant
Great! Here are some practical suggestions so you can compile Quantum ESPRESSO using your CPU efficiently while keeping your system responsive enough to browse YouTube, Facebook, or run other software smoothly:
Option 1: Use fewer parallel jobs
Instead of using all 12 cores, try something like: