HackMD
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # SNIC & PRACE VASP Workshop **Workshop webpage:** https://www.nsc.liu.se/support/Events/VASP_workshop_2022/ **Quick guide for working on Tetralith:** https://www.nsc.liu.se/support/Events/VASP_workshop_2022/quick_guide/ **URL of this document:** https://hackmd.io/4BtPXK7HQDSCwUz1I2JEeQ ### Icebreaker: Please write your name, where you work, and optionally what you're working on - Weine Olovsson: AE at NSC, working with materials research software, e.g. VASP, WIEN2k, QE, ... - Diana Iusan, AE @UPPMAX, working with materials research software as well, VASP, QuantumESPRESSO, RSPt, Amber, ... - Edmond Febrinicko Armay, Lund University, working with DFT and GW software, e.g. Fleur, Spex. - Ouissam El Bakouri, University of Girona, working on photocatalysis (Gaussian, ORCA, OpenMolcas...). - Stepas Toliautas: Vilnius University, research mostly on (de)excitation pathways and optical spectra simulation by DFT; using VASP intermittenly to provide (very) basic support for its installation and usage on local HPC resources. - Pavlin Mitev(AE@UPPMAX): Computational chemistry, MD, VASP, CASTEP, Gaussian, GULP, CRYSTAL, cp2k... - William Stenlund: Linköping University, working with point defects in semiconductors simulated with VASP. - Hamish Struthers: AE at NSC. - Maria Vieira: University of Lisbon (IST), working on catalysis using DFT (VASP) *Note: Access to VASP will be given during lunch today, Tue, Feb 22. For account-related questions, please email support@nsc.liu.se or use the SUPR page: https://supr.snic.se/support/. Please mention that you're taking part in the workshop.* ## General Questions (day 1) - [VASP main page](https://vasp.at) - [VASP wiki manual](https://www.vasp.at/wiki/index.php/The_VASP_Manual_0) - [VASP tutorials and recordings](https://www.vasp.at/learn/) - Q: machine learning force-fields implemented in VASP 6.3 - A: https://www.vasp.at/wiki/index.php/Machine_learning_force_field:_Theory ## Hands-on Questions (day 1) - Q: POTCAR files are missing in input directory? - A: You may find the `POTCAR` files in the `/software/sse/manual/vasp/POTCARs/PBE/2015-09-21/` directory. You'll need to copy the relevant one in your running directory. - Q: Logging in to Tetralith for the first time? - A: Follow the guide here: https://www.nsc.liu.se/support/getting-started/ - Q: Quick guide to Tetralith: - A: https://www.nsc.liu.se/support/Events/VASP_workshop_2022/quick_guide/ - :heavy_check_mark:[Fixed] Reservation names in quick guide are invalid, you need to skip dash in "`vaspworkshop`" (so `usereservation vaspworkshop-2022-02-22`, without dash). - Type the command `usereservation vaspworkshop-2022-02-22` in the terminal to make use of the course reservation. This way your jobs will start faster. Tomorrow you'll need to: `usereservation vaspworkshop-2022-02-23`. - Q: How do we know we're using the latest vasp? - A: before loading: check version number and date in the list given by `module avail vasp`. - A: load the module with `module load VASP/...` then you can check at any time what is loaded with `module list`. - Q: How can I see which reservations I am allowed to use? - A: Type the command `listreservations`. - Q: Where do I find the examples to be used in the course? - A: `/software/sse/manual/vasp/training/ws2022/`. You may just copy the directory somewhere else. - Q: I get `permission denied` when I try to copy the workshop directory / POTCAR files. - A: Type `groups` to confirm that you're member of the group `pg_vasp-ws2022` and `vasp61`. If it is not shown in the list, but you are member of the SUPR prject for the course, re-login to Tetralith. If you still have issues, write here or in the Zoom chat. - :heavy_check_mark:[Fixed] Q: small mistake in fcc_Si example, section "1. Calculation": `cpr -r` should be `cp -r`. - A: Thank you for pointing it out. I'll ask Weine to correct it. - Q: How to calculate the effective mass and optical properties? - A: For the effective mass, you need to do a band structure calculation first and then extract m*. There is a sample workflow here: https://www.vasp.at/forum/viewtopic.php?t=17493, although I have not tested it myself. Use with care. - A: For optical properties you may check: https://www.vasp.at/wiki/index.php/Optical_properties_and_dielectric_response_-_Tutorial - A: https://github.com/lucydot/effmass - Q: I get the following message after loading ASE: ``` IMPORTANT INFORMATION ===================== You HAVE to load a suitable Python installation together with ASE 3.19.0! e.g.: Python/3.6.3-anaconda-5.0.1-nsc1 ``` - A: This is expected and shown even with Python already preloaded (apparently, module loading script does not check for this dependency). - Q:Regarding the **ENCUT** values, it was mentioned that the ideal is around 1 -1.5x of the **ENMAX** value provided. Should we do convergence testing to get the ideal **ENCUT** value? - A: Indeed, this is valuable info related to the topic https://www.vasp.at/wiki/index.php/PREC - A: A bit longer answer - yes, one need to test in theory the ENCUT with respect to any of the properties that are calculated, but more or less they converge at the same rate. In practice, it might be rather different story especially if the you calculate properties while the cel volume changes... or for system with weak interactions (dispersion). - A: Please remember that the accruracy of your simulations will also depend on the k-mesh, NBANDS, and the algorithm you're using for the convergence. It's always good to do some tests and find the optimal set for the quantity that you're instrested in calculating. - Q: How to plot the band structure with gnuplot or other software? - A: One example for Si: https://www.nsc.liu.se/support/Events/VASP_workshop_2022/fcc_Si_bandstructure/ - A: Then you may use `p4vasp` or `py4vasp` to plot. - A: http://wien2k-algerien1970.blogspot.com/2020/05/plotting-band-structure-and-dos-dft-in.html - Make sure you use a fine-enough k-mesh. - https://wiki.fysik.dtu.dk/ase/ase/calculators/vasp.html#band-structure-with-vasp (ASE) - https://smtg-ucl.github.io/sumo/sumo-bandplot.html (sumo-bandplot) :thumbsup: x2 - Q: How to relax the structure with VASP? - A: **ISIF** tag: https://www.vasp.at/wiki/index.php/ISIF - A: A related important read: https://www.vasp.at/wiki/index.php/Energy_vs_volume_Volume_relaxations_and_Pulay_stress - A: ![ISIF](https://www.molphys.org/VASP/vasp_data/volume/isif_func.png =500x) - Always good to double check ISIF > 0 calculations with some single-point calculations (=no relaxations) or calculations with only limited degrees of freedom, especially if the structure is complicated / has few symmetries. - - Q: For convergence testing, what are the parameters that I should test for? Besides ENCUT and Kmesh? - A: NBANDS, convergence algorithm, EDIFF, EDIFFG,... - A. Also look into PREC https://www.vasp.at/wiki/index.php/PREC, if it needs to be set to "Accurate". Also look into what other parameters it determines. In particular cases one might need to set those directly. - Q: Where do I find good database for POSCAR files? - A: You may get the .cif from the ICSD database https://icsd.fiz-karlsruhe.de/ and then you may generate the POSCAR with `cif2cell`, for example. - A: `cif2cell` can be found here https://sourceforge.net/projects/cif2cell/ it's available as a module on Tetralith - A: Also good database for experimental structures: https://www.crystallography.net/cod/new.html - A: I think whole calculations can be found on the NOMAD database (including many for VASP): https://nomad-lab.eu/prod/rae/gui/search - A: https://cmr.fysik.dtu.dk/ ## General Questions (day 2) - Q: How does VASP deal with i-th singlet (and triplet) excited states? What about its efficiency compared to other packages? - A: [name=PM:] I have no experience... - A: [name=Weine]: Sorry, I also don't know so much about this topic. Do you mean excited states which are fixed in a regular DFT calculation or using e.g. BSE? - Q: How should the inputs look like when performing excited state calculations? - A: [name=PM:] I have no experience... - A: [name=William]: Set ISMEAR=-2 (https://www.vasp.at/wiki/index.php/ISMEAR) so the occupancy does not change during the run, and use FERWE (https://www.vasp.at/wiki/index.php/FERWE) and FERDO to set which states are occupied (your excited state). Then I think you need to start the run from the CONTCAR and WAVECAR from a completed ground state calculation. Check EIGENVAL file from ground state calculation to see how you want to change the occupancy. - A: [name=Weine]: Also, probably use the latest version of VASP, from 6.3, since there was a bug fix recently. Previous version 5.4.1 was also ok. ## Hands-on Questions (day 2) - :heavy_check_mark:[Fixed] Q: Another typo in Quick guide: command to start an interactive job should begin with `interactive` (missing 'c'). It is there since yesterday, but one tends to correct, submit and forget shell commands immediately afterwards, because typing in something wrong the first time is extremely common. - A: Thanks! Now fixed (might take a few min, and might need to reload page) - Q: Is it good to run with single KPOINTS even when calculating DOS? - A: Please make difference for the `KPOINTS` file during the electronic structure step and the second step. Single k-point is ok only for large supercells (ideally the bands are already flat, so sampling at a single point will be enough). For the second step, you can choose to sample only at the gamma point or another k-point, although this does not sound as DOS (*Density* Of States) anymore but rather like band levels. For larger cells, this will lead to splits which will start to look again like DOS when they get in to a histogram plot. - Q: PDF plot in gnuplot using the command line/script - A: ``` gnuplot ... set term pdfcairo set out "filename.pdf" replot # or plot with the original plot command # to flush the buffer, not necessary if you close or exit the program set out "" # to revert back to screen set term qt ... ``` - Q: - A: - Q: - A: - Q: - A: - Q: - A: - Q: - A: - Q: - A: - Q: - A:

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully