본문 바로가기

전체 글

PID제어 원리 감사한 출처는 https://maxpulse.tistory.com/139 P, PI, PD, PID 제어.PID 제어에 대해서. 회사에서 세미나 한것을 간단히 정리해본다. 일단 P : 비례제어 I : 적분제어 D : 미분제어 여기서 비례, 적분, 미분 이란 것은 에러값(내가 원하는 제어 목표와 실제 제어 상태)maxpulse.tistory.com http://www.selco.kr/PIDcontrol.pdf https://velog.io/@717lumos/Control-PID-%EC%A0%9C%EC%96%B4 더보기
wall/gran의 정보 빨아오기 wall/gran은 아래와 같이 per atom array를 제공한다고 한다.https://docs.lammps.org/fix_wall_gran.html fix wall/gran command — LAMMPS documentationBound the simulation domain of a granular system with a frictional wall. All particles in the group interact with the wall when they are close enough to touch it. The nature of the wall/particle interactions are determined by the fstyle setting. It can bedocs.lammps.o.. 더보기
NUMA Pinning in IntelOneAPI 나의 비루한 인텔 워크스테이션은 2 Socket Xeon Gold 이다. 소켓당 2개의 Sub-NUMA Node를 할당할 수 있으며, 총 24개의 코어가 NUMA당 12개씩 분배된다. LAMMPS에서 4개의 NUMA 노드에 균등하게 프로세스를 분배하여 MPIRUN을 하고자 한다.MPI Run을 위한 총 Domain-decomposition은 4이다. 각 프로세스에서 OpenMP로 스레드를 10개로 나누고자 한다. 아래는 LAMMPS의 스크립트이다.processors 2 2 1 numa_nodes 4   LAMMPS의 실행은1. I_MPI_PIN=1Enables process pinning.2. I_MPI_PIN_DOMAIN=numaTells Intel MPI to pin each MPI ran.. 더보기
NUMA Check numactl --hardware lstopo --of console hwloc-ls 더보기
클립보드 복사용 VIM sudo apt-get install vim-gtk3vim --version+clientserver +jumplist +postscript +vartabs+clipboard +keymap +printer +vertsplit+cmdline_compl +lambda +profile +vim9script 전체 선택Shift + V + G 클립보드 복사"+y 더보기
특이한 에러 가끔 이런 뜬금없는 에러가 뜨는데,==================================================================================== BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES= RANK 0 PID 3880668 RUNNING AT HP-Z8= KILLED BY SIGNAL: 11 (Segmentation fault)============================================================================================================================================================.. 더보기
PyLAMMPS https://docs.lammps.org/Howto_pylammps.html 8.6.5. PyLammps Tutorial — LAMMPS documentationPyLammps can be run in parallel using mpi4py. This python package can be installed using Warning Usually, any PyLammps command must be executed by all MPI processes. However, evaluations and querying the system state is only available on MPI rank 0. Usingdocs.lammps.org 더보기
LAMMPS Intel build w/ Python module 찌꺼기 제거make uninstallxargs sudo rm  환경변수 세팅source /opt/intel/oneapi/setvars.shmodule load compiler-intel-llvm/latest cmakecmake ../cmake \ -D BUILD_MPI=yes \ -D BUILD_OMP=yes \ -DCMAKE_C_COMPILER=icx \ -DCMAKE_CXX_COMPILER=icpx \ -DCMAKE_Fortran_COMPILER=ifx \ -D PKG_INTEL=yes \ -D PKG_OPENMP=yes \ -D PKG_GRANULAR=yes \ -D PKG_RIGID=yes \ -D PKG_MOLECULE=yes \ -D PKG_PYTHON=.. 더보기