• 제목/요약/키워드: Program Codes

검색결과 367건 처리시간 0.024초

HPF FORALL 구조의 스칼라화(Scalarization) (Scalarization of HPF FORALL Construct)

  • 구미순
    • 한국컴퓨터정보학회논문지
    • /
    • 제12권5호
    • /
    • pp.121-129
    • /
    • 2007
  • 스칼라화(Scalarization)는 포트란 90의 array statement나 HPF FORALL 등의 병렬 구조를 동일한 의미의 순차 DO 루프로 변환하는 과정이다. 표준 자료 병렬 언어인 HPF 컴파일러도 HPF로 작성된 프로그램을 메시지 패싱 프리미티브가 삽입된 포트란 77 프로그램으로 변환하고, 병렬 구조인 FORALL을 스칼라화하여 포트란 77의 순차 DO 루프로 변환해야 한다. 본 논문에서는 병렬 구조의 시맨틱을 지닌 다중문장 FORALL 구조를 개선된 성능의 순차 DO 루프로 변환하는 스칼라화 알고리즘을 제안한다. 이를 위해 필요한 종속성 정보를 유지하는 수단으로 관계거리벡터를 정의하여 사용한다. 끝으로 제안된 알고리즘을 적용하여 생성된 코드와 기존 PARADIGM 컴파일러에 의해 생성된 코드의 성능을 비교 평가한다.

  • PDF

Component method model for predicting the moment resistance, stiffness and rotation capacity of minor axis composite seat and web site plate joints

  • Kozlowski, Aleksander
    • Steel and Composite Structures
    • /
    • 제20권3호
    • /
    • pp.469-486
    • /
    • 2016
  • Codes EN 1993 and EN 1994 require to take into account actual joint characteristics in the global analysis. In order to implement the semi-rigid connection effects in frame design, knowledge of joint rotation characteristics ($M-{\phi}$ relationship), or at least three basic joint properties, namely the moment resistance $M_R$, the rotational stiffness $S_j$ and rotation capacity, is required. To avoid expensive experimental tests many methods for predicting joint parameters were developed. The paper presents a comprehensive analytical model that has been developed for predicting the moment resistance $M_R$, initial stiffness $S_{j.ini}$ and rotation capacity of the minor axis, composite, semi-rigid joint. This model is based on so-called component method included in EN 1993 and EN 1994. Comparison with experimental test results shows that a quite good agreement was achieved. A computer program POWZ containing proposed procedure were created. Based on the numerical simulation made with the use of this program and applying regression analysis, simplified equations for main joint properties were also developed.

A Study on the IDL Compiler using the Marshal Buffer Management

  • Kim, Dong-Hyun
    • 한국정보통신학회:학술대회논문집
    • /
    • 한국해양정보통신학회 2005년도 춘계종합학술대회
    • /
    • pp.843-847
    • /
    • 2005
  • The development of distributed application in the standardized CORBA(Common Object Request Broker Architecture) environments reduces the developing time and maintaining cost of the systems. Because of these advantages, the development of application is being progressed in the several fields using the CORBA environments. The programmers in the CORBA environments usually develop the application programs using the CORBA IDL(Interface Definition Language). The IDL files are compiled by IDL compiler and translated into the stubs and skeleton codes which are mapped onto particular target language. The stubs produced by IDL compilers processes the marshaling a data into message buffer. Before a stub can marshal a data into its message buffer, the stub must ensure that the buffer has at least enough free space to contain the encoded representation of the data. But, the stubs produced by typical IDL compilers check the amount of free buffer space before every atomic data is marshaled, and if necessary, expand the message buffer. These repeated tests are wasteful and incidence of overheads, especially if the marshal buffer space must be continually expanded. Thus, the performance of the application program may be poor. In this paper, we suggest the way that the stub code is maintain the enough free space before marshaling the data into message buffer. This methods were analyzes the overall storage requirements of every message that will be exchanged between client and server. For these analysis, in the Front End of compiler has maintain the information that the storage requirements and alignment constraints for data types. Thus, stub code is optimized and the performance of application program is increased.

  • PDF

6축 CNC 파이프 코스터 전용 CAM 프로그램 구현 (Implementation of CAM Program for 6-Axis CNC Pipe Coaster)

  • 노태정;이욱진
    • 한국산학기술학회논문지
    • /
    • 제10권9호
    • /
    • pp.2202-2209
    • /
    • 2009
  • 모관과 지관의 다양한 접합형상에 대하여 접합궤적을 수학적으로 유도하였다. 이 접합궤적에 용접부의 루트갭 및 절단폭 등을 보정하여 실제적으로 절단궤적을 결정하여 NC 코드를 생성하고 그 경로를 확인하기 위하여 ghost 기능을 구현하였다. 척회전인 C축의 8개 구간별로 A, B축의 Tilting을 사용하여 개선 기능을 구현하였으며, 이는 절단궤적을 따라서 절단하면서 동시에 개선이 가능하도록 6축 CNC 파이프 코스터 전용 CAM 프로그램을 개발하였다.

Intermediate Language Translator for Execution of Java Programs in .NET Platform

  • Lee, Yang-Sun;Na, Seung-Won;Hwang, Dae-Hoon
    • 한국멀티미디어학회논문지
    • /
    • 제7권6호
    • /
    • pp.824-831
    • /
    • 2004
  • This paper presents the java bytecode-to-.NET MSIL intermediate language translator which enables the execution of the java program in .NET environments without JVM(java Virtual Machine), translating bytecodes produced by compiling java programs into MSIL codes. Java, one of the most widely used programming languages recently, is the language invented by James Gosling at Sun Microsystems, which is the next generation language independent of operating systems and hardware platforms. Java source code is compiled into bytecode as intermediate code independent of each platform by compiler, and also executed by JVM. .NET language such as C# and .NET platform in Microsoft Corp. has been developed to meet the needs of programmers, and cope with Java and JVM platform of Sun Microsystems. After compiling, a program written in .NET language is converted to MSIL code, and also executed by .NET platform but not in JVM platform. For this reason, we designed and implemented the java bytecode-to-.NET MSIL translator system for programs written in java language to be executed in the. NET platform without JVM. This work improves the execution speed of programs, enhances the productivity, and provides a environment for programmers to develop application programs without limitations of programming languages.

  • PDF

국어 로마자 표기 자동 변환 시스템 설계 및 구현 (The design and implementation of automatic translation system for hangul's romanization)

  • 김홍섭
    • 한국컴퓨터정보학회지
    • /
    • 제2권1호
    • /
    • pp.45-54
    • /
    • 1995
  • 본 연구는 ASCII 코드중에서 잘 쓰이지 않는 코드를 반달점(ˇ)으로 할당, 글꼴을 제작하여, 사용자가 국어 로마자 표기법 기본원칙을 모르더라도 한글단어, 문장, 문서를 문자열(string)로 입력받아 알고리즘화된 음운법칙을 적용하여 소리글자로 자동 변환 후 현행 정부 표준안인 국어 로마자 표기법 테이블에서 대응 글자를 참조하여 기계화 코드 변환이 가능토록 설계하였으며, 예외어 처리, 화면색상 및 풀다운 팝업 메뉴 방식을 지원, 마우스 활용 방식을 채택, 사용자 편리성을 제공하였으며, 다양한 서체, 글꼴 확대 및 축소, 이단ㆍ혼합 인쇄기능 등을 고려 C언어를 이용하여 구현하였다.

  • PDF

UniPy: A Unified Programming Language for MGC-based IoT Systems

  • Kim, Gayoung;Choi, Kwanghoon;Chang, Byeong-Mo
    • 한국컴퓨터정보학회논문지
    • /
    • 제24권3호
    • /
    • pp.77-86
    • /
    • 2019
  • The advent of Internet of Things (IoT) makes common nowadays computing environments involving programming not a single computer but several heterogeneous distributed computers together. Developing programs separately, one for each computer, increases programmer burden and testing all the programs become more complex. To address the challenge, this paper proposes an RPC-based unified programming language, UniPy, for development of MGC (eMbedded, Gateway, and Cloud) applications in IoT systems configured with popular computers such as Arduino, Raspberry Pi, and Web-based DB server. UniPy offers programmers a view of classes as locations and a very simple form of remote procedure call mechanism. Our UniPy compiler automatically splits a UniPy program into small pieces of the program at different locations supporting the necessary RPC mechanism. An advantage of UniPy programs is to permit programmers to write local codes the same as for a single computer requiring no extra knowledge due to having unified programming models, which is very different from the existing research works such as Fabryq and Ravel. Also, the structure of UniPy programs allows programmers to test them by directly executing them before splitting, which is a feature that has never been emphasized yet.

Flexural behavior of post-tensioned precast concrete girder at negative moment region

  • Choi, Seung-Ho;Heo, Inwook;Kim, Jae Hyun;Jeong, Hoseong;Lee, Jae-Yeon;Kim, Kang Su
    • Computers and Concrete
    • /
    • 제30권1호
    • /
    • pp.75-83
    • /
    • 2022
  • This study introduced a post-tensioned precast concrete system that was developed and designed to improve the performance of joints by post-tensioning. Full-scaled specimens were tested to investigate flexural performances at the negative moment region, where the test variables were the presence of slabs, tendon types, and post-tensioned lengths. A specimen with slabs exhibited significantly higher stiffness and strength values than a specimen without slabs. Thus, it would be reasonable to consider the effects of a slab on the flexural strength for an economical design. A specimen with unbonded mono-tendons had slightly lower initial stiffness and flexural strength values than a specimen with bonded multi-tendons but showed greater flexural strength than the value specified in the design codes. The post-tensioned length was found to have no significant impact on the flexural behavior of the proposed post-tensioned precast concrete system. In addition, a finite element analysis was conducted on the proposed post-tensioned precast concrete system, and the tests and analysis results were compared in detail.

The effects of the scattering opacity and the color temperature on numerically modelling of the first peak of type IIb supernovae

  • Park, Seong Hyun;Yoon, Sung-Chul
    • 천문학회보
    • /
    • 제45권1호
    • /
    • pp.70.1-70.1
    • /
    • 2020
  • A type IIb supernova (SN IIb) is the result of core-collapse of a massive star which lost most of its hydrogen-rich envelope during its evolution. The pre-SN progenitor properties, such as the total radius and the mass of the hydrogen-rich envelope, can widely vary due to the mass-loss history of the progenitors. Optical light curves of SNe IIb are dominated by energy released by the hydrogen recombination and the radioactive decay of 56Ni in the early and late epochs respectively. This may result in distinctive double peaked light curves like the one observed in SN 1993J. The first peak, caused by the hydrogen recombination, can be modelled with numerical simulations providing information on the pre-SN progenitor properties. We compare two radiation-hydrodynamics codes, STELLA and SNEC, that are frequently used in SNe modelling, and investigate the effect of opacity treatment on the temporal evolution of the color temperature of SNe and eventually on the optical light curves. We find that with a proper treatment of the scattering opacity, SNe IIb models exploded from the progenitor models evolved with latest stellar evolution model hardly match the observational data. We also discuss the smaller scale features found in the models during hydrogen recombination phase.

  • PDF

Pin을 이용한 안티디버깅 우회 설계 및 구현 (The design and implementation of pin plugin tool to bypass anti-debugging techniques)

  • 홍수화;박용수
    • 인터넷정보학회논문지
    • /
    • 제17권5호
    • /
    • pp.33-42
    • /
    • 2016
  • Pin은 프로그램 동적 분석 도구를 생성할 수 있는 프레임워크로, 리눅스와 윈도우에서 사용자 영역의 프로그램 분석을 수행할 수 있게 한다. 역공학 방지 프로그램이나 악성코드는 프로그램 분석을 방해하는 안티디버깅이 적용되어 있기 때문에 Pin을 사용한 분석이 어렵다. 본 논문에서는 Pin을 이용해서 프로그램에 적용된 안티디버깅을 우회하여 동적 분석을 진행할 수 있는 Pin 플러그인 프로그램을 설계한 내용과 구현한 내용을 제안한다. Pin 탐지 안티디버깅을 우회할 수 있는 각각의 Pin 코드를 작성하고, Pin 코드를 하나로 합쳐 여러 안티디버깅을 우회할 수 있는 Pin 도구를 구현한다. 구현된 Pin 도구는 안티디버깅을 지원하는 프로텍터로 생성한 파일로 안티디버깅 우회 실험을 진행한다. 본 기법은 추후에 발견되는 안티디버깅 우회 코드 작성의 참고자료가 될 것이고 발견된 안티디버깅에 맞춰 수정 후 추가 적용이 가능할 것으로 예상된다.