Useful command when Alt+power fails in macbook installation
- Determine the disk number
# Enter grub cmdline by pressing Right-Shift and c
grub> ls
(proc) (hd0) ...
from finetuna.atomistic_methods import Relaxation | |
from finetuna.online_learner.online_learner import OnlineLearner | |
from vasp_interactive import VaspInteractive | |
from ase.optimize import BFGS | |
from finetuna.ml_potentials.finetuner_ensemble_calc import FinetunerEnsembleCalc | |
from ase.io import Trajectory | |
from finetuna.utils import calculate_surface_k_points | |
if __name__ == "__main__": |
vasp/5.4.4-hsw, all pass | |
vasp/6.2.1-hsw, all pass | |
vasp/6.3.2-hsw, all pass | |
vasp-tpc/5.4.4-hsw, all pass | |
vasp-tpc/6.2.1-hsw, all pass | |
vasp-tpc/6.3.2-hsw, all pass | |
#Last updated: 2022-10-28T19:33:13-0700 |
#!/bin/bash | |
# This script runs a bootstrap process to setup gh in google colab and setup the authentication | |
# It requires GITHUB_TOKEN to be set (e.g. use a cell with `getpass`) | |
if [ -z "$GITHUB_TOKEN" ] && [ -z "$GH_TOKEN" ] | |
then | |
echo "Neither GITHUB_TOKEN nor GH_TOKEN not set! Exit" | |
exit 1 | |
fi | |
# Download the gh cli for debian |
Useful command when Alt+power fails in macbook installation
# Enter grub cmdline by pressing Right-Shift and c
grub> ls
(proc) (hd0) ...