Pierre Huchant c03374018b julia: Fix automatic header translation. 5 년 전
..
examples 82ccc6c9d2 julia gemm: Adapt the number of blocks to the number of workers and set OMP_NUM_THREADS=1. 5 년 전
src c03374018b julia: Fix automatic header translation. 5 년 전
Makefile.am 76508cabf3 preliminary work to compile julia with autotools 5 년 전
Manifest.toml c2ec009d4d julia: Add support for callbacks. 5 년 전
Project.toml c2ec009d4d julia: Add support for callbacks. 5 년 전
README a2565f7c3c Reorganize julia directory and add README. 5 년 전
setenv.sh 509b4911d9 julia: update copyright 5 년 전

README

Contents
========

* Installing Julia
* Installing StarPU module for Julia
* Running Examples

Installing Julia
----------------
Julia version 1.3+ is required and can be downloaded from
https://julialang.org/downloads/.


Installing StarPU module for Julia
----------------------------------
First, build the jlstarpu_c_wrapper library:

$ make

Then, you need to add the lib/ directory to your library path and the julia/
directory to your Julia load path:

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
$ export JULIA_LOAD_PATH=$JULIA_LOAD_PATH:$PWD

This step can also be done by sourcing the setenv.sh script:

$ . setenv.sh

Running Examples
----------------

You can find several examples in the examples/ directory.

For each example X, three versions are provided:

- X.c: Original C+starpu code
- X_native.jl: Native Julia version (without StarPU)
- X.jl: Julia version using StarPU


To run the original C+StarPU code:
$ make cstarpu.dat

To run the native Julia version:
$ make julia_native.dat

To run the Julia version using StarPU:
$ make julia_generatedc.dat