#!/bin/bash # pseudos are downloaded from SSSP # https://www.materialscloud.org/discover/sssp/table/efficiency # auto download with either aiida-pseudo, or wget # aiida-pseudo install sssp -x PBEsol --download-only if [ ! -d "SSSP_1.1.2_PBEsol_efficiency" ]; then F='SSSP_1.1.2_PBEsol_efficiency.tar.gz' if [ ! -f $F ]; then wget "https://archive.materialscloud.org/record/file?filename=${F}&parent_id=19" -O $F fi tar xvf $F --one-top-level fi if [ ! -d "SSSP_1.1.2_PBE_efficiency" ]; then F='SSSP_1.1.2_PBE_efficiency.tar.gz' if [ ! -f $F ]; then wget "https://archive.materialscloud.org/api/records/rcyfm-68h65/files/${F}/content" -O $F fi tar xvf $F --one-top-level fi if [ ! -d "nc-fr-04_pbe_standard" ]; then F='nc-fr-04_pbe_standard_upf.tgz' if [ ! -f $F ]; then wget "https://www.pseudo-dojo.org/pseudos/${F}" -O $F fi tar xvf $F fi