๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

IT-Engineering135

Nvidia GPU ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ํŒฌ ์†๋„ ์˜ค๋ฒ„ํด๋Ÿญ ์˜ต์…˜ ์ผœ๊ธฐ(nvidia-settings) nvidia ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ์„ค์ •์€ Linux ์šด์˜์ฒด์ œ์˜ ๊ฒฝ์šฐ(์ œ ๊ฒฝ์šฐ Ubuntu18.04์™€ Ubuntu20.04) ์•„๋ž˜์˜ ์ฃผ์†Œ์— ์žˆ์Šต๋‹ˆ๋‹ค. Nvidia ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ์„ค์ • ํŒŒ์ผ ์œ„์น˜ /etc/X11/xorg.conf nvidia-settings์˜ ์ถ”๊ฐ€ ์˜ต์…˜ ํ™œ์„ฑํ™” ๋ฐฉ๋ฒ• ๋ฆฌ๋ˆ…์Šค ํ„ฐ๋ฏธ๋„์˜ ๊ฒฝ์šฐ๋Š” ๊ฐ„๋‹จํ•˜๊ฒŒ ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋งŒ ์ž…๋ ฅํ•ด์ฃผ๊ณ  ์žฌ๋ถ€ํŒ…์„ ํ•ด์ฃผ๋ฉด ๋ฐ”๋กœ ๊ทธ๋ž˜ํ”ฝ ์นด๋“œ ํŒฌ ์†๋„ ์˜ต์…˜๊ณผ ์˜ค๋ฒ„ํด๋Ÿญ ์˜ต์…˜์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. nvidia-xconfig --cool-bits=28 ์•„๋‹ˆ๋ฉด ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์ง์ ‘ cool-bits๋ฅผ ๋ณ€๊ฒฝํ•ด์ฃผ๋ฉด ๋˜๋Š”๋ฐ ๋‹ค์Œ ์ฑ•ํ„ฐ๋ฅผ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. sudo vi /etc/X11/xorg.conf ์žฌ๋ถ€ํŒ…์„ ์™„๋ฃŒํ–ˆ๋‹ค๋ฉด ํ„ฐ๋ฏธ๋„์—์„œ nvidia-settings ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๋‹ค๋ฅธ ์šด์˜์ฒด.. 2021. 7. 22.
์—๋ฒ„๋…ธํŠธ ๋‚ ์งœ ์‹œ๊ฐ„ ๋‹จ์ถ•ํ‚ค ์ž…๋ ฅํ•˜๋Š” ๋ฐฉ๋ฒ• ์—๋ฒ„๋…ธํŠธ์—์„œ ๋‚ ์งœ๋‚˜ ์‹œ๊ฐ„์„ ๋‹จ์ถ•ํ‚ค๋กœ ์ž…๋ ฅํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ๋ ค๋“œ๋ฆฌ๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ํ•ด๋‹น ๊ธฐ๋Šฅ Evernote์˜ ๋‹จ์ถ•ํ‚ค๋Š” ์•„๋ž˜์™€ ๊ฐ™์ฃ . ๋‚ ์งœ : Shift + Alt + D ์‹œ๊ฐ„ : Shift + Ctrl + D ๋‚ ์งœ: ์ œ๋ชฉ์ด๋“  ๋‚ด์šฉ์—์„œ๋“ , Shift+Alt+D ๋ฅผ ๋ˆ„๋ฅด๋ฉด ๋ฉ๋‹ˆ๋‹ค. ์‹œ๊ฐ„: ์ œ๋ชฉ์ด๋“  ๋‚ด์šฉ์—์„œ๋“ , Shift+Ctrl+D ๋ฅผ ๋ˆ„๋ฅด๋ฉด ๋ฉ๋‹ˆ๋‹ค. Alt์™€ Ctrl์ด ์ฐจ์ด์ž…๋‹ˆ๋‹ค. ์ตœ์‹  ๋ฒ„์ „์—์„œ๋Š” ๊ณผ๊ฑฐ Date์ „์ฒด๋ฅผ ์ž…๋ ฅํ•ด์ฃผ๋˜ Ctrl + ; ์ด ๋จนํžˆ์ง€๋ฅผ ์•Š์•„์„œ ์ด๋ ‡๊ฒŒ ์“ฐ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. (ํŽธํ–ˆ๋Š”๋ฐ...) ๋„์›€์ด ๋˜์…จ๊ธฐ๋ฅผ ๋ฐ”๋ผ๋ฉฐ. 2021. 7. 8.
Ubuntu OpenFOAM ๋นŒ๋“œ ์—๋Ÿฌ CGAL ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฌธ์ œ ํ•ด๊ฒฐ ์‹คํ–‰ ํ™˜๊ฒฝ: ์šฐ๋ถ„ํˆฌ 18.04 ์˜คํ”ˆํผ ๋ฒ„์ „: OpenFOAM(org๋ฒ„์ „) 4.1 ์ด์ „๊ธ€๊ณผ ์œ ์‚ฌํ•˜๊ฒŒ OpenFOAM ๋นŒ๋“œ์‹œ์— ํŠน์ • ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ค์น˜๊ฐ€ ๋˜์–ด์žˆ์ง€ ์•Š์œผ๋ฉด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค. ๊ฐ๊ฐ์˜ ๋ฌธ์ œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๊ณผ ๋”๋ถˆ์–ด ์ „์ฒด์ ์ธ ์„ค์น˜ ๊ฐ€์ด๋“œ๋„ ๋‚˜์ค‘์— ํ•œ๋ฒˆ ์ž‘์„ฑํ•ด๋ด์•ผ ๊ฒ ๋‹ค. ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ์—๋Ÿฌ๋ฉ”์‹œ์ง€ fatal error: CGAL/Delaunay_triangulation_3.h: No such file or directory ํ•ด๊ฒฐ๋ฐฉ๋ฒ• sudo apt-get install libcgal-dev ์œ„์˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด CGAL ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ฐœ๋ฐœ ๋ฒ„์ „์„ ์„ค์น˜ํ•˜๋ฉด ํ•ด๋‹น ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋‹ค. ์ฐธ๊ณ : https://www.cgal.org/ The Computational Geometry Algorithms Library.. 2021. 5. 25.
Ubuntu Openfoam 4 ์„ค์น˜์‹œ zlib์œผ๋กœ ์ธํ•œ ์—๋Ÿฌ ํ•ด๊ฒฐ ์‹คํ–‰ํ™˜๊ฒฝ: Ubuntu 18.04 ์šฐ๋ถ„ํˆฌ 18๋ฒ„์ „์—์„œ ์˜คํ”ˆํผ(OpenFOAM) 4๋ฒ„์ „์„ ์ˆ˜๋™์œผ๋กœ ์„ค์น˜ํ•˜๋Š”๋ฐ, Allwmake๋ฅผ ํ†ตํ•œ ๋นŒ๋“œ์‹œ์— compile error๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์„ ํ•ด๊ฒฐํ•œ ๊ณผ์ •์ด๋‹ค. ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ common_file_uncompress.c:65:10: fatal error: zlib.h: No such file or directory #include "zlib.h" ^~~~~~~~ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• sudo apt-get install zlib1g-dev zlib ๊ฐœ๋ฐœ์šฉ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์„ค์น˜ํ•œ ๊ฒƒ์œผ๋กœ ํ•ด๋‹น ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๋Š” ํ•ด๊ฒฐ๋˜์—ˆ๋‹ค. 2021. 5. 25.
Ubuntu 18.04 USB ์ธ์‹ ๋ฌธ์ œ - Unable to access - Not authorized to perform operation ์šฐ๋ถ„ํˆฌ 18.04๋ฅผ ์‚ฌ์šฉ์ค‘์ธ๋ฐ, ์–ด๋Š๋‚  ๊ฐ‘์ž๊ธฐ USB๊ฐ€ ์ธ์‹์ด ๋˜์ง€ ์•Š๊ณ  ๋‹ค์Œ์˜ ๊ฒฝ๊ณ ์ฐฝ์ด ๋– ๋ฒ„๋ ธ๋‹ค. "What the...?" ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• sudo apt autoremove chrome-remote-desktop ๊ตฌ๊ธ€ chrome-remote-desktop๊ณผ์˜ ์ถฉ๋Œ์ด๋ผ๋Š” ์˜๊ฒฌ์ด ์—ฌ๊ธฐ์ €๊ธฐ์„œ ๋งŽ์ด ๋‚˜์™€์„œ ๋‹น์žฅ์€ ํ•„์š”๊ฐ€ ์—†์–ด์„œ ์‚ญ์ œ๋ฅผ ์ง„ํ–‰ํ–ˆ๋‹ค. ๋ฐ”๋กœ ์ธ์‹์ด ๋˜์ง€ ์•Š๊ธธ๋ž˜ ์žฌ๋ถ€ํŒ…์„ ํ–ˆ๋”๋‹ˆ ์ธ์‹์ด ๋˜์—ˆ๋‹ค. ์ง€์šฐ์ง€ ์•Š๊ณ  ์žฌ๋ถ€ํŒ… ํ•ด๋ณด์•˜๋”๋ผ๋ฉด ์–ด๋• ์„๊นŒ? ๋Š” ํ…Œ์ŠคํŠธ ํ•ด๋ณด์ง€ ์•Š์•„์„œ ๋‹ค์†Œ ๋ถ€์ •ํ™•ํ•˜์ง€๋งŒ ์ฐธ๊ณ ๊ฐ€ ๋  ์ˆ˜ ์žˆ๋Š” ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ํ•˜๋‚˜ ์ œ์‹œํ•ด ๋ณธ๋‹ค. ์ปดํ“จํ„ฐ์™€ ์ˆ˜์‹ญ๋…„(?) ๋†€์•„์™”์ง€๋งŒ, ์•„์ง๋„ ์ž์ž˜ํ•œ troubleshooting์ด ๋ฒ„๊ฒ๋‹ค. 2021. 5. 22.
Boost does not appear to be installed - ๋ถ€์ŠคํŠธ ์„ค์น˜(Ubuntu) Ubuntu 18.04 ๋ฒ„์ „์—์„œ OpenFOAM 4.1 Thirdparty ๋นŒ๋“œ์‹œ์— ์•„๋ž˜์˜ ๋ฉ”์‹œ์ง€๊ฐ€ ๋œจ๋ฉด์„œ ๋นŒ๋“œ๊ฐ€ ์‹คํŒจํ–ˆ๋‹ค. Build CGAL Boost does not appear to be installed stopping build ๋ฌธ์ œ๋Š” Boost๊ฐ€ ์„ค์น˜๋˜์–ด ์žˆ์ง€ ์•Š๋‹ค๋Š” ๊ฒƒ. Boost ์„ค์น˜๋ฅผ ํ•ด์ฃผ๋„๋ก ํ•˜์ž. Boost ์„ค์น˜ ๋ฐฉ๋ฒ• ์•„๋ž˜์˜ ํŒจํ‚ค์ง€ ์„ค์น˜๋ฅผ ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค. ๊ผญ ๋‘˜๋‹ค ํ•ด์ฃผ์–ด์•ผ ํ•œ๋‹ค. CGAL์˜ ๋นŒ๋“œ๋Š” libboost-dev๋งŒ ์„ค์น˜ํ•ด๋„ ์ˆ˜ํ–‰์ด ๋˜์ง€๋งŒ, ์ดํ›„ OpenFOAM ์ปดํŒŒ์ผ์„ ํ•  ๋•Œ ์•„๋ž˜์˜ ๊ฒƒ๋„ ํ•„์š”ํ•˜๊ธฐ ๋•Œ๋ฌธ. ๋‹ค๋ฅธ ํ”„๋กœ๊ทธ๋žจ์„ ์„ค์น˜ํ•  ๋•Œ๋„ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ์ผ ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒ๋œ๋‹ค. sudo apt install libboost-dev sudo apt install libboost-al.. 2021. 5. 22.
Unable to acquire the dpkg frontend lock ํ•ด๊ฒฐ(Ubuntu) ์šฐ๋ถ„ํˆฌ(Ubuntu)์—์„œ ํŒจํ‚ค์ง€ ์„ค์น˜๋ฅผ ์œ„ํ•ด dpkg๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ ์ด์ „์— ํ–ˆ๋˜ ์ž‘์—…์œผ๋กœ ์ธํ•ด lock์ด ๊ฑธ๋ฆฌ๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. ์ด๋ฅผ ํ•ด๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ์†Œ๊ฐœํ•œ๋‹ค. ์—๋Ÿฌ ๋ฌธ๊ตฌ E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? ์—๋Ÿฌ ๋‚ด์šฉ์€ ์œ„์™€ ๊ฐ™๋‹ค. ์ด๋ฅผ ํ•ด๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๊ฐ„๋‹จํ•˜๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• sudo dpkg --configure -a ์œ„์˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋. 2021. 5. 21.
ํ‹ฐ์Šคํ† ๋ฆฌ Book Club ์Šคํ‚จ ์ธ๋„ค์ผ ์ •์‚ฌ๊ฐํ˜• ๋งŒ๋“ค๊ธฐ ๋ณธ ํฌ์ŠคํŒ…์€ ํ‹ฐ์Šคํ† ๋ฆฌ Book Club ์Šคํ‚จ์˜ ๋ฆฌ์ŠคํŠธ ํƒ€์ž… '๋‰ด๋ถ'์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ์—๋งŒ ํ•œํ•ฉ๋‹ˆ๋‹ค. ์ถ”๊ฐ€ ์š”์ฒญ์‚ฌํ•ญ์ด ์žˆ์œผ๋ฉด ํ•ด๋‹น ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ๋„ ๋„์™€๋“œ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ณธ ๋ธ”๋กœ๊ทธ์˜ ์Šคํ‚จ์ด ๋ฐ”๋กœ Book Club์Šคํ‚จ์ด๋‹ค. ์ด๊ฒƒ์ €๊ฒƒ ์‚ฌ์šฉํ•ด๋ณธ ๋์—, ๋””์ž์ธ๋„ ๊ฐ€๋ณ๊ณ , ์‹ฌํ”Œํ•ด์„œ ์• ์šฉํ•˜๊ณ  ์žˆ๋‹ค. ๋‹ค๋งŒ ์ตœ๊ทผ๋“ค์–ด ํ•˜๋‚˜๊ฐ€ ๊ฑฐ์Šฌ๋ฆฌ๊ธฐ ์‹œ์ž‘ํ–ˆ๋Š”๋ฐ... "๋ฐ”๋กœ ์ง์‚ฌ๊ฐํ˜•์˜ ์ธ๋„ค์ผ" Book Club์ด๋ž€ ์ด๋ฆ„์— ๊ฑธ๋งž๊ฒŒ ์ฑ… ํ‘œ์ง€์— ๋งž๊ฒŒ ๋””์ž์ธ๋œ ํ…Œ๋งˆ๋‹ค ๋ณด๋‹ˆ ์–ด์ฉ” ์ˆ˜ ์—†๋Š” ๋ถ€๋ถ„์ธ๋ฐ, ์–ด์ฉ” ์ˆ˜ ์—†๋‹ค๊ณ  ํฌ๊ธฐํ•˜๋ฉด ์‚ต์ด ์•„๋‹ˆ๋‹ค. ์ด์ œ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๋Ÿฌ ๊ฐ€๋ณด์ž! Book Club ์Šคํ‚จ Thumbnail ์ •์‚ฌ๊ฐํ˜•์œผ๋กœ ๋งŒ๋“ค๊ธฐ 1. ์Šคํ‚จ ํŽธ์ง‘ ๋ฉ”๋‰ด๋กœ ์ง„์ž…ํ•œ๋‹ค. โ€ป ์‚ต์˜ ๊ฒฝ์šฐ ์•„๋ž˜์˜ ์„ค์ •์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์œผ๋‹ˆ ์ฐธ๊ณ  ๋ฐ”๋ž€๋‹ค. ์„ค์ •์— ๋”ฐ๋ผ ๋ณธ ๋”ฐ๋ผํ•˜๊ธฐ๊ฐ€ ๋‹ค์†Œ.. 2021. 5. 19.
๋„ค์ด๋ฒ„ ๋ฉ”์ผ POP3/IMAP ์•„์›ƒ๋ฃฉ(Outlook) ์„ค์ • ๋ฐฉ๋ฒ• ๋„ค์ด๋ฒ„ ๋ฉ”์ผ์„ ์‚ฌ์šฉํ•˜๋‹ค ๋ณด๋ฉด ์›น ๋ธŒ๋ผ์šฐ์ €๋ฅผ ์ผœ์ง€ ์•Š๊ณ , Outlook์—์„œ ํŽธํ•˜๊ฒŒ ์‚ฌ์šฉํ•˜๊ณ ํ”Œ ๋•Œ๊ฐ€ ์žˆ๋‹ค. ์š”์ƒˆ๋Š” ์›Œ๋‚™ ์›น๋ฉ”์ผ์ด ์ข‹์•„์„œ ๊ทธ๋‹ฅ ์š”๊ตฌ๋Š” ์—†๋Š” ๋“ฏํ•˜๋‚˜, ์•„์ง๋„ ์š”๊ตฌ์‚ฌํ•ญ์ด ์ ์ง€๋Š” ์•Š์€๋“ฏํ•˜์—ฌ ํฌ์ŠคํŒ…์„ ํ•ด๋ณธ๋‹ค. 1. ๋„ค์ด๋ฒ„ ๋ฉ”์ผ ์ ‘์† ๋ฐ ์„ค์ •ํ™”๋ฉด ๋“ค์–ด๊ฐ€๊ธฐ ๋„ค์ด๋ฒ„ ๋ฉ”์ผ์— ์ ‘์†ํ•˜์—ฌ ์•„๋ž˜ ๊ทธ๋ฆผ๊ณผ ๊ฐ™์ด ์„ค์ • ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ๋ณด์ž. 2. ํ™˜๊ฒฝ ์„ค์ • ๋ฉ”๋‰ด์—์„œ POP3/IMAP ์„ค์ • ๋ˆ„๋ฅด๊ธฐ ํ™˜๊ฒฝ ์„ค์ • ํ™”๋ฉด์—์„œ ์•„๋ž˜ ๊ทธ๋ฆผ๊ณผ ๊ฐ™์ด 'POP3/IMAP ์„ค์ •'์„ ๋ˆŒ๋Ÿฌ๋ณด์ž. 3. POP3/IMAP ์›ํ•˜๋Š” ํ”„๋กœํ† ์ฝœ์— ๋”ฐ๋ผ ์„ค์ • ์„ค์ • ๋ˆ„๋ฅด๊ธฐ POP3๋ƒ IMAP์ด๋ƒ์— ๋”ฐ๋ผ ํƒญ์„ ์„ ํƒํ•˜๋ฉด, ํ•ด๋‹น ํ”„๋กœํ† ์ฝœ์— ๋”ฐ๋ผ ์„ค์ • ๋ฐฉ๋ฒ•์ด ์•„๋ž˜์— ํ‘œ์‹œ๋œ๋‹ค. POP3๋Š” ์‰ฝ๊ฒŒ ๋งํ•ด ์šฐ์ฒดํ†ต์ฒ˜๋Ÿผ ๋นผ๋‚ด๊ฐ€๋Š” ๋ฐฉ์‹, IMAP์€ ์–‘๋ฐฉํ–ฅ ๋™๊ธฐํ™” ๋ฐฉ์‹์ด๋ผ๊ณ  ์ƒ๊ฐํ•˜๋ฉด ํŽธ.. 2021. 5. 13.