[ Laboratory ]40 [terminal] cscope 디렉토리에 만들기 분석하고자 하는 파일들이 들어있는 디렉토리로 이동해서 아래 두 명령어를 입력해주고 find ./ -name '*.[cCsShH]' > file_list: 현재 디렉토리(./)와 하위 디렉토리에서 C 언어 소스 코드 및 관련 헤더 파일을 검색.[ ] 형태가 대상 확장자를 지정한 것file_list 라는 파일에 찾은 파일의 경로를 저장 cscope -i file_list: c언어 소스 코드 분석 도구인 cscope의 -i 옵션은 특정 파일(file_list)에 명시된 파일 목록을 읽어들여 cscope 데이터베이스를 생성 vim에서 :cscope find 또는 :cs find 를 이용해서 검색을 수행할 수 있다 2024. 11. 27. [terminal] vim 편집기에서 행 번호 보이게 하기 편집기에서는 행 번호 없이 코드를 보여주는데 명령어 입력 모드에서 set number를 입력해주면이렇게 행 번호를 확인할 수 있다 2024. 11. 27. [terminal] wsl 터미널 화면 분할 기본 WSL 화면에서 창을 여러 개 띄우지 않더라도단축키를 활용한 화면 분할로 여러 터미널 화면을 사용할 수 있다 alt shift d 세로 분할 alt shift - 화면 가로 분할마이너스는 텐키가 아닌 일반 키보드의 마이너스를 클릭해야 한다 (내 컴퓨터 기준이라 아닐 수도 있음..ㅎ) 2024. 11. 27. [I/O] I/O Software Stack of High Performance Computing Systems I/O sw stack of HPCHPC : high performance computing I/O SW stack데이터 입출력 흐름에서 효율성을 극대화 하기 위해 멀티 레이어로 설계application layer - 사용자 애플리케이션이 데이터 입출력을 요청- 데이터 집약적인 작업을 수행하는 애플리케이션이 속함high level I/O libraries- 애플리케이션 개발자가 데이터 입출력을 더 쉽게 처리하도록 추상화 제공- 계층적 포맷으로 저장하는 기능, 대규모 병렬 데이터 처리 기능- HDF5, NetCDF, ADIOSparallel I/O middleware- 데이터 병렬화 관리 > 대규모 애플리케이션이 동시에 입출력 수행 가능- 여러 노드에서 데이터 동시 처리 > 성능 극대화- MPI-IOlow.. 2024. 11. 22. [Github] git staging :: No changes added to commit 오류문On branch main Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: (파일명) no changes added to commit (use "git add" and/or "git commit -a") 오류 원인변경 사항이 스테이징되지 않았기 때문에 커밋이 이루어지지 않은 것.No changes added to commit 해결 방법1. 변경된 파일 확인git status 명령어로 변경된 파일 목록을 확인한다 2. 변경된 파일 스테이징변경한 파일을 커밋하기 위해서는.. 2024. 11. 20. [Github] non-fast-forward error :: Updates were rejected because the remote contains work that you do not have locally 오류문To 레포지토리 링크! [rejected] main -> main (fetch first) error: failed to push some refs to '레포지토리 링크'hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note abou.. 2024. 11. 20. 이전 1 2 3 4 5 6 7 다음