'2020/12/22'에 해당되는 글 4건

  1. 2020.12.22 openhpc, slurm 시도..
  2. 2020.12.22 openmpi 및 예제
  3. 2020.12.22 FMU... 2?
  4. 2020.12.22 모니터 스펙관련 찾아보다 보니..
프로그램 사용/openHPC2020. 12. 22. 17:38

일단 현재 실행은 실패 -_ㅠ

scontrol update NodeName=c[1-5] state=RESUME
sinfo -all
srun -n8 hellompi.o
sacct -a

[링크 : https://groups.io/g/OpenHPC-users/topic/srun_required_node_not/74202339...]

 

 

# srun -n 2 -N 2 --pty /bin/bash 
srun: Required node not available (down, drained or reserved) 
srun: job 5 queued and waiting for resources 
^Csrun: Job allocation 5 has been revoked 
srun: Force Terminated job 5

 

 

# sinfo -all 
Tue Dec 22 02:54:55 2020 
PARTITION AVAIL  TIMELIMIT   JOB_SIZE ROOT OVERSUBS     GROUPS  NODES       STATE NODELIST 
normal*      up 1-00:00:00 1-infinite   no EXCLUSIV        all      2     drained openhpc-[1-2]

 

 

# sacct -a 
       JobID    JobName  Partition    Account  AllocCPUS      State ExitCode 
------------ ---------- ---------- ---------- ---------- ---------- -------- 
2                  bash     normal     (null)          0  CANCELLED      0:0 
3                  bash     normal     (null)          0  CANCELLED      0:0 
4                  bash     normal     (null)          0  CANCELLED      0:0 
5                  bash     normal     (null)          0  CANCELLED      0:0 
6            mpi_hello+     normal     (null)          0  CANCELLED      0:0

 

 

drain 상태..

[링크 : https://stackoverflow.com/questions/22480627/what-does-the-state-drain-mean]

 

 

state를 바꾸어 주면 된다는데 안되네..

작업을 다 죽이고 idle로 바꾸라는데 작업은 어떻게 죽이지?

[링크 : https://stackoverflow.com/questions/29535118/how-to-undrain-slurm-nodes-in-drain-state]

 

 

slurm job cancel(잡 죽이기)

 

The normal method to kill a Slurm job is: 

    $ scancel <jobid> 

You can find your jobid with the following command: 

    $ squeue -u $USER 

If the the job id is 1234567 then to kill the job: 

    $ scancel 1234567

[링크 : https://researchcomputing.princeton.edu/faq/how-to-kill-a-slurm-job]

 

state가 cancelled 는 이미 취소된것이기 때문에 scancel로 취소되지 않는다.

$ scancel -v 8 
scancel: Terminating job 8 
scancel: error: Kill job error on job id 8: Job/step already completing or completed

 

왜 안되나 했는데 코어와 쓰레드 갯수에 제한이 있었던 건가?

# sinfo -R -v
Reason=Low socket*core*thread count, Low CPUs

[링크 : https://groups.io/g/OpenHPC-users/topic/slurmd_in_compute_nodes/22449264?p=]

 

 

+

오예~

원래는 2 8 2 였나 그런데 1 1 1 로 바꾸니

NodeName=openhpc-[1-2] Sockets=1 CoresPerSocket=1 ThreadsPerCore=1 State=UNKNOWN

 

idle로 전환이 된다?

# scontrol update Nodename=openhpc-[1-2] state=idle
# sinfo -all
Tue Dec 22 03:49:23 2020
PARTITION AVAIL  TIMELIMIT   JOB_SIZE ROOT OVERSUBS     GROUPS  NODES       STATE NODELIST
normal*      up 1-00:00:00 1-infinite   no EXCLUSIV        all      2       idle* openhpc-[1-2]

 

 

실행 안되는건 매한가지 ㅠㅠ

 

+

컴퓨트 노드쪽의 slurmd 가 구동되지 않아서 그런듯

하지만...

 

역시 안되는건 매한가지 ㅠㅠ 산넘어 산이구나

srun: error: slurm_receive_msgs: Socket timed out on send/recv operation

 

 

+

음...

[2020-12-22T04:18:08.435] error: Node openhpc-1 has low socket*core*thread count (1 < 32)
[2020-12-22T04:18:08.435] error: Node openhpc-1 has low cpu count (1 < 32)
[2020-12-22T04:18:08.435] error: _slurm_rpc_node_registration node=openhpc-1: Invalid argument

 

도대체 어떻게 값을 주어야 잘 도냐...

# slurmd -C
NodeName=openhpc-1 CPUs=1 Boards=1 SocketsPerBoard=1 CoresPerSocket=1 ThreadsPerCore=1 RealMemory=968
NodeName=openhpc-[1-2] Sockets=1 CoresPerSocket=1 ThreadsPerCore=1 State=UNKNOWN

 

아래가 원래값. 위에 식에 의해서 2*8*2 니까 32를 넘어서 작동이 되는건가?

NodeName=c[1-4] Sockets=2 CoresPerSocket=8 ThreadsPerCore=2 State=UNKNOWN

 

 

 

'프로그램 사용 > openHPC' 카테고리의 다른 글

slurm 먼가 까다롭네...  (3) 2020.12.23
slurm.conf 생성기  (0) 2020.12.23
openmpi 및 예제  (0) 2020.12.22
openmpi on centos8  (0) 2020.12.17
slurmd: fatal: Unable to determine this slurmd's NodeName  (0) 2020.12.15
Posted by 구차니
프로그램 사용/openHPC2020. 12. 22. 16:29

ㅋㅋㅋ lots of output

아무튼 configure에 --prefix로 설치될 경로를 넣어주고

make all install 하면 끝~

$ gunzip -c openmpi-4.1.0.tar.gz | tar xf -
$ cd openmpi-4.1.0
$ ./configure --prefix=/usr/local
<...lots of output...>
$ make all install

[링크 : https://www.open-mpi.org/faq/?category=building]

 

 

예제

# ./mpi_hello_world
Hello world from processor master, rank 0 out of 1 processors

[링크 : https://mpitutorial.com/tutorials/mpi-hello-world/]

[링크 : https://github.com/mpitutorial/mpitutorial]

'프로그램 사용 > openHPC' 카테고리의 다른 글

slurm.conf 생성기  (0) 2020.12.23
openhpc, slurm 시도..  (0) 2020.12.22
openmpi on centos8  (0) 2020.12.17
slurmd: fatal: Unable to determine this slurmd's NodeName  (0) 2020.12.15
environment module / lmod  (0) 2020.12.15
Posted by 구차니

단순한 시뮬레이션을 의미하는건줄 알았는데

먼가 1이 점점 커지는 느낌..

내가 방향을 잘 못 잡은 걸려나.

 

Functional Mock-Up 의 FMU 일수도 있고

Functional Mock-up Unit의 FMU일수도 있는 것 같은데

Functional Mock-up Interface FMI가 일단 최상단?

 

[링크 : http://www.omgwiki.org/MBSE/lib/exe/fetch.php?media=mbse:smswg:2015-01-25_fmi_tutorial.pdf]

 

+

[링크 : https://github.com/qtronic/fmusdk]

[링크 : https://github.com/modelon-community/fmi-library]

 

+

상용 라인업 금액대가 ㅎㄷㄷ해 보이는구만..

[링크 : https://www.modelica.org/tools]

 

플로우를 보면.. 이것저것 해서 결국에는 FMU들을 총괄 테스트 하는 상위 도구가 있어야 하는것 같은데...

[링크 : https://openmodelica.org/openmodelicaworld/tools]

[링크 : https://build.openmodelica.org/omc/builds/windows/nightly-builds/64bit/]

 

 

WHAT ARE THE DIFFERENCES?
The difference between the two kinds consist of how the importing tool makes the FMU step forward in time.

Models that represent physical quantities such as temperature or velocity are generally described by differential equations. The way that the quantities change with time depend on the value of the quantities themselves (the state), and what external influence they are subjected to (the inputs).

 

구글 번역 만세!

그나저나 functional mock-up에서 functional이 기능이 아니라 함수적 이라는 느낌이 점점드는건 왜일까...

차이점은 무엇입니까?
두 종류의 차이점은 가져 오기 도구를 사용하여 FMU가 시간을 앞당기는 방식으로 구성됩니다.

온도 또는 속도와 같은 물리량을 나타내는 모델은 일반적으로 미분 방정식으로 설명됩니다. 수량이 시간에 따라 변하는 방식은 수량 자체 (상태)의 값과 이들이받는 외부 영향 (입력)에 따라 다릅니다.

[링크 : https://www.modelon.com/fmi-functional-mock-up-unit-types/]

 

 

Model Exchange (ME) – ME FMUs represent the dynamical systems by differential equations. To simulate the system, the importing tool needs to connect the FMU to a numerical solver. The solver sets the FMU internal state, asks for the state derivatives, and determines the step size and how to compute the state at the next time step. 
Co-Simulation (CS) – CS FMUs contain their own numerical solver. The importing tool sets the FMU inputs, asks the FMU to step forward a given time, and reads the FMU output after the step is completed. 

 

구글 번역 만세2!

model exchange와 Co-Simulation 두가지가 존재하는데, solver의 위치가 어디에 있냐에 따라서 다른걸로 보이기도 한다.

결국은 솔버와 모델 두가지를 작성을 해야 FMU가 작동된다는 것 같은데...?

모델 교환 (ME ) –  ME FMU는 미분 방정식으로 동적 시스템을 나타냅니다. 시스템을 시뮬레이션하려면 가져 오기 도구가 FMU를 수치 솔버에 연결해야합니다. 솔버는 FMU 내부 상태를 설정하고 상태 미분을 요청하고 단계 크기와 다음 시간 단계에서 상태를 계산하는 방법을 결정합니다. 
공동 시뮬레이션 (CS) –  CS FMU에는 자체 수치 솔버가 포함되어 있습니다. 가져 오기 도구는 FMU 입력을 설정하고 FMU에 지정된 시간만큼 앞으로 이동하도록 요청하며 단계가 완료된 후 FMU 출력을 읽습니다. 

[링크 : https://www.modelon.com/functional-mock-up-interface-fmi/]

'하드웨어 > instrument device' 카테고리의 다른 글

adc 속도  (0) 2023.01.11
scpi, visa, ivi  (0) 2021.01.06
FMU  (0) 2020.12.21
계측장치용 프로토콜 (VISA, SCPI, IEEE-488)  (0) 2020.11.27
Posted by 구차니
개소리 왈왈/컴퓨터2020. 12. 22. 10:41

일단은 안테나 산게 헛짓이 된 느낌..

클리어 쾀을 지원하기에 ATSC3.0 방식의 공중파 UHD 는 수신이 불가능할 것으로 보인다. OTL

 

 

클리어 쾀

[링크 : http://www.dltcom.co.kr/home/m_view.php?ps_db=tv&ps_boid=64&ps_category=6&ps_mode=]

 

[링크 : http://prod.danawa.com/info/?pcode=4945699]

 

 

 

그런데 10bit가 되는지 안되는지 모르겠지만

HDMI2.0 으로도 10bit는 RGB, 4:4:4 설정시 30p가 최대..

4:2:0으로 가야 60p가 된다는건.. 정상이라는 건데.. 끄응...

 

하긴 10bit RGB 에서 60p 된다고는 안했지? ㅠㅠ

[링크 : https://gigglehd.com/gg/hard/522039]

 

 

+

내껀 8bpc 라고만 나오지 10bpc가 안나오는데..

그러면 10bit도 정상적으로 안되는건가?

[링크 : https://blog.naver.com/benq4ever/221463320402]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

nvidia driver sd grd  (0) 2021.04.10
i5-2520m 도 우분투 유지목록에서...  (0) 2021.03.22
모니터 10bit 지원 여부?  (11) 2020.12.21
UHD 방송 기지국  (0) 2020.12.16
UHD 안테나 구입 하지만..  (4) 2020.12.15
Posted by 구차니