- The latest OneAPI that supports CentOS 7 is 2022.3.1
- Use
lscpu
to check the arch of CPU.
# download source code
wget https://elpa.mpcdf.mpg.de/software/tarball-archive/Releases/2022.11.001/elpa-2022.11.001.tar.gz
tar -xvf elpa-2022.11.001.tar.gz
# uincode version, keep ü | |
pinyin = ['a', 'o', 'e', 'er', 'ai', 'ao', 'ou', 'an', 'en', 'ang', 'eng', 'yi', 'ya', 'yao', 'ye', 'you', 'yan', 'yin', 'yang', 'ying', 'yong', 'wu', 'wa', 'wo', 'wai', 'wei', 'wan', 'wen', 'wang', 'weng', 'yu', 'yue', 'yuan', 'yun', 'ba', 'bo', 'bai', 'bei', 'bao', 'ban', 'ben', 'bang', 'beng', 'bi', 'biao', 'bie', 'bian', 'bin', 'bing', 'bu', 'pa', 'po', 'pai', 'pei', 'pao', 'pou', 'pan', 'pen', 'pang', 'peng', 'pi', 'piao', 'pie', 'pian', 'pin', 'ping', 'pu', 'ma', 'mo', 'me', 'mai', 'mei', 'mao', 'mou', 'man', 'men', 'mang', 'meng', 'mi', 'miao', 'mie', 'miu', 'mian', 'min', 'ming', 'mu', 'fa', 'fo', 'fei', 'fou', 'fan', 'fen', 'fang', 'feng', 'fu', 'da', 'de', 'dai', 'dei', 'dao', 'dou', 'dan', 'den', 'dang', 'deng', 'dong', 'di', 'diao', 'die', 'diu', 'dian', 'ding', 'du', 'duo', 'dui', 'duan', 'dun', 'ta', 'te', 'tai', 'tei', 'tao', 'tou', 'tan', 'tang', 'teng', 'tong', 'ti', 'tiao', 'tie', 'tian', 'ting', 'tu', 'tuo', 'tui', 'tuan', 'tun', 'na', 'ne', 'nai', 'nei', 'nao', 'n |
#!/bin/bash | |
# This script runs a command and kills it if there is no output for a certain time | |
# Define the command to run and the output file | |
COMMAND="lmp_mpi -in input.lmp" | |
OUTPUT_FILE="lammps.log" | |
# Define the timeout value in seconds | |
TIMEOUT=60 |
# download
wget https://www.cp2k.org/static/downloads/libint-v2.6.0-cp2k-lmax-5.tgz --no-check-certificate
tar -xvf libint-v2.6.0-cp2k-lmax-5.tgz
https://medium.com/@anarmammadli/how-to-install-openpbs-20-0-1-on-ubuntu-b1cc62cfb0ec
pbs_server
doesn't runpostgresql
doesn't runimport numpy as np | |
def sample_data_frame(path: str, frame_lines: int, nsample: int, out_path: str, | |
total_lines: int = -1, encoding='utf-8', | |
write_buffer_size=10 * 1024 * 1024, | |
): | |
""" | |
Sample data frame from file randomly | |
A data file is composed of multiple frames, each frame has fixed number of lines. |