Installing Quantum ESPRESSO (serial) on Linux-UBUNTU [TUTORIAL]

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 62

  • @PhysWhiz
    @PhysWhiz  4 ปีที่แล้ว +2

    If you guys get "STOP 1 " message or an error like "Error in routine readpp (1):
    file C:\Users\manas\.burai\.pseudopot/Fe.pbe-nd-rrkjus.UPF not found"
    in the output file, then it is because of the wrong path/address of Pseudopotential provided in the pseudo_dir attribute of input file.
    You can use
    pseudo_dir = '.'
    in the input file instead.
    Download the updated input files here: www.bragitoff.com/wp-content/uploads/2020/07/QE_Sample_Input_Files.zip

  • @suleimanbashiradamu
    @suleimanbashiradamu 5 ปีที่แล้ว

    Thank you very much for this video. You are one of the best tutors that I will always recommend.

  • @mayankshuklaiitdh8207
    @mayankshuklaiitdh8207 2 หลายเดือนก่อน +1

    Nice video 😊

  • @othoncampos1069
    @othoncampos1069 5 ปีที่แล้ว

    4:41 Here, the syntax "build-essential" for Fortran compiler also works.

  • @kamalgurnani924
    @kamalgurnani924 4 ปีที่แล้ว +4

    My 'bin' folder is empty, why is that happening? Can anyone help me?

  • @dr.vijayakumar3259
    @dr.vijayakumar3259 5 หลายเดือนก่อน

    I am unable to activate the materials API search option in BURAI

  • @collectorsspace
    @collectorsspace 5 ปีที่แล้ว

    thank you so much for this video !!

  • @jeevaraj2327
    @jeevaraj2327 3 ปีที่แล้ว +1

    No such file or directory error after make pw command, how to solve it

  • @anilrai7734
    @anilrai7734 2 ปีที่แล้ว

    Sir bin folder didn't install in my laptop.
    It got crashed giving error =could not find namelist and control

  • @hakimaouhenou862
    @hakimaouhenou862 2 ปีที่แล้ว

    please can you help me , I don't have file of calculation for starting to calcul DFT byQE

  • @mayankshuklaiitdh8207
    @mayankshuklaiitdh8207 2 หลายเดือนก่อน

    Nice 👍🏻

  • @baharulislamlaskar04
    @baharulislamlaskar04 5 ปีที่แล้ว +5

    Dear Sir,
    I'm looking forward to knowing from you about how to install quantum espresso (in parallel) on an Ubuntu platform.

    • @ManasSharma07
      @ManasSharma07 5 ปีที่แล้ว +3

      Next tutorial will be about that

    • @baharulislamlaskar04
      @baharulislamlaskar04 5 ปีที่แล้ว

      I would be really grateful to you then!

    • @PhysWhiz
      @PhysWhiz  5 ปีที่แล้ว +1

      Sorry for being late. But I just uploaded a tutorial for that. You can check it out here: th-cam.com/video/2PAJGrNhZB8/w-d-xo.html
      Essentially you just need to install openmpi somehow.

    • @baharulislamlaskar04
      @baharulislamlaskar04 5 ปีที่แล้ว

      Thank you very much, Sir!

    • @mjggrandgeneration6324
      @mjggrandgeneration6324 5 ปีที่แล้ว

      @@ManasSharma07 r u working on quantum espresso?

  • @م.م.خالدعبداللهنجم
    @م.م.خالدعبداللهنجم 3 ปีที่แล้ว +1

    How can i install qe on windows? please could you help me i cant do that

  • @jodieryngnga7731
    @jodieryngnga7731 4 ปีที่แล้ว +1

    i also face" stop 1" in the terminal when i copy pw.x . i don't understand when you mention use the corresponding address in the previous comment

    • @PhysWhiz
      @PhysWhiz  4 ปีที่แล้ว

      Could you please write down the complete error. In a previous comment they mention that the error is because of the wrong address of Pseudopotential provided in the pseudo_dir attribute of input file. This is because the address was corresponding to what it was on my PC but won't work for others like you.
      If that is the error you got then maybe you can try by using this updated set of input files: www.bragitoff.com/wp-content/uploads/2020/07/QE_Sample_Input_Files.zip
      This should definitely work.

  • @anilrai7734
    @anilrai7734 2 ปีที่แล้ว

    make pw command didn't work in my terminal sir..
    There is warning= nonexistent include durectory

  • @alexderak8676
    @alexderak8676 5 ปีที่แล้ว +1

    Hi, I have a problem in the last part when we copy the pw.x and i run the test. There is a message STOP 1 and in the output file say
    "Error in routine readpp (1):
    file C:\Users\manas\.burai\.pseudopot/Fe.pbe-nd-rrkjus.UPF not found" Could you help me?

    • @PhysWhiz
      @PhysWhiz  5 ปีที่แล้ว

      Use the address of the PP for your PC.
      This is where I stored the PP--->>. C:\Users\manas\.burai
      You should use the address corresponding to your PC.

  • @SkanderTALEBHACINE
    @SkanderTALEBHACINE 5 ปีที่แล้ว +1

    Thanks alot , but where is the Sample Files to test installation? there is no such file above?! thanks again

    • @PhysWhiz
      @PhysWhiz  5 ปีที่แล้ว

      I'm sorry for forgetting to add the link to that. I've now added the link in the description.
      www.bragitoff.com/wp-content/uploads/2019/05/QE_Sample_Input_Files.zip

  • @동진쎄미켐-v5w
    @동진쎄미켐-v5w 3 ปีที่แล้ว

    i installed it as you teach. but i only can use MPI but not openMP.
    what shall I install more?

  • @bgphysics9475
    @bgphysics9475 4 ปีที่แล้ว

    What is minimum configuration (computational hardware) requirement for electronic structural calculation like Ferrites and magnetic materials using Quantum Espresso?

  • @abhishekagarwal4266
    @abhishekagarwal4266 3 ปีที่แล้ว

    I am trying to install fortran compiler but i am facing problems. My linux is boss linux 6.1

  • @anujsingh2430
    @anujsingh2430 4 ปีที่แล้ว

    After running scf.in it's showing STOP1 and in scf.out it's showing "Error in routine postproc(1)"

  • @sayanjitb
    @sayanjitb 2 ปีที่แล้ว

    For my case make pw command r make all, none of them are working. It is showing Makefile:9:make.inc: No such file or directory
    make: *** No rule to make target 'make.inc'. stop.
    please help me out. TIA

  • @sidhivinayakmmallya1622
    @sidhivinayakmmallya1622 2 ปีที่แล้ว

    Nothing to be done for pw
    kya kren?

  • @wenusarasatheekshana1738
    @wenusarasatheekshana1738 2 ปีที่แล้ว

    configure: error: Fortran could not compile .f90 files
    what is the solution of this error?
    thank u in advance

  • @ravtepdav
    @ravtepdav 3 ปีที่แล้ว

    thank you so much
    Do you know how can I open now QE if I already install it?
    I am new in these thing of Ubuntu:(

  • @tarifulazam2994
    @tarifulazam2994 5 ปีที่แล้ว +1

    Your video goes blank after 15:45

  • @bhavikthacker5825
    @bhavikthacker5825 3 ปีที่แล้ว

    I want your help to install quantum espresso

  • @shubha2905
    @shubha2905 5 ปีที่แล้ว +1

    Hello Sir
    I'm getting this error "/home/physics1/qe-6.5/bin/pw.x: error while loading shared libraries: libmkl_scalapack_lp64.so: cannot open shared object file: No such file or directory".
    How can i resolve it??
    Please help!

    • @PhysWhiz
      @PhysWhiz  5 ปีที่แล้ว

      Try this command
      source compilervars.sh intel64

    • @shubha2905
      @shubha2905 5 ปีที่แล้ว

      @@PhysWhiz in bashrc file

    • @PhysWhiz
      @PhysWhiz  5 ปีที่แล้ว

      You can first try to just run it in the terminal. If it works then you can add it to the bashrc.

    • @shubha2905
      @shubha2905 5 ปีที่แล้ว

      @@PhysWhiz After adding the location of compilervars.sh in bashrc, I'm getting an error "/home/physics1/qe-6.5/bin/pw.x: error while loading shared libraries: libmkl_gf_lp64.so: cannot open shared object file: No such file or directory
      ".

    • @shubha2905
      @shubha2905 5 ปีที่แล้ว

      I have made following changes in make.inc file, Please have a look!
      # make.inc. Generated from make.inc.in by configure.
      # compilation rules
      .SUFFIXES :
      .SUFFIXES : .o .c .f .f90
      # most fortran compilers can directly preprocess c-like directives: use
      # $(MPIF90) $(F90FLAGS) -c $<
      # if explicit preprocessing by the C preprocessor is needed, use:
      # $(CPP) $(CPPFLAGS) $< -o $*.F90
      # $(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o
      # remember the tabulator in the first column !!!
      .f90.o:
      $(MPIF90) $(F90FLAGS) -c $<
      # .f.o and .c.o: do not modify
      .f.o:
      $(F77) $(FFLAGS) -c $<
      .c.o:
      $(CC) $(CFLAGS) -c $<
      # Top QE directory, useful for locating libraries, linking QE with plugins
      # The following syntax should always point to TOPDIR:
      TOPDIR = $(dir $(abspath $(filter %make.inc,$(MAKEFILE_LIST))))
      # if it doesn't work, uncomment the following line (edit if needed):
      # TOPDIR = /home/physics1/qe-6.5
      # DFLAGS = precompilation options (possible arguments to -D and -U)
      # used by the C compiler and preprocessor
      # To use libxc (v>=3.0.1), add -D__LIBXC to DFLAGS
      # See include/defs.h.README for a list of options and their meaning
      # With the exception of IBM xlf, FDFLAGS = $(DFLAGS)
      # For IBM xlf, FDFLAGS is the same as DFLAGS with separating commas
      # MANUAL_DFLAGS = additional precompilation option(s), if desired
      # BEWARE: it does not work for IBM xlf! Manually edit FDFLAGS
      MANUAL_DFLAGS =
      DFLAGS = -D__DFTI -D__MPI -D__SCALAPACK
      FDFLAGS = $(DFLAGS) $(MANUAL_DFLAGS)
      # IFLAGS = how to locate directories with *.h or *.f90 file to be included
      # typically -I$(TOPDIR)/include -I/some/other/directory/
      # the latter contains .e.g. files needed by FFT libraries
      # for libxc add -I/path/to/libxc/include/
      IFLAGS = -I$(TOPDIR)/include -I$(TOPDIR)/FoX/finclude -I$(TOPDIR)/S3DE/iotk/include/ -I/opt/intel/mkl/include
      # MOD_FLAG = flag used by f90 compiler to locate modules
      MOD_FLAG = -I
      # BASEMOD_FLAGS points to directories containing basic modules,
      # while BASEMODS points to the corresponding module libraries
      # Each Makefile can add directories to MODFLAGS and libraries to QEMODS
      BASEMOD_FLAGS= $(MOD_FLAG)$(TOPDIR)/iotk/src \
      $(MOD_FLAG)$(TOPDIR)/Modules \
      $(MOD_FLAG)$(TOPDIR)/FFTXlib \
      $(MOD_FLAG)$(TOPDIR)/LAXlib \
      $(MOD_FLAG)$(TOPDIR)/UtilXlib \
      $(MOD_FLAG)$(TOPDIR)/FoX/finclude
      # Compilers: fortran-90, fortran-77, C
      # If a parallel compilation is desired, MPIF90 should be a fortran-90
      # compiler that produces executables for parallel execution using MPI
      # (such as for instance mpif90, mpf90, mpxlf90,...);
      # otherwise, an ordinary fortran-90 compiler (f90, g95, xlf90, ifort,...)
      # If you have a parallel machine but no suitable candidate for MPIF90,
      # try to specify the directory containing "mpif.h" in IFLAGS
      # and to specify the location of MPI libraries in MPI_LIBS
      MPIF90 = mpif90
      F90 = gfortran
      CC = cc
      F77 = gfortran
      # GPU architecture (Kepler: 35, Pascal: 60, Volta: 70 )
      GPU_ARCH=
      # CUDA runtime (Pascal: 8.0, Volta: 9.0)
      CUDA_RUNTIME=
      # CUDA F90 Flags
      CUDA_F90FLAGS=
      # C preprocessor and preprocessing flags - for explicit preprocessing,
      # if needed (see the compilation rules above)
      # preprocessing flags must include DFLAGS and IFLAGS
      CPP = cpp
      CPPFLAGS = -P -traditional -Uvector $(DFLAGS) $(IFLAGS)
      # compiler flags: C, F90, F77
      # C flags must include DFLAGS and IFLAGS
      # F90 flags must include MODFLAGS, IFLAGS, and FDFLAGS with appropriate syntax
      CFLAGS = -O3 $(DFLAGS) $(IFLAGS)
      F90FLAGS = $(FFLAGS) -x f95-cpp-input $(FDFLAGS) $(CUDA_F90FLAGS) $(IFLAGS) $(MODFLAGS)
      FFLAGS = -O3 -g
      # compiler flags without optimization for fortran-77
      # the latter is NEEDED to properly compile dlamch.f, used by lapack
      FFLAGS_NOOPT = -O0 -g
      # compiler flag needed by some compilers when the main program is not fortran
      # Currently used for Yambo
      FFLAGS_NOMAIN =
      # Linker, linker-specific flags (if any)
      # Typically LD coincides with F90 or MPIF90, LD_LIBS is empty
      # for libxc, set LD_LIBS=-L/path/to/libxc/lib/ -lxcf90 -lxcf03 -lxc
      LD = mpif90
      LDFLAGS = -g
      LD_LIBS =
      # External Libraries (if any) : blas, lapack, fft, MPI
      # If you have nothing better, use the local copy via "--with-netlib" :
      # BLAS_LIBS = /your/path/to/espresso/LAPACK/blas.a
      # BLAS_LIBS_SWITCH = internal
      BLAS_LIBS = -L/opt/intel/mkl/lib/intel64 -lmkl_gf_lp64 -lmkl_sequential -lmkl_core
      BLAS_LIBS_SWITCH = external
      # If you have nothing better, use the local copy via "--with-netlib" :
      # LAPACK_LIBS = /your/path/to/espresso/LAPACK/lapack.a
      # LAPACK_LIBS_SWITCH = internal
      # For IBM machines with essl (-D__ESSL): load essl BEFORE lapack !
      # remember that LAPACK_LIBS precedes BLAS_LIBS in loading order
      LAPACK_LIBS =
      LAPACK_LIBS_SWITCH = external
      SCALAPACK_LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64
      # nothing needed here if the the internal copy of FFTW is compiled
      # (needs -D__FFTW in DFLAGS)
      FFT_LIBS =
      # HDF5
      HDF5_LIBS =
      FOX_LIB = -L$(TOPDIR)/FoX/lib -lFoX_dom -lFoX_sax -lFoX_wxml -lFoX_common\
      -lFoX_utils -lFoX_fsys
      FOX_FLAGS =
      # For parallel execution, the correct path to MPI libraries must
      # be specified in MPI_LIBS (except for IBM if you use mpxlf)
      MPI_LIBS =
      # IBM-specific: MASS libraries, if available and if -D__MASS is defined in FDFLAGS
      MASS_LIBS =
      # CUDA libraries
      CUDA_LIBS=
      CUDA_EXTLIBS =
      # ar command and flags - for most architectures: AR = ar, ARFLAGS = ruv
      AR = ar
      ARFLAGS = ruv
      # ranlib command. If ranlib is not needed (it isn't in most cases) use
      # RANLIB = echo
      RANLIB = ranlib
      # all internal and external libraries - do not modify
      FLIB_TARGETS = all
      LIBOBJS = $(TOPDIR)/clib/clib.a $(TOPDIR)/iotk/src/libiotk.a
      LIBXC_LIBS =
      QELIBS = $(CUDA_LIBS) $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(FOX_LIB) $(FFT_LIBS) $(BLAS_LIBS) $(MPI_LIBS) $(MASS_LIBS) $(HDF5_LIBS) $(LIBXC_LIBS) $(LD_LIBS)
      # wget or curl - useful to download from network
      WGET = wget -O
      # Install directory - "make install" copies *.x executables there
      PREFIX = /usr/local
      Am I doing right or not??
      Please help!!!

  • @ajazulhaq5514
    @ajazulhaq5514 2 ปีที่แล้ว

    Sir how to install it on hpc linux cluster

    • @PhysWhiz
      @PhysWhiz  2 ปีที่แล้ว

      Same procedure, but I recommend you follow my other tutorial to compile QE with parallelizations

  • @missionsee1217
    @missionsee1217 4 ปีที่แล้ว

    Useful

  • @priyambadaaiswarya1831
    @priyambadaaiswarya1831 3 ปีที่แล้ว

    Instead of writing make pw. ..I tried it by using make all command but after installation when I tried to run one example from examples folder it shows that mpirun: not found
    Kindly help me out

    • @PhysWhiz
      @PhysWhiz  3 ปีที่แล้ว +1

      Because mpirun is an independent command that enable parallel computing.
      It is possible that you may not have it installed. First verify that your bin folder has the quantum espresso executables lile pw.x, etc. The try to run
      pw.x inputfile > outputfile
      Make sure that you run the above command from the directory where you have the input file.
      If this works then we can try to discuss abiut how to install mpirun.

    • @PhysWhiz
      @PhysWhiz  3 ปีที่แล้ว +1

      Also as you can see in the title above, this video only explains serial compilation.
      For parallel compilation refer to this video
      th-cam.com/video/2PAJGrNhZB8/w-d-xo.html
      The command to install mpirun is given in the description of the linked video

    • @priyambadaaiswarya1831
      @priyambadaaiswarya1831 3 ปีที่แล้ว

      @@PhysWhiz ok thanks Sir

    • @priyambadaaiswarya1831
      @priyambadaaiswarya1831 3 ปีที่แล้ว

      @@PhysWhiz sir I tried to run one example but it shows error in routine check_tempdir(1) cannot be created or accessed

    • @PhysWhiz
      @PhysWhiz  3 ปีที่แล้ว

      Can you paste the contents of the input file here

  • @sahirmalik859
    @sahirmalik859 5 ปีที่แล้ว

    Sir what is this file which you run program please tell me

  • @SAJALPHYS
    @SAJALPHYS 3 ปีที่แล้ว

    Sir when I'm giving this command 'make all' showing the following error:
    sajal@sajal-Acer-one-14-Z422:~/qe-7.0-ReleasePack/qe-7.0$ make all
    Command 'make' not found, but can be installed with:
    sudo apt install make # version 4.2.1-1.2, or
    sudo apt install make-guile # version 4.2.1-1.2
    Please help.

    • @wenusarasatheekshana1738
      @wenusarasatheekshana1738 2 ปีที่แล้ว

      install make in given versions

    • @PhysWhiz
      @PhysWhiz  2 ปีที่แล้ว

      Sorry for the late reply. But the solution is in the error itself. You need to install 'make'.
      Run this in the terminal
      sudo apt-get install --reinstall make