Browse Source

julia: small fixes

Nathalie Furmento 5 years ago
parent
commit
eec580332a
2 changed files with 3 additions and 2 deletions
  1. 2 1
      julia/examples/execute.sh.in
  2. 1 1
      julia/examples/mult/mult_starpu.sh

+ 2 - 1
julia/examples/execute.sh.in

@@ -10,9 +10,10 @@ if test "$1" == "-calllib"
 then
 then
     shift
     shift
     pwd
     pwd
+    rm -f extern_tasks.so
     make -f @STARPU_BUILD_DIR@/julia/src/dynamic_compiler/Makefile extern_tasks.so SOURCES_CPU=$srcdir/$1
     make -f @STARPU_BUILD_DIR@/julia/src/dynamic_compiler/Makefile extern_tasks.so SOURCES_CPU=$srcdir/$1
     shift
     shift
-    export JULIA_TASK_LIB=extern_tasks.so
+    export JULIA_TASK_LIB=$PWD/extern_tasks.so
 fi
 fi
 
 
 srcfile=$1
 srcfile=$1

+ 1 - 1
julia/examples/mult/mult_starpu.sh

@@ -2,6 +2,6 @@
 
 
 $(dirname $0)/../execute.sh mult/mult.jl
 $(dirname $0)/../execute.sh mult/mult.jl
 $(dirname $0)/../execute.sh mult/mult_native.jl
 $(dirname $0)/../execute.sh mult/mult_native.jl
-$(dirname $0)/../execute.sh -calllib mult/cpu_mult.c mult/mult.jl $stride julia_calllib.dat
+$(dirname $0)/../execute.sh -calllib mult/cpu_mult.c mult/mult.jl