GithubHelp home page GithubHelp logo

hidemotonakada / klic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guntermueller/klic

0.0 0.0 0.0 96.36 MB

KLIC: Portable implementation of KL1. Forked from "https://www.ueda.info.waseda.ac.jp/software-j.html"

Shell 2.85% C++ 0.19% Perl 0.16% C 62.40% Emacs Lisp 0.01% Eiffel 0.08% Tcl 0.04% Objective-J 0.15% Assembly 5.22% Prolog 0.59% Awk 0.08% Logos 0.02% TeX 14.83% E 1.39% Component Pascal 0.12% Makefile 5.17% PostScript 6.66% PLSQL 0.01% AMPL 0.01% DIGITAL Command Language 0.02%

klic's Introduction

    =============================================
    KL1 to C compiler system: KLIC (version 3.011)

		     April 21, 2018

	   Kazunori UEDA, Waseda University
	   ueda -at- ueda.info.waseda.ac.jp
    =============================================

This version of KLIC is essentially a maintenance release of klic-3.003 (official version previously released from ICOT and JIPDEC) and its extension, klic-3.005 (developed at Waseda University by Hiroshi Igarashi, Yusuke Takagi, Ryo Matsumura and Yusuke Kaneki).

It contains a sequential core and a distributed-memory parallel implementation. It is known to work on

  • Linux (Ubuntu 18.04LTS with GCC 7.3.0, 4.3.0-Gentoo with GCC 4.9.4, CentOS release 7.6 with GCC 4.8.5),
  • Mac OS X version 10.11.4 (El-Capitan) with GCC 6.1.0 and LLVM 7.3.0 (see Note below), and
  • Cygwin (32-bit) version 2.5.1-1 with GCC 5.3.0,

all as 32-bit applications.

Despite its name, the distributed-memory parallel implementation runs perfectly on recent SMP (symmetric multiprocessor) systems as well as single-processor systems with multi-core CPUs.

Please see README or README.j (Japanese) for the rest of the introduction, which is still valid except for hardware-specific information and contact addresses. Further details can be found in the KLIC User's Manual (klic.pdf, klicj.pdf) in the "documents" directory.

INSTALLATION

For convenience of installation, this distribution includes configuration files containing typical settings for several OSes (config.sh.*) inclulding Ubunt, CentOS, and Mac OS X. We'd suggest copying one of them to config.sh (say by "cp config.sh.CentOS config.sh"), making changes to library paths if necessary, and run "./Configure".

Because KLIC runs as a 32-bit application, please make sure that 32-bit C libraries have been prepared. For Ubuntu and CentOS, they can be installed as:

(Ubuntu) sudo apt install gcc-multilib (CentOS) sudo yum install glibc-devel sudo yum install glibc-devel.i686 sudo yum install glibc-static sudo yum install glibc-static.i686

Further details of the installation procedure can be found in INSTALL and INSTALL.j (Japanese).

Note: for Mac OS X Darwin, LLVM 7.0-7.3 with -O2 may not properly compile C files generated from KLIC. In this case, please use -O1 to compile C files generated from KLIC (see and use the setting of DEF_KLICCFLAGS in config.sh.MacOSX). Alternatviely, you can download GNU GCC from http://hpc.sourceforge.net/ or elsewhere and use it.

RUNNING KLIC

How to compile KL1 programs and to run compiled binaries can be found in Chapter 4 of KLIC User's Manual (klic.pdf, klicj.pdf) in the "documents" directory. To enable parallel execution, give the "-dp" option to KLIC and use the "-p N" (N being the number of workers) to the compiled binary (Sections 4.5.2, 4.5.3 of the Manual).

If you have installed KLIC with shared libraries enabled, you may need to set the LD_LIBRARY_PATH environment variable to search for the libraries at run time.

Implementation details of KLIC can be found in the (revived) document "Inside KLIC" (in documents/inside). Detailed changelog can be found in ChangeLog. Compiler developers may need to consult FOR-DEVELOPERS or FOR-DEVELOPERS.j.

klic's People

Contributors

hidemotonakada avatar guntermueller avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.