diff --git a/tools/gen_wrappers.py b/tools/gen_wrappers.py index b82c05aca97c31af43d9afc80e00ddc134f0ce37..89b9c458f7a3209a8820cba3c21349dc4ade7d67 100755 --- a/tools/gen_wrappers.py +++ b/tools/gen_wrappers.py @@ -545,7 +545,8 @@ spm = { "end\n" "libspm = spm_library_path()\n\n" "if spm_mpi_enabled\n" - " using MPI\nend\n\n" + " using MPI\n" + "end\n\n" "function __get_mpi_type__()\n" " if !spm_mpi_enabled\n" " return Cint\n" diff --git a/wrappers/CMakeLists.txt b/wrappers/CMakeLists.txt index 295b00efdc4037146e40c587eb199ef74bc955b0..4e4dc3935f898afbb9c6992b0586ade68ec12e82 100644 --- a/wrappers/CMakeLists.txt +++ b/wrappers/CMakeLists.txt @@ -1,11 +1,11 @@ ### # -# @copyright 2017-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, +# @copyright 2017-2020 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, # Univ. Bordeaux. All rights reserved. # -# @version 6.0.0 +# @version 6.1.0 # @author Mathieu Faverge -# @date 2017-05-22 +# @date 2020-01-29 # ### diff --git a/wrappers/julia/CMakeLists.txt b/wrappers/julia/CMakeLists.txt index a0eacb8d191948d87de2c6b2d86f9974f5b00fe3..9d76620032ac3e1b6fcb598f94169a366a38084f 100644 --- a/wrappers/julia/CMakeLists.txt +++ b/wrappers/julia/CMakeLists.txt @@ -1,12 +1,12 @@ ### # -# @copyright 2017-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, +# @copyright 2019-2020 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, # Univ. Bordeaux. All rights reserved. # # @version 6.0.0 # @author Mathieu Faverge # @author Selmane Lebdaoui -# @date 2020-06-19 +# @date 2020-07-15 # ### diff --git a/wrappers/julia/spm_user.jl b/wrappers/julia/spm_user.jl index 64ae67a98ade55005b0a11e08e2d43c39532cc16..ec389061467d27d9eac9ef150027a5cea8ea1f42 100755 --- a/wrappers/julia/spm_user.jl +++ b/wrappers/julia/spm_user.jl @@ -26,8 +26,8 @@ if spm.spm_mpi_enabled MPI.Init() end -global A = spm.spmatrix_t(zero) -global Aptr = Ptr{spm.spmatrix_t}(pointer_from_objref(A)) +A = spm.spmatrix_t(zero) +Aptr = pointer_from_objref(A) # # Two solutions to select the outpu file to pass to output functions @@ -61,8 +61,7 @@ row = zeros( spm.spm_int_t, nnz ) col = zeros( spm.spm_int_t, nnz ) val = zeros( Cdouble, nnz ) -global m = 1 - +m = 1 for i in 1:dim1 for j in 1:dim2 for k in 1:dim3 diff --git a/wrappers/python/CMakeLists.txt b/wrappers/python/CMakeLists.txt index 80bfcb7b4ea7555ce8cbdb228100f99ac509d787..85bffef37135b3ed76e85ef7d2781d12c5997832 100644 --- a/wrappers/python/CMakeLists.txt +++ b/wrappers/python/CMakeLists.txt @@ -1,11 +1,11 @@ ### # -# @copyright 2017-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, +# @copyright 2017-2020 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, # Univ. Bordeaux. All rights reserved. # -# @version 6.0.0 +# @version 6.0.3 # @author Mathieu Faverge -# @date 2018-05-14 +# @date 2019-12-04 # ###