Header Ads Widget

Ab initio Calculations Using Q-Espresso Code

Last Posts

10/recent/ticker-posts

Installation of BURAI in Ubuntu 18.04/20.04 LTS

 Burai (1990, MSX2, Riverhill Soft Inc.) | Generation MSX

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/

 

https://sairajdreams.blogspot.com/2020/08/installation-of-burai-in-ubuntu-18.html 

 


 

Post a Comment

0 Comments