Ubuntu 썸네일형 리스트형 로그파일 검색 방법 config.log 파일에서 "ncurses"를 포함한 라인만 프린트 하기grep -i ncurses config.log 더보기 우분투에서 컴파일러, 실행파일 등의 여러 버전관리 방법 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.. 더보기 클립보드 복사용 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 더보기 Glances Glances는 시스템 모니터링을 위한 오픈소스 어플리케이션으로,최신 버젼은 파이썬으로 만들어져 있다.https://glances.readthedocs.io/en/latest/quickstart.html#web-server-mode Linux에서는 apt install이 가능하지만, 예전버젼이 깔리므로 클라이언트와 버젼이 맞지 않으면 통신이 불가하다.따라서 최신버젼은 pip 인스톨을 추천하고 있다. 최신 버젼의 리눅스에서는 파이썬 어플리케이션이 리눅스 시스템 디렉토리를 건드리는 것을 싫어 하므로 가상환경에서 실행하도록 강제하고 있다. 이게 싫다면 다음의 방법으로 설치하도록 하자. sudo apt-get updatesudo apt-get install pipxpipx install glancesglance.. 더보기 Directories - 1 It mostly depends on your specific use case and environment: 1. Single-User, Personal Setup: • ~/spack is perfectly fine if you’re the only one who will be using Spack. It keeps everything contained within your home directory, so you don’t need elevated permissions and it’s easier to back up or remove later. 2. Multi-User System or System-Wide Installation: • /opt/spack (or another system-level .. 더보기 Directories 2 In a Linux filesystem hierarchy, both /opt/ and /usr/local/ are valid places to install software that doesn’t come from the system’s base distribution (e.g., apt, yum). They serve slightly different purposes and follow different conventions: 1. /opt/ (Optional Software) • Purpose: Reserved for “optional” software that is usually third-party, proprietary, or self-contained. Often these are large .. 더보기 ldconfig ldconfig is a system utility in Ubuntu and other Linux-based systems that manages the system’s dynamic linker run-time bindings. More concretely, it helps the operating system track and locate the dynamic libraries (.so files) used by various programs. Key points about ldconfig: 1. Function:When applications are executed, they rely on libraries (collections of precompiled functions) to perform v.. 더보기 기본 Library PATH의 설정 우분투에서 컴파일 또는 프로그램 실행시 기본으로 확인하는 Library PATH는 다음과 같다. 1. 기본 시스템 디렉토리들• /lib• /usr/lib• /lib/x86_64-linux-gnu (on 64-bit systems)• /usr/lib/x86_64-linux-gnu (on 64-bit systems) 2. /etc/ld.so.conf 아래 configuration 파일들예를 들어, 이런 것 들이 추가될 것이다./etc/ld.so.conf.d$ ls000_cuda.conf 988_cuda-12.conf fakeroot-x86_64-linux-gnu.conf gds-12-4.conf i386-linux-gnu.conf libc.conf x86_64-linux-gnu.conf$ cat .. 더보기 이전 1 2 3 4 5 다음