Linux & Unix18 VASP, Gaussian에서 원자 위치 고정하는 방법 물리, 재료, 화학 분야에서 많이 이용하는 VASP과 Gaussian code에서 꼭 필요한 기능인 원자 위치 고정하는 방법에 대해서 정리해보려고 합니다. 이제 많이 사용하지 않는 코드가 되어서 그런지 가끔 사용해야 할 때 명확히 기억이 나지 않네요. 1. VASP에서 원자 위치 고정하기 - POSCAR 파일에서 설정해 줍니다. graphite로 예를 들면, . 6번째 줄 원자 개수 적는 라인 바로 아래 Selective dynamics 라고 적어줍니다. . Atom position 적는 위치에 이어서 띄어쓰기를 이용해 T T T 라고 적어줍니다. . F F F 라고 적어주면 x, y, z 모든 position을 고정하라는 뜻입니다. C graphite 1 2.133886594925 -1.232 0 0 .. 2015. 11. 5. xargs vs. exec {} This is where -exec breaks down and xargs shows its superiority. When you use -exec to do the work you run a separate instance of the called program for each element of input. So if find comes up with 10,000 results, you run exec 10,000 times. With xargs, you build up the input into bundles and run them through the command as few times as possible, which is often just once. When dealing with hun.. 2015. 9. 5. 리눅스 에서 zip 파일 압축하기/압축풀기 압축하기 1. 현재 디렉토리에 있는 모든 파일을 test.zip 으로 압축할 때 zip test.zip ./* 2. 현재 디렉토리에 있는 모든 파일 및 하위폴더 까지 압축하려면 -r 옵션을 이용한다. zip -r test.zip ./* 압축풀기 unzip test.zip 2015. 7. 10. rsync 예제 자주 사용하는 rsync 문법을 정리해 봅니다. rsync -avzh --progress * root@remote_address:/path -avzh : 압축 전송 및 속성 유지, 보통 네트워크 속도가 빠른 경우 -av 옵션만 해도 무방 --progress : 복제 진행과정 표시 2015. 7. 10. 이전 1 2 3 4 5 다음