Processing math: 100%
본문 바로가기

전체 글

AOCC Command-line options https://docs.amd.com/r/en-US/57222-AOCC-user-guide/AOCC-Optimization-Report-AOR AOCC Optimization Report (AOR) - 57222The AOR tool generates an optimization report for any C, C++, and Fortran application project compiled with AOCC. The optimization report can be investigated by the application developer for a list of optimizations performed/not performed on the compiled adocs.amd.comhttps://docs.. 더보기
Source Code 변경사항 추적방법 예를 들어보자,대형 프로젝트에서 버그가 발견되어 Developer community에 보고 후, patch가 될 것을 통보 받았다.patch가 정상적으로 진행되었는지 확인하는 방법이다. 현재 브랜치 확인git branch 먼저 develope branch로 이동git checkout develop 번외편 : 내가 만든 local change를 버리려면,git reset --hard HEAD 최신 버전으로 업데이트git pull 최신 로그 확인$ git log -1 00:05:25 [15/15]commit aaa81b25768bb8d1b0787acf1f570d572e9795c0 (HEAD .. 더보기
IntelOneAPI 환경에서 실행 환경변수 세팅방법은, 아래의 두개 중 하나를 사용하면 된다. 개인용 워크스테이션이라면 쉘 스크립트가 추천된다.source /opt/intel/oneapi/setvars.shmodule load compiler-intel-llvm/latest 또 한가지 유의할 점은, 가끔 아래와 같은 에러가 뜨는데,./lmp: error while loading shared libraries: liblammps.so.0: cannot open shared object file: No such file or directory 라이브러리 파일을 동일 디렉토리에 넣어도 라이브러리 패스를 세팅하지 않으면 뜨는 에러이다.임시로는 아래와 같이 설정 export LD_LIBRARY_PATH="PWD:LD_LIBRARY_PATH" 더보기
Domain decomposition VTK convert LAMMPS에서 load balancing을 하게되면, 시뮬레이션 타임병 load balancing된 domain decomposition 정보가 텍스트 파일로 저장된다. 저장되는 정보는 sub domain의 node와 grid정보이다.이걸 paraview에서 읽어드릴려면, 변환해 줘야 되는데, 아래와 같이 하면 된다. #!/usr/bin/env python3import sysinput_filename = "./info.balancing" # or ./info.balancing, etc.with open(input_filename, 'r') as f: lines = f.readlines()lines = [ln.strip() for ln in lines]# We'll store data in a d.. 더보기
Local patch Bug reporting 후 답변 diff --git a/src/OPENMP/fix_rigid_small_omp.cpp b/src/OPENMP/fix_rigid_small_omp.cpp index 59fd274f95..3eac85c40a 100644 --- a/src/OPENMP/fix_rigid_small_omp.cpp +++ b/src/OPENMP/fix_rigid_small_omp.cpp @@ -229,7 +229,7 @@ void FixRigidSmallOMP::compute_forces_and_torques() #if defined(_OPENMP) #pragma omp parallel for LMP_DEFAULT_NONE schedule(static) #endif - f.. 더보기
NUMA Pinning with intelOneAPI LAMMPS Script사용하는 시스템 NPS4processors * * 2 numa_nodes 4package omp 5 numactl$ numactl --hardwareavailable: 4 nodes (0-3)node 0 cpus: 0 1 2 3 7 8 12 13 14 18 19 20node 0 size: 31850 MBnode 0 free: 28285 MBnode 1 cpus: 4 5 6 9 10 11 15 16 17 21 22 23node 1 size: 32251 MBnode 1 free: 30036 MBnode 2 cpus: 24 25 26 27 31 32 33 37 38 39 43 44node 2 size: 32251 MBnode 2 free: 30743 MBnod.. 더보기
우분투에서 컴파일러, 실행파일 등의 여러 버전관리 방법 When you have multiple MPI implementations installed on the same machine (or multiple versions of the same MPI, e.g. a system-installed Open MPI vs. your own self-compiled Open MPI), you can control which one is used by your shell or your build scripts in several ways. Below are the key approaches:1. Use full paths to “mpirun” (or “mpicc”, etc.) If you install your new Open MPI in a custom prefi.. 더보기
PID제어 원리 감사한 출처는 https://maxpulse.tistory.com/139 P, PI, PD, PID 제어.PID 제어에 대해서. 회사에서 세미나 한것을 간단히 정리해본다. 일단 P : 비례제어 I : 적분제어 D : 미분제어 여기서 비례, 적분, 미분 이란 것은 에러값(내가 원하는 제어 목표와 실제 제어 상태)maxpulse.tistory.com http://www.selco.kr/PIDcontrol.pdf 더보기