mpirun illegal instruction Ȥ½Ã ¾Æ½Ã´ÂºÐ °è½Ç±î¿ä?

   Á¶È¸ 1744   Ãßõ 0    

쪽팔리면 질문하지 맙시다. 소중한 답변 댓글을 삭제하는건 부끄러운 일 입니다 


클러스터로 openfoam 하려고 하는데

라즈베리 / odroid c2로 다른 기종해서 해보려고 하고 있습니다

그래서 mpirun을 실행해보려고 하는데 라즈베리 파이는 잘 되는데

odroid c2는 mpirun만 실행해도 illegal instruction 에러가 발생합니다. (apt-get으로 설치)

strace를 통해 추적해보면 /proc/cpuinfo 이거나 geteuid() 아닐까 의심이 되는데

혹시 이런 경험을 해보신분 계시는지 궁금합니다.



라즈베리 파이 3b / 64bit / Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64

$ mpirun

--------------------------------------------------------------------------

mpirun could not find anything to do.


It is possible that you forgot to specify how many processes to run

via the "-np" argument.

--------------------------------------------------------------------------


$ strace mpirun

mprotect(0x7f9e609000, 4096, PROT_READ) = 0

geteuid()                               = 1000

openat(AT_FDCWD, "/proc/cpuinfo", O_RDONLY) = 3

--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPC, si_addr=0x7f9ea8fcfc} ---

+++ killed by SIGILL +++

Illegal instruction



ordroid c2 / 64bit / Ubuntu 20.04.6 LTS (GNU/Linux 3.16.85-65 aarch64)

$ mpirun

Illegal instruction


$ strace mpirun

mprotect(0x7f9e609000, 4096, PROT_READ) = 0

geteuid()                               = 1000

openat(AT_FDCWD, "/proc/cpuinfo", O_RDONLY) = 3

--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPC, si_addr=0x7f9ea8fcfc} ---

+++ killed by SIGILL +++

Illegal instruction



$ gdb mpirun

(gdb) r

Starting program: /usr/bin/mpirun 

[Thread debugging using libthread_db enabled]

Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".


Program received signal SIGILL, Illegal instruction.

0x0000007fb7ec5cfc in ?? () from /usr/lib/aarch64-linux-gnu/libopen-pal.so.40


딸 넷 아들 하나 아빠 (큰 딸, 작은 딸, 왕큰 딸, 암 뭉뭉이, 수 뭉뭉이) - minimonk.net
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
SiCMOS 2023-09
mpirun ºôµå ½Ã glibc ¹öÀüÀ̳ª Ư¼ö ¸í·É¾î (hw crc, neon µî) Ç÷¡±×·Î ÀÎÇؼ­ ¹ÙÀ̳ʸ®¿¡ Áö¿øÇÏÁö ¾Ê´Â ¸í·É¾î°¡ Æ÷ÇԵǴ °æ¿ì ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù.
ARM ÄÚ¾î ¾´ Ÿ»ç ±âÁ¾³¢¸®´Â ABI ¸ÂÃß´Â°Ô Èûµé¾î¿ä...
     
±¸Â÷´Ï 2023-09
pre-built binary¶ó¼­ ¼¼ºÎ ¸í·É¾î°¡ ¾È ¸Â³ª º¸³×¿ä.
±×³É aarch64¶ó Ç¥ÁØÀûÀÎ(?) ¿É¼ÇÀ¸·Î¸¸ Á༭ À¢¸¸ÇÑ ¸í·É¾î´Â ¹®Á¦¾øÀÌ µ¹¾Æ°¥ÁÙ ¾Ë¾Ò´Âµ¥ ¸»ÀÌÁÒ.
±×·¸´Ù¸é ¼Ò½º¸¦ ¹Þ¾Æ¼­ Á÷Á¢ ºôµåÇغ¸´Â¼ö ¹Û¿¡ ¾ø°Ú±º¿ä.

´äº¯ °¨»çÇÕ´Ï´Ù.
          
SiCMOS 2023-09
µÎ ±â±â °¢°¢¿¡¼­ lscpu ¶Ç´Â /proc/cpuinfo feature Â÷ÀÌÁ¡ º¸½Ã¸é µË´Ï´Ù.
ARMÀº ÄÚ¾î µû¶ó¼­ NEON ¹öÀü FPU ¹öÀüÀÌ ´Ù ´Þ¶ó¼­ ±× ºÎºÐÀ» Àß È®ÀÎÇØ¾ß ÇÕ´Ï´Ù ¤Ð¤Ð
°Ë»öÇغ¸´Ï ¶óÁ¸®ÆÄÀÌ ÂÊ Äھ Ư¼ö ¸í·É¾î°¡ ´õ ¸¹³×¿ä.
               
±¸Â÷´Ï 2023-09
rpi
Features : fp asimd evtstrm crc32 cpuid

ordoid-c2
Features : fp asimd crc32


/proc/cpuinfo ¿¡¼­ Á×À» ¸¸ÇÑ ¸í·É¾î´Â cpuid Á¤µµ ¹Û¿¡ º¸ÀÌÁø ¾Ê³×¿ä.
ÂÁ.. ±×·¡µµ odroid c2/ hardkernel »ç¿¡¼­ ¹èÆ÷ÇÑ ubuntu 20.04 Àε¥ Å×½ºÆ®°¡ ´ú µÇ¾ú³ª
ºôµå¸¸ ÇÏ°í ½ÇÇ൵ ¾ÈÇغÁ¼­ illegal instruction ¶ß´Â°É ¸ð¸£°í ³Ñ¾î°£°Ç ¾Æ´Ñ°¡ ÀǽÉÀÌ µÇ´Â »óȲÀ̳׿ä.
     
±¸Â÷´Ï 2023-09
ÇöÀç±îÁö´Â neon ÀÌ·±°Å º¸´Ù Exception LevelÀÌ À߸ø ¼³Á¤µÇ¾ú°Å³ª, ´Ù¸¥ ÀÌÀ¯·Î status register¿¡ Á¢±ÙÇÏ´Â ¸í·É ÀÚü°¡ ¸·Çô¹ö¸°°Í °°½À´Ï´Ù.
ARM Trust Firmware¿¡ ÀÇÇؼ­ ¸·Èù°ÇÁö EL¿¡ ÀÇÇÑ°ÇÁø ¸ð¸£°Ú½À´Ï´Ù.

ÀǵµÄ¡ ¾Ê°Ô aarch64 asmÀ» °øºÎÇÏ°Ô µÇ³×¿ä ÇÏÇÏÇÏ ¤Ð¤Ð


QnA
Á¦¸ñPage 370/5680
2014-05   4945664   Á¤ÀºÁØ1
2015-12   1482361   ¹é¸Þ°¡
2021-11   1742   ¿ì¹¶
2021-10   1742   ±èÁØÀ¯
2023-08   1743   ±è¹Î¼ö2
2023-02   1743   ¼úÀÌ
2022-02   1743   ÀÓ½ÃÇö
2023-06   1743   ±è¿µ±â´ëÀü
2022-03   1743   Psychophysi¡¦
2022-04   1743   2CPUÃÖÁÖÈñ
2021-05   1744   ¶È¶ìÆÄÆÄ
2023-04   1744   ÈÄ¿ì
2022-04   1744   ¹Ì¼ö¸Ç
2022-10   1744   kochung
06-12   1744   Sakura24
2022-11   1744   »Ç¶Ç
2022-05   1744   ¹ß±Ù¾ÆÀÌ
2022-11   1744   NANDROID
2022-04   1745   L2½ºÀ§Ä¡
04-01   1745   ±¸ÇüÈ°¿ë°¡
2022-11   1745   chotws
2022-04   1745   ¹Ì¼ö¸Ç