Saturday, September 19, 2020

How to install Virtual Box and Import OVA file

 How to install VirtualBox and Import OVA file 


Steps to Follow:

1. Download the latest version of VirtualBox  from here
2. Download the .OVA file (sent to your mail) 
3. Check "Virtualization Technology" is enabled in your system. 
    
        For Ubuntu/Linux : in terminal type --> 
           $ sudo apt-get install cpu-checker
           $ sudo kvm-ok
          "Virtualization is enable" if, its output showing:
 
$ sudo kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
 
For window OS :Right click on windows bottom panel ---> click on taskbar --> Performance ----> near the mouse pointer you can see that "Virtualization  Disabled"







4. If Virtualization is not enabled then you have to enable it from BIOS.
   
   a)  Shut Down the OS
   b)  Press the BIOS key ( generally it is F10 (for HP)or F12 (Lenovo)or F2 (for others) But, Please cross check on google for your laptop/Desktop model)

   c) In BIOS ----> Configuration ---> Virtualization Technology ---> enable it if  disabled




5. If your virtualization is enabled, then go ahead and " INSTALL VIRTUALBOX"
 
6. Open VirtualBox ---> file --->  Import Appliance ---> select your .ova file
 
7.  Change the Parameters values:  Processors= 2 , Ram = 2048
 
8. Import
 
 
 

 

 
 
 
 

Monday, September 7, 2020

How to Install Qunatum Espresso in Ubuntu 18.04/20.04

 

How to install Quantum Espresso in Ubuntu 20.04

Hi Friends!

Today I will write a script to install the Quantum Espresso  latest version in Ubuntu 18.04/20.04.

Important Notes:

  • Always use LTS version of Ubuntu. Never use odd versions of Ubuntu (17.10, 19.10 or 21.10) for your research.
  • If your internet speed is not good then you better download the files from the given link manually. From terminal it may take time to download the files.
  • If you are using manual download method then please put the downloaded files in "qe" directory inside home directory.

#Step-0: Download the files

             Installation script                    click here  

          Optional ( for slow internet download the below files )

            Openmpi                                   click here
             Quantum espresso                   click here
 
Note
     in case of manual download please put a comment sign(#) before wget in step 2 & 3. 
    e. g.  #wget -O ~/qe/openmpi-4.0.5.tar.gz https://download.open-mpi..........
     and      #wget -O ~/qe/qe6.tar.gz https://codeload.github.com/QEF/q-e/tar.gz/........

#Step-1: Prerequisite for Quantum Espresso

mkdir -p ~/qe/             # create a directory name qe inside home
sudo apt-get install -y gcc gfortran
sudo apt-get install -y build-essential
sudo apt-get install -y libfftw3-dev
sudo apt-get install -y libblas3
sudo apt-get install -y libblas-dev
sudo apt-get install -y liblapack-dev

#Step-2: Installation of openmpi-4.0.5

wget -O ~/qe/openmpi-4.0.5.tar.gz https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.5.tar.gz
tar -xvzf ~/qe/openmpi-4.0.5.tar.gz -C ~/qe/
cd ~/qe/openmpi-4.0.5
./configure
make install
echo "export PATH=\$PATH:~/qe/openmpi-4.0.5/bin" >> .bashrc # inserting openmpi path in .bashrc file

#Step-3: Installation of QE-6.6

wget -O ~/qe/qe6.tar.gz https://codeload.github.com/QEF/q-e/tar.gz/qe-6.6
tar -xvzf ~/qe/qe6.tar.gz -C ~/qe/
mv ~/qe/q-e-qe-6.6 ~/qe/qe6.6
cd ~/qe/qe6.6
./configure --enable-parallel=no --enable-openmp=yes
make all
echo "export PATH=\$PATH:~/qe/qe6.6/bin" >> .bashrc



 




Friday, August 14, 2020

Installation of BURAI in Ubuntu

 Installation of BURAI in Ubuntu 18.04/20.04 LTS

Dear Readers,

Today you will learn how to install BURAI a Quantum Espresso GUI package in Ubuntu.

Before that, I have a suggestion for you "Always use an LTS (Long Term Support) version of Ubuntu in your system."  So that you can finish your research easily without spending your time in updating the unstable versions of Ubuntu and sometimes it is difficult to install some applications in "odd" versions of Ubuntu.

Note: LTS versions are released in every  "even year in the month of April" eg. 16.04, 18.04, 20.04. here 16,18 and 20 denoting the year and 04 the month.

Now let's start the installation.

Step-1: Download the latest version of the java development kit (JDK) and BURAI

        Note: to download java you have to create an account at oracle first. 

         For java go to this link: Java JDK

         For BURAI go to this link: BURAI 

         Download the installation script: install.sh 

Step-2: Remove the existing version of java 

sudo apt-get purge openjdk*

sudo apt-get purge 

sudo update-alternatives --remove "java" "/opt/jdk/jdk1.8.0_261/bin/java" 

sudo update-alternatives --remove "javac" "/opt/jdk/jdk1.8.0_261/bin/javac"

sudo apt autoremove

sudo apt-get update

Step-3: Installation of Java 

sudo mkdir -p /opt/jdk

sudo cp ~/Downloads/jdk-8u261-linux-x64.tar.gz  /opt/jdk/            # your java file should be in "Download" directory

cd /opt/jdk

sudo tar zxvf jdk-8u261-linux-x64.tar.gz

sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_261/bin/java 100

sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_261/bin/javac 100 

java -version


Step-4: Package required for Quantum Espresso compilation

sudo apt-get install -y gfortran

sudo apt-get install -y openmpi-bin libopenmpi-dev

Step-5: Installation of BURAI in /usr/local/bin 

sudo cp ~/Downloads/BURAI1.3_Linux.tgz /usr/local/bin/

cd /usr/local/bin

sudo tar zxvf BURAI1.3_Linux.tgz

cd BURAI1.3

sudo ./makeLauncher.sh

sudo cp BURAI.desktop ~/Desktop/





 

Friday, June 26, 2020

How to read a research paper quickly and effectively

How to read a research paper quickly and effectively


Reading and understanding a research paper is not an easy task, sometimes, it gives you a headache and wastes too much of your time.


To understand any paper without wasting time. You have to read it in three different phases, which are: 


 Phase-1: The general idea ( 10-20 min)

 Phase-2: Grasp that the content of the paper (up to 1hr)

 Phase-3: Understand the depth of the article ( 5 to 6hr)



 Phase-1  


  1. Read the title and abstract carefully. 

  2. Skim the introduction.

  3. Read the conclusion



After Phase-1, you should be able to answer the following questions:


  1.  Category of paper: measurement/analysis/new method etc.

  2. Context of the article: theoretical or experimental

  3. Contribution: what are the main contributions.

  4. Correctness: Do the assumptions appear to be valid?.

  5. Clarity: is the paper well written?


 Now you can decide this paper is good to read or not


 Phase 2:   

  1. Ignore the proofs.

  2. Look carefully at the figures/graphs/diagram, etc are they adequately labeled? Are the results shown with error bars?

  3. Find out the explanations of the figures.


 Now, after the Phase-2. If you were able to find any of the following:


  1. You are doing similar research.

  2. You are a reviewer.

  3. You want to implement or recreate the same work.

  4. You identified the paper innovations and hidden failing and assumptions.


 Then you can go for phase 3  


Phase-3

  1. Read everything


 After the Phase-3 reading, you should be able to:


  1. To reconstruct the entire structure of the paper

  2. Able to identify the strong and weak points (e.g., implicit assumptions, missing citations, and potential issues with experimental or analytical techniques)






Thursday, June 25, 2020

Best PDF editor for Ubuntu

There are so many PDF readers available in the market but, here I will list only best and free PDF readers for Ubuntu or any Linux System 


The list is:


  1. Master PDF Editor (The best *Free pdf editor you can edit almost everything )

  2. Okular ( I recommend as a permanent reader with basic features)

  3. Atril Document Reader

  4. Evince

  5. Foxit Reader


Master PDF Editor (Linux, Windows, macOS)


*Free: The older version 4.3 is free for Ubuntu (since it is an older version so it has some bugs but it will not bother much

      You can edit almost everything you want to edit.

  • Edit existing PDF text or add new text, insert images, move existing objects

  • Manipulate text and objects in PDF documents

  • Annotate PDF documents highlight, strikethrough or underline text, attach a file as a comment

  • Add sticky notes, insert arrows, lines, and rectangles, create and add stamps, and more

  • Move, insert, remove, crop or rotate

  • Create, edit and remove PDF bookmarks

  • Create PDF documents from scanned documents / existing files

  • you can use it during a live presentation.

  • and too many other features.




You can download the free older version from the given links



Okular (Linux, Windows, macOS, BSD, etc.)

     

  • Developed by KDE

  • It is a lightweight universal document viewer.

  • Provides support for the installation of plugins.

  • Supports documents, like PDF, Postscript, DjVu, CHM, XPS, ePub, and others.

  • Supports commenting and the addition of text boxes to documents.

  • Supports the addition of stamps to a document.

  • It provides a magnifier and other view enhancements.

  • Supports the Highlighting, and annotation.

  • you can use it during a live presentation.




You can download this in ubuntu from this command

sudo apt-get install okular

How to install Virtual Box and Import OVA file

 How to install VirtualBox and Import OVA file  Steps to Follow: 1. Download the latest version of VirtualBox  from  here 2. Download the ...