[완료]리눅스 실행파일이 실행이 안돼요!^^

dsb39의 이미지

make_file_c_ffr_LNX
make_file_c_ffr_LNX_r16
make_file_c_ffx_LNX
make_file_ffr_LNX
make_file_ffr_LNX_r16
make_file_ffx_LNX
make_file_ffx_LNX_r16
R3D_advctn_dffsn_1D
R3D_Burgers_1D
R3D_Euler_1D
R3D_Euler_1D_Riemann_Solver

실행하려고 하니 권한 오류가 떠서 풀었더니

cannot execute binary file
이런 오류가 또 뜨네요^^;;;

어떻게 하면 될까요~??

file make_file_c_ffr_LNX
명령으로 어떤 종류의 파일인지 확인해 봤더니

Submitted by dsb39 on 화, 2009/09/29 - 11:31pm.
실행파일은 ELF64-bit LSB executable, x86-64, version 1 (sysv), for GNU/Linux 2.6.9, dynamically linked(uses shared libs), not stripped

나오고

make_file_c_ffr_LNX: ASCII text 라고 나오네요^^

dsb39의 이미지

#-----------------------------------------------------------------------

remarks: 1) directory aerodynamics/R3D_bin should be included in the definition of $PATH
2) copy directory R3Dr in your working directory before running
the programmes, to prevent sample data and results from being overwritten

위의 내용에서 정의하는 것 같은 것들의 방법이 어떤 것인지 궁금하네요

밑의 글에서와 같이 소스파일 컴파일된 파일 실행된 파일 전부 있습니다.
어떻게 해야 되는지 아시는 분 댓글 부탁드려요^^

2: binary (executable) standalone Linux files (quadruple precision) in aerodynamics/R3D_bin

#-----------------------------------------------------------------------------------------------------------------------------------

3: make_file to built the binaries in aerodynamics/R3D_bin/ and in aerodynamics/R3D_src/R1D_0_0_1_src/
to built all files execute make_all_files_LNX_r16 in aerodynamics/R3D_src/R1D_0_0_1_src/

#-----------------------------------------------------------------------------------------------------------------------------------

4: sample answer files and sample results in aerodynamics/R3Dr/R1D/Euler_1D
aerodynamics/R3Dr/R1D/advctn_dffsn_1D
aerodynamics/R3Dr/R1D/Burgers_1D
aerodynamics/R3Dr/R1D/Riemann_Solver_1D

#-----------------------------------------------------------------------------------------------------------------------------------

5: documentation in aerodynamics/aerodynamics_doc

#-----------------------------------------------------------------------------------------------------------------------------------

#-----------------------------------------------------------------------
RUN: 1: Riemann solver
--------------
executable: Riemann_Solver_1D
syntax : Riemann_Solver_1D < answer (cf samplefiles in aerodynamics/R3Dr/R1D/Riemann_Solver_1D; parameters defined in the answerfiles)
output : global results on screen

fltoll의 이미지

이것만 봐서는 원인을 잘 모르겠네요..
어떤 파일을 실행할 때 에러가 난다는 건가요?
바이너리 파일은 그 시스템에서 컴파일해서 얻은 건가요?

dsb39의 이미지

R3D_Euler, R3D_Burgers 로 시작하는 파일들이 에러가 나는 거고요~

바이너리 파일은 다운 받을 때 만들어져 있었네요^^

f90파일이랑 o파일도 같이 들어있었어요~~

혹시나 리드미 파일에서 remark 부분을 하지 않아서 문제가 생겼나 모르겠네요^^

관심 감사합니다~~~

fltoll의 이미지

컴파일을 사용하는 시스템에서 다시 하셔야 할 것 같습니다.
바이너리 파일은 시스템이 다를경우 호환이 되지 않습니다.
아마도 Makefile 이 들어있을 것 같은데..
그 부분을 사용하시는 시스템에 맞게 수정하셔서 다시 컴파일 하셔서 실행파일들을 만들어 보세요.

obbaya의 이미지

윗 분 말씀처럼 다시 컴파일을 하시는게 맞겠지만

그 전에 잠깐! 사용하시는 장비가 64비트는 맞는거죠~?

dsb39의 이미지

성공했네요~

감사합니다^^

익명 사용자의 이미지

binary 실행하는 방법좀 공유부탁드립니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.