Skip to main content

Configure QUANTUM ESPRESSO Parallel execution Setup/Installation procedure

To install QE with Parallel: 
extract QE download from [www.quantum-espresso.org] & Extract.
goto inside qe-6.3


................. Open a Terminal .....................


>>sudo apt-get update
>>sudo apt-get upgrade
>>sudo apt-get install gfortran
>>./configure
>>sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev

[you must have to install libopenmpi-dev or intel mpi  so that the mpi can communicate with processor otherwise it will be serial]

>>./configure 
>>make all
......................


If after configuration if it shows (./configure)

Parallel environment detected successfully.\
Configured for compilation of parallel executables.

For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success

Then
.................................
Done
................................

 If after configuration if it shows (./configure)

 

 "Parallel environment not detected \(is this a parallel machine?\).\
Configured for compilation of serial executables."

it means you didn't install libopenmpi-dev or like this application that can communicate with processor !try to install libopenmpi-dev
 

 >>./configure --enable-openmpi

>> make all

 
Then
.................................
Done
................................

 

NB: 

Command 'make' not found, but can be installed with:

Then RUN:

sudo apt install make     
sudo apt install make-guile

 


--------------------------------------------------------------------------------------------------------------------------

 Example:

--------------------------------------------------------------------------------------------------------------------------
For Run a Code must add "mpirun" at first like

>>mpirun /home/qe-3.3/bin/pw.x -in aln.scf.in>aln.scf.out
or
>>mpirun -np 4 /home/qe-3.3/bin/pw.x -in aln.scf.in>aln.scf.out
or
>>mpirun --use-hwthread-cpus -np 4 /home/qe-3.3/bin/pw.x -in aln.scf.in>aln.scf.out


here "/home/qe-3.3/bin/"  is the path to QE folder
here aln.scf.in is the input file , [i ran terminal inside the folder where "aln.scf.in" file is in]
......................................

or you need to run this when you open a terminal outside of the folder where the file is
>>mpirun -np 4 /home/qe-3.3/bin/pw.x -in /home/desktop/abc/aln.scf.in> /home/desktop/abc/aln.scf.out
.............................
Just using mpirun can use only half of your cores !!
if you use
"--use-hwthread-cpus" you can use all the processors parallay.
.................................................
after running any file you will get the following lines in your output file :

Program PWSCF v.6.3 starts on 13May2019 at 18:49:19

     This program is part of the open-source Quantum ESPRESSO suite
     for quantum simulation of materials; please cite
         "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
         "P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
          URL http://www.quantum-espresso.org",
     in publications or presentations arising from this work. More details at
     http://www.quantum-espresso.org/quote

     Parallel version (MPI), running on     4 processors    <<<<<<<<<<<<<<< this is the confirmation.
........................................................
performance of just mpirun -np (half of the number of your processor) gives the best output like if you  have 8 processor
then write as
>> mpirun -np 4 /path/pw.x -in /path/scf.in > /path/scf.out
........................................................

thanks everyone, any query email me :  jikrulrzs13eeekuet@gmail.com
>>>THE END<<< @jikrul

NB: i am using ubuntu 19.0...    i tried kubuntu 18.0.... also

Comments

  1. or just run ./xcrysden
    &
    edit .bashrc
    export PATH="$PATH:/home/linux/......../bin/"

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. Tutorial URL: https://drive.google.com/drive/folders/1u23uIrBS2GxpCJmsqmInkpsZNc8kQ-fg?usp=sharing



    Used Linux Operating system download link (torrent)
    : https://releases.ubuntu.com/20.04/ubuntu-20.04.5-desktop-amd64.iso.torrent?_ga=2.240395659.92413127.1679139027-519998338.1679139027






    commands for QE installation:
    sudo apt install gfortran
    ./configure
    sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev
    ./configure --enable-openmpi
    sudo apt install make
    sudo apt install make-guile
    make all



    https://jikrulkuet.blogspot.com/2019/05/configure-quantum-espresso-parallel.html?lr=1

    ReplyDelete
  4. For more details see>> https://youtube.com/playlist?list=PLSm7ZQMDqBcfeiEZSXpblorzNPfNEeb4r&si=cJu3Qj97VLWmZusW
    or
    see>> https://github.com/hn46/

    ReplyDelete
  5. initial output if correct configuration done>>
    Please check if this is what you expect.

    If any libraries are missing, you may specify a list of directories
    to search and retry, as follows:
    ./configure LIBDIRS="list of directories, separated by spaces"

    Parallel environment not detected \(is this a parallel machine?\).\
    Configured for compilation of serial executables.

    For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
    --------------------------------------------------------------------
    configure: success

    ReplyDelete
  6. if parallel configuration done then >>
    Please check if this is what you expect.

    If any libraries are missing, you may specify a list of directories
    to search and retry, as follows:
    ./configure LIBDIRS="list of directories, separated by spaces"

    Parallel environment detected successfully.\
    Configured for compilation of parallel executables.

    For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
    --------------------------------------------------------------------
    configure: success

    ReplyDelete
  7. To confirm the run in the command "mpirun /home/linuxproject/jsh48/qe-7.3.1/bin/pw.x -in"


    output will be >>
    Message from routine get_command_line:
    unexpected argument # 2 :-in

    Program PWSCF v.7.3.1 starts on 31May2024 at 13:50:14

    This program is part of the open-source Quantum ESPRESSO suite
    for quantum simulation of materials; please cite
    "P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
    "P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
    "P. Giannozzi et al., J. Chem. Phys. 152 154105 (2020);
    URL http://www.quantum-espresso.org",
    in publications or presentations arising from this work. More details at
    http://www.quantum-espresso.org/quote

    Parallel version (MPI), running on 2 processors

    MPI processes distributed on 1 nodes
    122 MiB available memory on the printing compute node when the environment starts

    Waiting for input...

    ReplyDelete

Post a Comment

Popular posts from this blog

Tutorials Download Link | Software Download Link

  ====================================================== BooKs ====================================================== Ebooks Collection : Click Here ====================================================== Tutorials ======================================================   All Useful Google Drive Links 300 TB Link – https://drive.google.com/drive/folders/1oCMgJeBc55NuEasPcgwjx2FuPdQd8neu Heaven 50TB – https://drive.google.com/drive/folders/1hxe7Des-ooQpamAtjyR7CX-k_hyqlQ7Q Plenty Of Udemy Courses – https://drive.google.com/drive/u/0/folders/1RDGY0Q3WBO_OE1gyImUn1W2ybFuFo6AQ 1.25 TB Course Collection – https://drive.google.com/drive/u/0/folders/1ASdn3H_kF_HsNswsQc4F3rh_PHmGNjKK DK English Books – https://drive.google.com/drive/u/1/folders/13NgYNawnbS3YqExM9Zi3y2YYSqyVr7Xd SAT Books & Past Exams – https://drive.google.com/drive/u/0/folders/14P77CHMXbErX19AUc5A05lEb_UcEAT8E Mixed Folder – https://drive.google.com/drive/folders/1DsvR68wjyT1WbNZb6tgzFep_3-hzecXm TKT Books – https://drive.g

WiFi randomly disconnected on Ubuntu 18.04 LTS

  I was having the same issue with bionic. First, I thought it was related to Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter, but even after updating it the signal continued to fluctuate. It appears to be related to the gnome's network manager. After switching to WICD, the wi-fi hasn't been unstable anymore (that was almost 4 months ago). [EDIT: Still no issues as of today 05/28/2019] Here are a few steps to apply this fix: Open up a Terminal and execute the following commands: First, install WICD: sudo apt install wicd-gtk Next, we uninstall NetworkManager: sudo apt remove network-manager-gnome network-manager After everything is confirmed to be working (best to check this after rebooting), you can remove config files for NetworkManager: sudo dpkg --purge network-manager-gnome network-manager (source  https://help.ubuntu.com/community/WICD  ) https://askubuntu.com/questions/1030653/wifi-randomly-disconnected-on-ubuntu-18-04-lts