USPEX Workshop NKU 2018 (day 1) - MaterSim/CMS GitHub Wiki

Wifi setup

  • Choose NKU_WLAN
  • open your web browser, and login with the following accounts: NKU_USPEX1 or NKU_USPEX2
  • password: nku20180623

Cluster information

We encourage all participants do the practices on the NKU cluster: 222.30.49.66

There are 15 accounts for the participants, which are named as USPEX01, USPEX02, ..... USPEX15

All of the accounts have the same password: 123456

qiangzhu@bogon:~$ ssh [email protected]

After you log in, please create your own directory with your name

[USPEX01@master ~]$ mkdir <your_name>

Run 1: test cases

[USPEX01@master USPEX_TEST]$ USPEX_test 
Valid test id:
    1	GULP_300                      
    2	seeds_GULP_300                
    3	hardness_GULP_300             
    4	PSO_GULP_300                  
    5	random_sampling_GULP          
    6	metadynamics_GULP_300         
    7	order_optimization_GULP_300   
    8	order_without_relaxation_300  
    9	Lammps_300                    
   10	CASTEP_300                    
   11	QuantumEspresso_300           
   12	SIESTA_300                    
   13	CP2K_300                      
   14	GULP_VASP_300                 
   15	ATK_301                       
   16	GULP_301                      
   17	restart_GULP_301              
   18	VASP_301                      
   19	DMACRYS_310                   
   20	Tinker-molecule_310           
   21	GULP_200                      
   22	GULP_110                      
   23	FHI-aims_000                  
   24	MOPAC_000                     
   25	antiseeds_GULP_000            
   26	clusters_GULP_000             
   27	GULP_M200                     
   28	vcNEB_111                  
[USPEX01@master USPEX_TEST]$ USPEX_test -t 1
The following tests will be executed: 1

Date and time of execution: 2018-06-23 15:34:43
The following test is executing: GULP_300

Specific dir and INPUT.txt file copied to the current directory.
Changing to /gpfsHOME/home/USPEX01/QiangZhu/USPEX_TEST/2018-06-23_15-34-43___T1/T01_GULP_300 and execute USPEX job...
2018-06-23 15:34:45 [T1 GULP_300]: 
2018-06-23 15:34:45 [T1 GULP_300]:                             < M A T L A B (R) >
2018-06-23 15:34:45 [T1 GULP_300]:                   Copyright 1984-2015 The MathWorks, Inc.
2018-06-23 15:34:45 [T1 GULP_300]:                    R2015b (8.6.0.267246) 64-bit (glnxa64)
2018-06-23 15:34:45 [T1 GULP_300]:                               August 20, 2015
2018-06-23 15:34:45 [T1 GULP_300]: 
2018-06-23 15:34:46 [T1 GULP_300]:  
2018-06-23 15:34:46 [T1 GULP_300]: To get started, type one of these: helpwin, helpdesk, or demo.
2018-06-23 15:34:46 [T1 GULP_300]: For product information, visit www.mathworks.com.
2018-06-23 15:34:46 [T1 GULP_300]:  
2018-06-23 15:34:48 [T1 GULP_300]: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>   
2018-06-23 15:34:54 [T1 GULP_300]:   Initial space group: I4_1/acd (142)
2018-06-23 15:34:54 [T1 GULP_300]:   Actual  space group: I4_1/acd (142) (determined with tolerance=0.1)
2018-06-23 15:34:54 [T1 GULP_300]: Structure 1 built with the symmetry group 142 (I4_1/acd)
2018-06-23 15:34:54 [T1 GULP_300]:   Initial space group: P6_3 (173)
2018-06-23 15:34:54 [T1 GULP_300]:   Actual  space group: P6_3 (173) (determined with tolerance=0.1)
2018-06-23 15:34:54 [T1 GULP_300]: Structure 2 built with the symmetry group 173 (P6_3)
2018-06-23 15:34:54 [T1 GULP_300]:   Initial space group: I2_13 (199)
2018-06-23 15:34:54 [T1 GULP_300]:   Actual  space group: I2_13 (199) (determined with tolerance=0.1)
2018-06-23 15:34:54 [T1 GULP_300]: Structure 3 built with the symmetry group 199 (I2_13)






=======================================================================
Summary:
Test                   : T1 GULP_300
Data comparison        : 126/126
Structures matches     :   4/  4
Files/directories exist:  91/ 91
Reference files        :   0/  0

Test passed!


==================================================================

Total statistics:


Test ID                 : 1
Test name               : GULP_300
Test duration           : 3 minutes 31.7 seconds
Status                  : PASSED
Data comparison         : 126/126
Structures matches      :   4/  4
Files/directories exist :  91/ 91
Reference files         :   0/  0
Matlab error(s):



Duration: 3 minutes 31.8 seconds

Run 2: Structure prediction of MgAl2O4 under high pressure

[USPEX01@master QiangZhu]$ mkdir USPEX_Examples
[USPEX01@master QiangZhu]$ cd USPEX_Examples/
[USPEX01@master USPEX_Examples]$ USPEX -e

EX01-3D_Si_vasp: Silicon (8 atoms/cell) at zero pressure. Variable-cell DFT calculation using VASP, PBE96 functional. Many thanks to G.Kresse for permission to include his PAW files (POTCAR) in our distribution.

EX02-3D_MgAl2O4_gulp: MgAl2O4 (28 atoms/cell) at 100 GPa pressure. Variable-cell calculation using Buckingham potentials, GULP code. This example has direct bearing on the physics of the Earth's interior.

EX03-3D-const_cell_MgSiO3_gulp: this example shows how to do structure prediction when you know cell parameters. MgSiO3 (20 atoms/cell) with Buckingham potentials, GULP code. Cell parameters correspond to post-perovskite. The discovery of post-perovskite (Oganov & Ono, Nature 2004; Murakami et al., Science 2004) was a major breakthrough in Earth sciences.

EX04-3D_C_lammps: this example shows how to do crystal structure prediction using combination of USPEX with the LAMMPS code. In this a simple example: 8 carbon atoms, and Tersoff potential.

EX05-3D_Si_atk: Example of crystal structure prediction of Si with 8 atoms/cell using the density-functional tight binding approximation and ATK code.

EX06-3D_C_castep: DFT-based prediction of the crystal structure of carbon with 8 atoms/cell at 10 GPa, using the CASTEP code.

EX07-2D_Si_vasp: prediction of the 2D-crystal of silicon using DFT and VASP. Simple and powerful.

EX08-0D_LJ_gulp: Nanoparticle structure prediction. Lennard-Jones nanoparticle with 30 atoms, relaxed using the GULP code.

EX09-3D-molecules_CH4_vasp: methane with 4 molecules/cell, at the pressure of 20 GPa. DFT, VASP. Molecule is described in the file MOL_1.

EX10-3D-molecules_CH4_dmacrys: methane with 8 molecules/cell, with forcefield and DMACRYS code, at normal pressure. Molecule is described in the file MOL_1, but note its slightly unusual format for DMACRYS calculations. Please put executable dmacrys.out(v-2.0.8), neighcrys.out in the folder Specific.

EX11-3D-molecules_urea_tinker: urea with 2 molecules/cell, with forcefield and TINKER code, at ambient pressure. Molecule is described in the file MOL_1. Note here we used a relative large toleranceFing (0.12) to intentionally remove the duplicated structures, since the force field is very soft. The trick of parallel calculation with whichcluster=0 is also used here (Qiang Zhu). 

EX12-3D_varcomp_LJ_gulp: Lennard-Jones binary system with fake "Mo" and "B" atoms, GULP, and variable-composition USPEX (Lyakhov and Oganov, 2010).

EX13-3D_special_quasirandom_structure_TiCoO: USPEX can easily find the most disordered alloy structure. Here, this is shown for the TixCo(1-x)O. You need to specify the initial structure in /Seeds/POSCARS and use only the permutation operator. In this case, you don't need to use any external codes. In this example, we optimize (minimize) the structural order (Oganov and Valle (2009); Lyakhov Oganov Valle (2010)) without relaxation (abinitioCode = 0). Seed structure (supercell of Ti-Cu-O-structure) is permutated in a search of the permutant with the minimum/maximum order. Minimizing order in this situation, one gets a generalized version of the "special quasirandom structure".

EX14-GeneralizedMetadynamics_Si_vasp: simple example of a powerful capability to find complex low-energy structures starting with a simple seed structure (Zhu et al, 2013). Silicon, up to 16 atoms/cell, DFT, VASP. Pay special attention to INCAR files ? best of all, just keep the files that you see here, changing only ENCUT, perhaps SIGMA. Evolutionary metadynamics not only predicts low-energy structures, but also gives an idea of transition mechanisms between crystal structures.

EX15-VCNEB_Ar_gulp: example of a variable-cell nudged elastic band (VCNEB: Qian et al., 2013) calculation fcc-hcp transition in a model system, argon, at 0 GPa pressure. Lennard-Jones potential, GULP code.

EX16-USPEX-performance_SrTiO3_gulp: SrTiO3 (50 atoms/cell) at zero pressure. Variable-cell calculation using Buckingham potentials, GULP code. Running this example you can see that even for such a relatively large system USPEX code scores a >90% success rate and remarkable efficiency. This contrasts with a 7-12% success rate reported for the same system and using the same potential by Zurek & Lonie. Clearly, USPEX outperforms the poor reimplementation of our method by Zurek and Lonie. We have witnessed excellent performance of our code also for much larger systems.

EX17-3D_DebyeTemp_C_vasp: Optimization of the elastic properties (the Debye temperature). Example is provided by Haiyang Niu.

EX18-3D_varcomp_ZnOH_GULP: variable composition for ternary system Zn-O-H using ReaxFF. The example is just to demonstrate the capability of the code. Do not expect very precise results. The trick of parallel calculation with whichcluster=0 is also used here. Created by Qiang Zhu.

EX19-Surface-boron111: Prediction of (111) surface reconstruction of alpha-boron, with variable number of atoms (Zhou et al., Phys. Rev. Lett. 113, 176101 (2014))

EX20-0D_Cluster_C60_MOPAC: Cluster structure prediction (000) for C_60 using MOPAC. Example is provided by Zahed Allahyari.

EX21-META_MgO_gulp: Evolutionary metadynamics, with GULP code and Buckingham potentials, MgO with 8 atoms/cell. Starting structure is of rocksalt type, and evolutionary metadynamics finds a number of low-energy structures and structural relations.

EX22-GEM_MgO_gulp: Generalized evolutionary metadynamics, with GULP code and Buckingham potentials. Starting structure is of rocksalt type, with 8 atoms/cell, the calculation is allowed to increase system size up to 16 atoms/cell, and generalized evolutionary metadynamics (GEM) finds a number of low-energy structures and structural relations.

[USPEX01@master USPEX_Examples]$ mkdir Ex02
[USPEX01@master USPEX_Examples]$ cd Ex02/
[USPEX01@master Ex02]$ USPEX -c 2

EX02-3D_MgAl2O4_gulp: MgAl2O4 (28 atoms/cell) at 100 GPa pressure. Variable-cell calculation using Buckingham potentials, GULP code. This example has direct bearing on the physics of the Earth's interior.

EX02-3D_MgAl2O4_gulp example copied to the current directory.
[USPEX01@master Ex02]$ USPEX -r

To run a serial job without a job batch system, we should change the following parameters in the INPUT.txt below:

0 : whichCluster
1 : numParallelCalcs

In INPUT.txt, we have set the gulp running command:

% commandExecutable
gulp < input > output 

Homework: USPEX installation (manual)

  • 2.6: How to run USPEX
  • 2.7: Running USPEX examples: a mini-tutorial
⚠️ **GitHub.com Fallback** ⚠️