├── src
├── Revision
├── matrix
│ └── dmatrix
│ │ ├── test
│ │ ├── mat_test
│ │ ├── mat_test0
│ │ ├── mat_test3
│ │ ├── test5fichiers
│ │ ├── main
│ │ ├── matrice_test0
│ │ ├── matrice_test3
│ │ ├── matrice_test1
│ │ ├── matrice_test2
│ │ └── matrice_test4
│ │ ├── test2
│ │ ├── test3
│ │ ├── mat_test2
│ │ ├── mat_test1
│ │ ├── mat_test4
│ │ ├── test0
│ │ └── test1
├── sopalin
│ └── src
│ │ ├── ooc.c
│ │ ├── pastix.h
│ │ ├── updo.c
│ │ ├── coefinit.c
│ │ ├── sopalin3d.c
│ │ ├── sopalin3d.h
│ │ ├── sopalin_init.h
│ │ ├── sopalin_compute.c
│ │ ├── sopalin_define.h
│ │ ├── sopalin_sendrecv.c
│ │ ├── sopalin_thread.c
│ │ ├── sopalin_thread.h
│ │ ├── compute_context_nbr.h
│ │ ├── starpu_pastix_sched_policy.h
│ │ ├── getra_cuda.cu
│ │ ├── stack.h
│ │ ├── scaling.h
│ │ ├── sopalin_option.h
│ │ ├── sopalin_debug.h
│ │ ├── smurge.c
│ │ ├── cmurge.c
│ │ ├── dmurge.c
│ │ ├── zmurge.c
│ │ ├── pastix_cuda_helper.h
│ │ ├── starpu_submit_tasks.h
│ │ ├── zpotrf_stapiv_gpu.h
│ │ ├── zgetrf_stapiv_gpu.h
│ │ ├── zhetrf_stapiv_gpu.h
│ │ ├── zsytrf_stapiv_gpu.h
│ │ ├── starpu_updo.h
│ │ ├── test_scal.c
│ │ ├── csc_intern_solve.h
│ │ └── getra_cuda.h
├── sparse-matrix
│ └── src
│ │ ├── CMakeLists.txt
│ │ ├── module.mk
│ │ └── pastix_sparse_matrix_intern.h
├── common
│ └── src
│ │ ├── trace.h
│ │ ├── CMakeLists.txt
│ │ ├── module.mk
│ │ ├── common_integer.h
│ │ └── mingw_fix.c
├── blend
│ └── src
│ │ ├── blendctrl.c
│ │ ├── eliminfunc.c
│ │ ├── param_blend.c
│ │ ├── solverMatrixGen.c
│ │ ├── splitpartlocal.c
│ │ ├── CMakeLists.txt
│ │ ├── module.mk
│ │ ├── seb.h
│ │ ├── smart_cblk_split.h
│ │ ├── cost.c
│ │ ├── symbolrand.h
│ │ └── solver_check.h
├── matrix_drivers
│ └── src
│ │ ├── sed.in
│ │ ├── api_str_to_int.c.in
│ │ ├── api_str_to_int.h
│ │ ├── hbread.h
│ │ └── laplacian.h
├── order
│ └── src
│ │ ├── CMakeLists.txt
│ │ └── module.mk
├── murge
│ ├── scripts
│ │ └── NaturalDocs
│ │ │ └── logo.png
│ ├── .gitignore
│ ├── Makefile.rules
│ └── examples
│ │ └── Makefile
├── perf
│ └── src
│ │ ├── module.mk
│ │ ├── CMakeLists.txt
│ │ ├── Makefile
│ │ └── num_recipes
│ │ └── covsrt.c
├── fax
│ └── src
│ │ ├── CMakeLists.txt
│ │ └── module.mk
├── kass
│ └── src
│ │ ├── CMakeLists.txt
│ │ ├── module.mk
│ │ ├── sort_row.c
│ │ ├── sort_row.h
│ │ ├── compact_graph.h
│ │ ├── SF_level.h
│ │ ├── KSupernodes.h
│ │ ├── SF_Direct.h
│ │ └── isymb_compact.h
├── symbol
│ └── src
│ │ ├── CMakeLists.txt
│ │ └── module.mk
├── wrapper
│ ├── src
│ │ ├── pypastix
│ │ │ ├── Makefile
│ │ │ ├── src
│ │ │ │ ├── pastix_types.pxi
│ │ │ │ ├── pypastix.pyx
│ │ │ │ └── mpi-compat.h
│ │ │ └── genpxd.py
│ │ └── pastix.i
│ └── petsc
│ │ └── src_mat_impl_aij_mpi_pastix_makefile
├── utils
│ └── src
│ │ ├── insert-fortran-inc.sh
│ │ ├── CMakeLists.txt
│ │ ├── print_options.c
│ │ └── module.mk
├── myversion.sh
├── all_modules.mk
├── depend.sh
├── example
│ └── src
│ │ ├── replaceCOEF.sh
│ │ ├── sed_d.in
│ │ ├── sed_c.in
│ │ ├── sed_z.in
│ │ ├── sed_s.in
│ │ └── mem_trace.h
├── all_rules.mk
├── all_macros.mk
└── parafax
│ └── src
│ └── parafax.h
├── scripts
├── regression
│ ├── __init__.py
│ ├── Conf
│ │ └── __init__.py
│ ├── Database
│ │ └── __init__.py
│ ├── Machines
│ │ ├── __init__.py
│ │ ├── machines.py
│ │ └── tthor.py
│ ├── Projects
│ │ └── __init__.py
│ ├── TODO
│ ├── www
│ │ ├── prettify
│ │ │ ├── lang-proto.js
│ │ │ ├── lang-yaml.js
│ │ │ ├── lang-wiki.js
│ │ │ ├── lang-lua.js
│ │ │ ├── prettify.css
│ │ │ ├── lang-hs.js
│ │ │ ├── lang-lisp.js
│ │ │ ├── lang-css.js
│ │ │ ├── lang-scala.js
│ │ │ ├── lang-apollo.js
│ │ │ ├── lang-ml.js
│ │ │ ├── lang-vhdl.js
│ │ │ ├── lang-sql.js
│ │ │ └── lang-vb.js
│ │ ├── example.css
│ │ └── pastix.css
│ └── list_comp_opts.py
├── Archiver.pl
├── GenLatex.pl
├── Pastix.pl
├── GetAllRes.pl
├── MakeTrace.pl
├── Modules
│ ├── Common.pm
│ ├── GenLatex.pm
│ ├── LogParser.pm
│ ├── Compilation.pm
│ ├── PastixDatabase.pm
│ └── Machines
│ │ ├── chinqchint.pm
│ │ ├── bordereau.pm
│ │ ├── gommette.pm
│ │ ├── argent.pm
│ │ ├── platine.pm
│ │ ├── zed.pm
│ │ ├── plafrim.pm
│ │ ├── agni.pm
│ │ ├── loki.pm
│ │ ├── titane.pm
│ │ ├── vulcain.pm
│ │ ├── hephaistos.pm
│ │ ├── jade.pm
│ │ ├── r41.pm
│ │ ├── hagrid.pm
│ │ ├── vargas.pm
│ │ ├── decrypthon.pm
│ │ └── bertha.pm
├── MakeReleaseHydra.pl
├── templates
│ ├── config.in
│ ├── config.r41
│ ├── iparm.tpl
│ ├── config.argent
│ ├── config.hagrid
│ ├── gommette.tpl
│ ├── config.decrypthon
│ ├── service.tpl
│ ├── titane.tpl
│ ├── plafrim.tpl
│ ├── cines.tpl
│ ├── service-intel.tpl
│ ├── gommette2.tpl
│ ├── argent.tpl
│ ├── vargas.tpl
│ ├── zed.tpl
│ ├── dparm.tpl
│ ├── config.tpl
│ └── job.tpl
├── concat_strat.pl
├── launch.pl
├── expand_strat.pl
├── APIc2param.pl
├── convert2ijv.pl
├── regression.sh
└── APIc2f.pl
├── .externals
├── Licence_CeCILL_V2-en.txt
├── Licence_CeCILL_V2-fr.txt
├── Append.cmake
├── .gitignore
├── .project
├── windows_fix.h.in
├── README_PYTHON.txt
├── README_PETSC.txt
└── INSTALL.txt
/src/Revision:
--------------------------------------------------------------------------------
1 | add1490
2 |
--------------------------------------------------------------------------------
/scripts/regression/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/scripts/regression/Conf/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/scripts/regression/Database/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/scripts/regression/Machines/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/scripts/regression/Projects/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.externals:
--------------------------------------------------------------------------------
1 | murge svn://scm.gforge.inria.fr/svn/murge/
2 |
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test:
--------------------------------------------------------------------------------
1 | 4
2 | test0
3 | test1
4 | test2
5 | test3
6 |
--------------------------------------------------------------------------------
/scripts/Archiver.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Archiver.pl
--------------------------------------------------------------------------------
/scripts/GenLatex.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/GenLatex.pl
--------------------------------------------------------------------------------
/scripts/Pastix.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Pastix.pl
--------------------------------------------------------------------------------
/scripts/GetAllRes.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/GetAllRes.pl
--------------------------------------------------------------------------------
/scripts/MakeTrace.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/MakeTrace.pl
--------------------------------------------------------------------------------
/src/matrix/dmatrix/mat_test:
--------------------------------------------------------------------------------
1 | 5
2 | mat_test0
3 | mat_test1
4 | mat_test2
5 | mat_test3
6 | mat_test4
7 |
--------------------------------------------------------------------------------
/src/sopalin/src/ooc.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/ooc.c
--------------------------------------------------------------------------------
/src/sparse-matrix/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(SPARSE-MATRIX_SRC pastix_sparse_matrix.c)
2 | SET(SPARSE-MATRIX_MA )
--------------------------------------------------------------------------------
/Licence_CeCILL_V2-en.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/Licence_CeCILL_V2-en.txt
--------------------------------------------------------------------------------
/Licence_CeCILL_V2-fr.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/Licence_CeCILL_V2-fr.txt
--------------------------------------------------------------------------------
/src/common/src/trace.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/common/src/trace.h
--------------------------------------------------------------------------------
/src/sopalin/src/pastix.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/pastix.h
--------------------------------------------------------------------------------
/src/sopalin/src/updo.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/updo.c
--------------------------------------------------------------------------------
/scripts/Modules/Common.pm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Modules/Common.pm
--------------------------------------------------------------------------------
/src/blend/src/blendctrl.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/blend/src/blendctrl.c
--------------------------------------------------------------------------------
/src/blend/src/eliminfunc.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/blend/src/eliminfunc.c
--------------------------------------------------------------------------------
/src/sopalin/src/coefinit.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/coefinit.c
--------------------------------------------------------------------------------
/scripts/MakeReleaseHydra.pl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/MakeReleaseHydra.pl
--------------------------------------------------------------------------------
/scripts/Modules/GenLatex.pm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Modules/GenLatex.pm
--------------------------------------------------------------------------------
/scripts/Modules/LogParser.pm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Modules/LogParser.pm
--------------------------------------------------------------------------------
/scripts/templates/config.in:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/config.in
--------------------------------------------------------------------------------
/scripts/templates/config.r41:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/config.r41
--------------------------------------------------------------------------------
/scripts/templates/iparm.tpl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/iparm.tpl
--------------------------------------------------------------------------------
/src/blend/src/param_blend.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/blend/src/param_blend.c
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin3d.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin3d.c
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin3d.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin3d.h
--------------------------------------------------------------------------------
/scripts/Modules/Compilation.pm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Modules/Compilation.pm
--------------------------------------------------------------------------------
/scripts/templates/config.argent:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/config.argent
--------------------------------------------------------------------------------
/scripts/templates/config.hagrid:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/config.hagrid
--------------------------------------------------------------------------------
/scripts/templates/gommette.tpl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/gommette.tpl
--------------------------------------------------------------------------------
/src/blend/src/solverMatrixGen.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/blend/src/solverMatrixGen.c
--------------------------------------------------------------------------------
/src/blend/src/splitpartlocal.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/blend/src/splitpartlocal.c
--------------------------------------------------------------------------------
/src/matrix/dmatrix/mat_test0:
--------------------------------------------------------------------------------
1 | 15 3
2 | 8
3 | 0 2 5 8
4 | 2 3 1 6
5 | 8 1 10 13
6 | 1 1 1 1
7 | 1 1 1 1
8 | 0.1 0.2 0.1
9 |
--------------------------------------------------------------------------------
/src/matrix/dmatrix/mat_test3:
--------------------------------------------------------------------------------
1 | 15 3
2 | 8
3 | 0 3 5 8
4 | 3 12 13 12
5 | 15 10 11 15
6 | 1 1 1 1
7 | 1 1 1 1
8 | 0.1 0 0.2
9 |
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin_init.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin_init.h
--------------------------------------------------------------------------------
/scripts/Modules/PastixDatabase.pm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/Modules/PastixDatabase.pm
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test5fichiers/main:
--------------------------------------------------------------------------------
1 | 5
2 | matrice_test0
3 | matrice_test1
4 | matrice_test2
5 | matrice_test3
6 | matrice_test4
7 |
--------------------------------------------------------------------------------
/src/matrix_drivers/src/sed.in:
--------------------------------------------------------------------------------
1 | s/\([ID]PARM_[A-Z_]*\)[ ]*=[ ]*\([0-9]*\).*/ if(!strcmp("\1", string)) { *value = \2\; return 0\;}/
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin_compute.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin_compute.c
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin_define.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin_define.h
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin_sendrecv.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin_sendrecv.c
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin_thread.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin_thread.c
--------------------------------------------------------------------------------
/src/sopalin/src/sopalin_thread.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/sopalin/src/sopalin_thread.h
--------------------------------------------------------------------------------
/scripts/templates/config.decrypthon:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/scripts/templates/config.decrypthon
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test2:
--------------------------------------------------------------------------------
1 | 0 2
2 | 4
3 | 0 2 4
4 | 3 9 4 1
5 | 1.000000 1.000000 1.000000 1.000000
6 | 12.000000 14.000000 0.000000
7 |
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test3:
--------------------------------------------------------------------------------
1 | 0 2
2 | 4
3 | 0 2 4
4 | 6 4 2 5
5 | 1.000000 1.000000 1.000000 1.000000
6 | 16.000000 18.000000 0.000000
7 |
--------------------------------------------------------------------------------
/src/order/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(ORDER_SRC order.c
2 | order_base.c
3 | order_check.c
4 | order_io.c)
5 | SET(ORDER_SRC_MA )
--------------------------------------------------------------------------------
/src/matrix/dmatrix/mat_test2:
--------------------------------------------------------------------------------
1 | 15 3
2 | 9
3 | 0 3 6 9
4 | 8 9 14 2
5 | 7 9 7 8
6 | 14
7 | 1 1 1 1
8 | 1 1 1 1
9 | 1
10 | 0 0 0.5
11 |
--------------------------------------------------------------------------------
/src/murge/scripts/NaturalDocs/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenCMISS-Dependencies/pastix/HEAD/src/murge/scripts/NaturalDocs/logo.png
--------------------------------------------------------------------------------
/src/matrix/dmatrix/mat_test1:
--------------------------------------------------------------------------------
1 | 15 3
2 | 9
3 | 0 2 5 9
4 | 5 6 4 6
5 | 14 2 4 5
6 | 13
7 | 1 1 1 1
8 | 1 1 1 1
9 | 1
10 | 0.1 0.2 0.2
11 |
--------------------------------------------------------------------------------
/src/perf/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=perf
2 | MY_SRC=
3 | MY_SRC_MULT_ARCH=
4 |
5 | include all_modules.mk
6 | include all_rules.mk
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/matrix/dmatrix/mat_test4:
--------------------------------------------------------------------------------
1 | 15 3
2 | 12
3 | 0 4 9 12
4 | 3 6 10 14
5 | 5 7 9 13
6 | 15 11 12 14
7 | 1 1 1 1
8 | 1 1 1 1
9 | 1 1 1 1
10 | 0 0.5 0
11 |
--------------------------------------------------------------------------------
/Append.cmake:
--------------------------------------------------------------------------------
1 | #message("Reading content from file ${FILE}")
2 | FILE(READ ${FILE} CONTENT)
3 | #message("Appending content to file ${TARGET}")
4 | FILE(APPEND ${TARGET} "${CONTENT}")
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test0:
--------------------------------------------------------------------------------
1 | 0 3
2 | 6
3 | 0 2 4 6
4 | 6 8 4 10
5 | 5 7
6 | 1.000000 1.000000 1.000000 1.000000
7 | 1.000000 1.000000
8 | 0.000000 2.000000 4.000000 0.000000
9 |
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test1:
--------------------------------------------------------------------------------
1 | 0 3
2 | 6
3 | 0 2 4 6
4 | 6 8 9 5
5 | 10 4
6 | 1.000000 1.000000 1.000000 1.000000
7 | 1.000000 1.000000
8 | 6.000000 8.000000 10.000000 0.000000
9 |
--------------------------------------------------------------------------------
/src/fax/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(FAX_SRC
2 | symbol_compact.c
3 | symbol_costi.c
4 | symbol_fax_graph.c
5 | symbol_fax.c
6 | symbol_faxi_graph.c
7 | symbol_faxi.c
8 | )
9 | SET(FAX_SRC_MA )
--------------------------------------------------------------------------------
/src/matrix_drivers/src/api_str_to_int.c.in:
--------------------------------------------------------------------------------
1 | #include "api_str_to_int.h"
2 | #include "string.h"
3 | int api_str_to_int( char * string, int * value) {
4 | @STRTOINTVALUES@ return 1;
5 | }
--------------------------------------------------------------------------------
/src/sparse-matrix/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=sparse-matrix
2 |
3 | MY_SRC = pastix_sparse_matrix.c
4 |
5 | MY_SRC_MULT_ARCH =
6 |
7 | include all_modules.mk
8 | include all_mp_rules.mk
9 |
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test5fichiers/matrice_test0:
--------------------------------------------------------------------------------
1 | 0 3
2 | 8
3 | 1 3 6 9
4 | 2 3 1 6
5 | 8 1 10 13
6 | 1.000000 1.000000 1.000000 1.000000
7 | 1.000000 1.000000 1.000000 1.000000
8 | 1.000000 1.000000 1.000000
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test5fichiers/matrice_test3:
--------------------------------------------------------------------------------
1 | 0 3
2 | 8
3 | 1 4 6 9
4 | 3 12 13 12
5 | 15 10 11 15
6 | 1.000000 1.000000 1.000000 1.000000
7 | 1.000000 1.000000 1.000000 1.000000
8 | 1.000000 1.000000 1.000000
--------------------------------------------------------------------------------
/src/order/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:= order
2 |
3 | MY_SRC = order.c \
4 | order_base.c \
5 | order_check.c \
6 | order_io.c
7 |
8 | MY_SRC_MULT_ARCH =
9 |
10 | include all_modules.mk
11 | include all_rules.mk
12 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | build/
2 | src/sopalin/src/murge_pastix.inc.tmp
3 | src/matrix_drivers/src/api_str_to_int.c
4 | .gitignore~
5 | src/example/src/sutils.h
6 | src/example/src/dutils.h
7 | src/example/src/cutils.h
8 | src/example/src/zutils.h
9 |
--------------------------------------------------------------------------------
/src/common/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(COMMON_SRC
2 | common_integer.c
3 | common_error.c
4 | common_memory.c
5 | trace.c)
6 | SET(COMMON_SRC_MA common.c)
7 |
8 | if (MINGW)
9 | list(APPEND COMMON_SRC mingw_fix.c)
10 | endif()
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test5fichiers/matrice_test1:
--------------------------------------------------------------------------------
1 | 0 3
2 | 9
3 | 1 3 6 10
4 | 5 6 4 6
5 | 14 2 4 5
6 | 13
7 | 1.000000 1.000000 1.000000 1.000000
8 | 1.000000 1.000000 1.000000 1.000000
9 | 1.000000
10 | 1.000000 1.000000 1.000000
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test5fichiers/matrice_test2:
--------------------------------------------------------------------------------
1 | 0 3
2 | 9
3 | 1 4 7 10
4 | 8 9 14 2
5 | 7 9 7 8
6 | 14
7 | 1.000000 1.000000 1.000000 1.000000
8 | 1.000000 1.000000 1.000000 1.000000
9 | 1.000000
10 | 1.000000 1.000000 1.000000
--------------------------------------------------------------------------------
/src/common/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=common
2 | MY_SRC := common_integer.c \
3 | common_error.c \
4 | common_memory.c \
5 | trace.c
6 |
7 | MY_SRC_MULT_ARCH := common.c
8 |
9 | include all_modules.mk
10 | include all_rules.mk
11 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Pastix
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/scripts/regression/TODO:
--------------------------------------------------------------------------------
1 | - Possibility to launch run as soon as binaries are compiles (faster
2 | submission)
3 | - Give possibility to run Metis with PaStiX, only build possible for the moment.
4 | - Improve website
5 | - Cleenup Database when /var/lib is full.
--------------------------------------------------------------------------------
/src/kass/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(KASS_SRC
2 | kass.c
3 | compact_graph.c
4 | amalgamate.c
5 | ifax.c
6 | sparRow.c
7 | SF_Direct.c
8 | SF_level.c
9 | find_supernodes.c
10 | KSupernodes.c
11 | )
12 | SET(KASS_SRC_MA sort_row.c)
--------------------------------------------------------------------------------
/src/murge/.gitignore:
--------------------------------------------------------------------------------
1 | Makefile.inc
2 | examples/bin
3 | examples/obj
4 | scripts/doc
5 | scripts/pdoc
6 |
7 | slides/*/*.aux
8 | slides/*/*.log
9 | slides/*/*.nav
10 | slides/*/*.out
11 | slides/*/*.pdf
12 | slides/*/*.snm
13 | slides/*/*.toc
14 | slides/*/*.vrb
15 | *~
--------------------------------------------------------------------------------
/src/matrix/dmatrix/test5fichiers/matrice_test4:
--------------------------------------------------------------------------------
1 | 0 3
2 | 12
3 | 1 5 10 13
4 | 3 6 10 14
5 | 5 7 9 13
6 | 15 11 12 14
7 | 1.000000 1.000000 1.000000 1.000000
8 | 1.000000 1.000000 1.000000 1.000000
9 | 1.000000 1.000000 1.000000 1.000000
10 | 1.000000 1.000000 1.000000
--------------------------------------------------------------------------------
/src/symbol/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(SYMBOL_SRC
2 | dof.c
3 | dof_io.c
4 | symbol.c
5 | symbol_base.c
6 | symbol_check.c
7 | symbol_cost.c
8 | symbol_draw.c
9 | symbol_io.c
10 | symbol_keep.c
11 | symbol_levf.c
12 | symbol_nonzeros.c
13 | symbol_tree.c
14 | )
15 | SET(SYMBOL_SRC_MA )
--------------------------------------------------------------------------------
/scripts/templates/service.tpl:
--------------------------------------------------------------------------------
1 | #PBS -S /bin/bash
2 | #PBS -N Pastix__NBNODE_P__NBTHREAD_T
3 | #PBS -o _FILE_OUT_
4 | #PBS -e _FILE_ERR_
5 | #PBS -j oe
6 | #PBS -m ae -M _USER_
7 | #PBS -l select=_NBNODE_:ncpus=_NBTHREAD_:mpiprocs=_TASKPERNODE_
8 | #PBS -l walltime=_TIME_
9 |
10 | cd _PATH_
11 | /usr/pbs/bin/mpiexec ./_EXECUTABLE_
12 |
13 |
--------------------------------------------------------------------------------
/windows_fix.h.in:
--------------------------------------------------------------------------------
1 | #ifdef WIN32
2 | #define sysconf(a) a
3 | #define _SC_NPROCESSORS_ONLN @NUMPROC@
4 | #endif
5 | #ifdef _MINGW_
6 | #define random rand
7 | #define srandom srand
8 | #endif
9 |
10 | /* Hack to have CLOCK_REALTIME in pastix on mingw32 */
11 | #if defined(__MINGW32__) && !defined(CLOCK_REALTIME)
12 | #define CLOCK_REALTIME 1
13 | #endif
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-proto.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bool bytes default double enum extend extensions false fixed32 fixed64 float group import int32 int64 max message option optional package repeated required returns rpc service sfixed32 sfixed64 sint32 sint64 string syntax to true uint32 uint64",cStyleComments:true}),["proto"])
--------------------------------------------------------------------------------
/src/wrapper/src/pypastix/Makefile:
--------------------------------------------------------------------------------
1 | all: src/_pastix.pxd \
2 | src/_murge.pxd \
3 | src/_smurge.pxd \
4 | src/_dmurge.pxd \
5 | src/_cmurge.pxd \
6 | src/_zmurge.pxd \
7 | src/PASTIX.pxd \
8 | src/_cscd_utils.pxd
9 | python setup.py install --prefix=${PASTIX_PREFIX}
10 |
11 | test:
12 | -python -m doctest -v test_queue.py
13 |
14 | clean:
15 | -rm -rf build
16 | -rm src/pypastix.c
17 |
--------------------------------------------------------------------------------
/src/murge/Makefile.rules:
--------------------------------------------------------------------------------
1 | EXE =
2 | OBJ = .o
3 | SRCDIR = src
4 | OBJDIR = obj
5 | BINDIR = bin
6 |
7 | $(OBJDIR)/%$(OBJ) : $(SRCDIR)/%.c $(OBJDIR)
8 | $(CC) $(CFLAGS) -c $< -o $@
9 |
10 | $(BINDIR)/%$(EXE) : $(OBJDIR)/%$(OBJ) $(BINDIR)
11 | $(CC) $(CFLAGS) $< -o $@ $(LDSOLVER) $(LDFLAGS)
12 |
13 | bin :
14 | mkdir bin
15 |
16 | obj :
17 | mkdir obj
18 |
19 | clean :
20 | rm -rf bin
21 | rm -rf obj
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-yaml.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^\w+:[ \r\n]/],["pln",/^\w+/]]),
2 | ["yaml","yml"])
--------------------------------------------------------------------------------
/README_PYTHON.txt:
--------------------------------------------------------------------------------
1 | Topic: To use PaStiX in Python
2 |
3 | You can customize the instalation PATH by setting PYTHON_PREFIX in
4 | config.in file, the directory $PYTHON_PREFIX/pythonX.Y/site-packages
5 | must be in your PYTHONPATH at runtime.
6 |
7 | To use PaStiX with Python you have to install Cython, then simply run:
8 | > make pypastix
9 | And test it with
10 | > python ./example/src/pypastix/pastix.py
11 |
12 |
--------------------------------------------------------------------------------
/src/utils/src/insert-fortran-inc.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | usage="usage: $0 file1 file2\n";
4 | usage="$usage\t\t Include file2 into file1 just before END INTERFACE.\n";
5 | if [ $# = 2 ]
6 | then
7 | LINE=$(awk '/END INTERFACE/ {print NR}' $1);
8 | LENGHT=$(wc -l $1 | awk '{print $1}');
9 |
10 | head -n $(($LINE - 1)) $1 >> tmp;
11 | cat $2 >> tmp;
12 | tail -n $(($LENGHT - $LINE + 1)) $1 >> tmp;
13 | mv tmp $1;
14 | else
15 | echo -e $usage;
16 | fi;
--------------------------------------------------------------------------------
/src/wrapper/src/pypastix/src/pastix_types.pxi:
--------------------------------------------------------------------------------
1 | cdef extern from "pastix.h":
2 | ctypedef int32_t pastix_int_t
3 | ctypedef np.int32_t np_pastix_int_t
4 | ctypedef np.double_t np_pastix_float_t
5 |
6 | cdef extern from "murge.h":
7 | ctypedef double COEF
8 | ctypedef double REAL
9 | ctypedef int INTS
10 | ctypedef int INTL
11 | ctypedef np.int32_t np_INTS
12 | ctypedef np.int32_t np_INTL
13 | ctypedef np.double_t np_COEF
14 | ctypedef np.double_t np_REAL
15 |
--------------------------------------------------------------------------------
/src/wrapper/petsc/src_mat_impl_aij_mpi_pastix_makefile:
--------------------------------------------------------------------------------
1 |
2 | #requirespackage 'PETSC_HAVE_PASTIX'
3 | #requiresprecision double
4 |
5 | ALL: lib
6 |
7 | CFLAGS = ${PASTIX_INCLUDE}
8 | FFLAGS =
9 | SOURCEC = pastix.c
10 | SOURCEF =
11 | SOURCEH =
12 | OBJSC = pastix.o
13 | OBJSF =
14 | LIBBASE = libpetscmat
15 | DIRS =
16 | MANSEC = Mat
17 | LOCDIR = src/mat/impls/aij/mpi/pastix/
18 |
19 | include ${PETSC_DIR}/conf/variables
20 | include ${PETSC_DIR}/conf/rules
21 | include ${PETSC_DIR}/conf/test
22 |
--------------------------------------------------------------------------------
/src/murge/examples/Makefile:
--------------------------------------------------------------------------------
1 | include ../Makefile.inc
2 | CFLAGS := $(CFLAGS) -I../include
3 |
4 | all : examples
5 | include ../Makefile.rules
6 |
7 | examples : ../Makefile.inc \
8 | $(BINDIR)/murge-dist$(EXE) \
9 | $(BINDIR)/murge-global$(EXE) \
10 | $(BINDIR)/murge-mm$(EXE) \
11 | $(BINDIR)/murge-save-load$(EXE) \
12 | $(BINDIR)/multi-matrix-and-rhs$(EXE)
13 |
14 | $(BINDIR)/murge-mm$(EXE) : $(OBJDIR)/murge-mm$(OBJ) $(OBJDIR)/mmio$(OBJ) $(BINDIR)
15 | $(CC) $(CFLAGS) $(OBJDIR)/murge-mm$(OBJ) $(OBJDIR)/mmio$(OBJ) -o $@ $(LDSOLVER) $(LDFLAGS)
16 |
17 |
--------------------------------------------------------------------------------
/src/symbol/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=symbol
2 |
3 | MY_SRC = dof.c \
4 | dof_io.c \
5 | symbol.c \
6 | symbol_base.c \
7 | symbol_check.c \
8 | symbol_cost.c \
9 | symbol_draw.c \
10 | symbol_io.c \
11 | symbol_keep.c \
12 | symbol_levf.c \
13 | symbol_nonzeros.c \
14 | symbol_tree.c
15 |
16 |
17 |
18 | MY_SRC_MULT_ARCH =
19 |
20 | include all_modules.mk
21 | include all_rules.mk
22 |
23 | $(OJTDIR)/dof$(OBJ) : $(SRCDIR)/dof.c config.in
24 | $(MAKEDEPEND) $(CCOPT) $(CCINC);
25 | $(MPCCPRG) $(CCOPT) $(CCINC) -c $< -o $@
26 |
27 |
--------------------------------------------------------------------------------
/src/myversion.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | if [ -e ".git" ]; then
4 | rev=`git rev-parse --short HEAD`;
5 | echo $rev;
6 | exit;
7 | else
8 | if [ -x "`which svnversion`" ]; then
9 | rev=`LC_ALL=C svnversion 2>/dev/null | sed -e 's/ //g' -e 's/,//g'`
10 | if [ "$rev" != 'exporté' ]
11 | then
12 | echo $rev;
13 | exit;
14 | fi;
15 | fi
16 | fi
17 |
18 | if [ -f Revision ]
19 | then
20 | cat ./Revision
21 | else
22 | if [ -f ../../Revision ]
23 | then
24 | cat ../../Revision
25 | else
26 | echo "NoRevisionFound"
27 | fi
28 | fi;
29 |
--------------------------------------------------------------------------------
/scripts/concat_strat.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 |
3 | use POSIX;
4 | use strict;
5 |
6 | sub concat {
7 | my ($filename) = @_;
8 | my $deep = 0;
9 | my $line = "";
10 | my $out = "";
11 |
12 | open(FILE, "$filename") or die "Couldn’t open file \"$filename\"\n";
13 |
14 | # Parcours du fichier de log
15 | while ($line = )
16 | {
17 | chomp $line;
18 | $line =~ s/ //g;
19 | $line =~ s/\n//g;
20 | $out = "$out$line"
21 | }
22 | close FILE;
23 | print "$out\n"
24 | }
25 |
26 | my $ifile = $ARGV[0];
27 | &concat($ifile);
28 |
29 |
--------------------------------------------------------------------------------
/README_PETSC.txt:
--------------------------------------------------------------------------------
1 | Topic: To use PaStiX through PETSc
2 |
3 | Configure PETSc :
4 | > export PETSC_DIR=$PWD
5 | > ./configure --download-pastix=1 --download-ptscotch=1
6 |
7 | Building PETSc :
8 | > export PETSC_DIR=$PWD
9 | > make all test
10 |
11 | Testing PaStiX through PETSc :
12 | > cd src/ksp/pc/examples/tests/
13 | > make ex2
14 | > ./ex2 -ksp_type preonly -pc_type lu -pc_factor_mat_solver_package pastix -ksp_monitor \
15 | > -mat_pastix_threadnbr [1:X] -mat_pastix_verbose [0:4] -mat_pastix_check [0,1]
16 |
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-wiki.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t \xA0a-gi-z0-9]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[=*~\^\[\]]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\b/],["lang-",/^\{\{\{([\s\S]+?)\}\}\}/],["lang-",/^`([^\r\n`]+)`/],["str",/^https?:\/\/[^\/?#\s]*(?:\/[^?#\s]*)?(?:\?[^#\s]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\s\S])[^#=*~^A-Zh\{`\[\r\n]*/]]),["wiki"]);
2 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"])
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-lua.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],
2 | ["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"])
--------------------------------------------------------------------------------
/scripts/launch.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 |
3 | $file = "ListeJobs.txt";
4 | $sleeptime = 30;
5 | sub SuppressionPremiereLigne()
6 | {
7 | `tail -n +2 $file > /tmp/TODO.temp && mv /tmp/TODO.temp $file`;
8 | }
9 |
10 | # Ouverture du fichier de log
11 | open (M, "$file"); @st = ; close M;
12 |
13 | foreach $cmd (@st)
14 | {
15 |
16 | chop $cmd;
17 | print $cmd."\n";
18 | system($cmd);
19 | while ( $? != 0 )
20 | {
21 | print "Submission returned value $?, Trying again in $sleeptime sec...\n";
22 | sleep($sleeptime);
23 | system($cmd);
24 | }
25 |
26 | SuppressionPremiereLigne();
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/src/fax/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=fax
2 |
3 | MY_SRC = symbol_compact.c \
4 | symbol_costi.c \
5 | symbol_fax.c \
6 | symbol_fax_graph.c \
7 | symbol_faxi.c \
8 | symbol_faxi_graph.c
9 |
10 | MY_SRC_MULT_ARCH =
11 |
12 |
13 | include all_modules.mk
14 | include all_rules.mk
15 |
16 | $(OJTDIR)/symbol_faxi_graph$(OBJ): $(SRCDIR)/symbol_faxi_graph.c config.in
17 | $(MAKEDEPEND) $(CCOPT) $(CCINC);
18 | $(MPCCPRG) $(CCOPT) $(CCINC) -c $< -o $@
19 | $(OJTDIR)/symbol_fax_graph$(OBJ): $(SRCDIR)/symbol_fax_graph.c config.in
20 | $(MAKEDEPEND) $(CCOPT) $(CCINC);
21 | $(MPCCPRG) $(CCOPT) $(CCINC) -c $< -o $@
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/prettify.css:
--------------------------------------------------------------------------------
1 | .str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun{color:#660}.pln{color:#000}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec{color:#606}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}@media print{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun{color:#440}.pln{color:#000}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}
--------------------------------------------------------------------------------
/src/kass/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=kass
2 |
3 | MY_SRC = kass.c \
4 | compact_graph.c \
5 | amalgamate.c \
6 | ifax.c \
7 | sparRow.c \
8 | SF_Direct.c \
9 | SF_level.c \
10 | find_supernodes.c \
11 | KSupernodes.c
12 |
13 |
14 | MY_SRC_MULT_ARCH = sort_row.c
15 |
16 | include all_modules.mk
17 | include all_rules.mk
18 |
19 | $(OJTDIR)/kass$(OBJ) : $(SRCDIR)/kass.c config.in
20 | $(MAKEDEPEND) $(CCOPT) $(CCINC);
21 | $(MPCCPRG) $(CCOPT) $(CCINC) -c $(<) -o $(@)
22 |
23 | $(OJTDIR)/amalgamate$(OBJ) : $(SRCDIR)/amalgamate.c config.in
24 | $(MAKEDEPEND) $(CCOPT) $(CCINC);
25 | $(MPCCPRG) $(CCOPT) $(CCINC) -c $(<) -o $(@)
26 |
--------------------------------------------------------------------------------
/src/perf/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(PERF_EXECS
2 | reg_axpy
3 | reg_copy
4 | reg_geam
5 | reg_gemm
6 | reg_gemv
7 | reg_pof
8 | reg_ppf
9 | reg_scal
10 | reg_trsm
11 | reg_trsv
12 | )
13 | add_library(num_recipes num_recipes/covsrt.c num_recipes/gaussj.c num_recipes/lfit.c num_recipes/nrutil.c)
14 | foreach (PERF_EXEC ${PERF_EXECS})
15 | add_executable(${PERF_EXEC} ${PERF_EXEC}.c)
16 | target_include_directories(${PERF_EXEC} PUBLIC $)
17 | target_link_libraries(${PERF_EXEC} num_recipes)
18 | if (UNIX)
19 | target_link_libraries(${PERF_EXEC} m)
20 | endif()
21 | endforeach()
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-hs.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/,
2 | null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"])
--------------------------------------------------------------------------------
/src/blend/src/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | SET(BLEND_SRC
2 | assemblyGener.c
3 | blend.c
4 | blend_symbol_cost.c
5 | blendctrl.c
6 | bulles.c
7 | cost.c
8 | costfunc.c
9 | distribPart.c
10 | elimin.c
11 | eliminfunc.c
12 | extendVector.c
13 | extrastruct.c
14 | fanboth2.c
15 | param_blend.c
16 | partbuild.c
17 | queue.c
18 | simu.c
19 | smart_cblk_split.c
20 | solverMatrixGen.c
21 | solverRealloc.c
22 | solver_check.c
23 | solver_io.c
24 | splitfunc.c
25 | splitpart.c
26 | splitpartlocal.c
27 | symbolrand.c
28 | task.c
29 | write_ps.c
30 | smart_cblk_split.c
31 | blend_distributeOnGPU.c
32 | )
33 | SET(BLEND_SRC_MA )
--------------------------------------------------------------------------------
/scripts/templates/titane.tpl:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #MSUB -r _NAME_
4 | #MSUB -n _NBPROCTOTAL_
5 | #BSUB -W 10
6 | #MSUB -T _TIME_
7 | #MSUB -e _FILE_ERR_
8 | #MSUB -o _FILE_OUT_
9 | #BSUB -u _USER_
10 | #BSUB -N
11 |
12 | export DAT_OVERRIDE=$HOME/dat.conf
13 |
14 | SRCPATH=_PATH1_/_PATH2_;
15 |
16 | #****************************************************
17 | # SCRIPT SUBMISSION
18 | #****************************************************
19 |
20 | cd ${SRCPATH}
21 | # export MV2_SRQ_SIZE=1000
22 |
23 | export VIADEV_CLUSTER_SIZE=LARGE
24 | source /applications/intel/impi/3.2.1.009/bin64/mpivars.sh
25 | export I_MPI_WAIT_MODE=enable
26 | export I_MPI_SPIN_COUNT=100000
27 | /applications/intel/impi/3.2.1.009/bin64/mpirun -r ssh -perhost 1 -np _NBPROC_ ./_EXECUTABLE_ _DRIVER_
28 |
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-lisp.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(/,null,"("],["clo",/^\)/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,
2 | null],["lit",/^[+\-]?(?:0x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["cl","el","lisp","scm"])
--------------------------------------------------------------------------------
/scripts/templates/plafrim.tpl:
--------------------------------------------------------------------------------
1 | #PBS -N PaStiX
2 | #PBS -o _FILE_OUT_
3 | #PBS -e _FILE_ERR_
4 | #PBS -j oe
5 | #PBS -l walltime=_TIME_
6 | #PBS -l nodes=_NBNODE_
7 | ## Positionne tous les noeud sur un même switch, pour plus de 16 le job
8 | ## restera bloque indefiniment
9 | #PBS -W x=\"NODESET:ONEOF:FEATURE:ib001:ib002:ib005:ib006\"
10 |
11 | source /etc/profile.d/modules.sh
12 |
13 | cd _PATH_
14 |
15 | # Chargement des modules :
16 | module purge
17 | #module load compiler/intel-11.1-069 mpi/openmpi-1.4.1
18 | module load compiler/intel-11.1-069 mpi/mvapich2-1.4.1 mpiexec-0.83
19 |
20 | # Positionnement dans le bon repertoire qui va bien :
21 | # cat $PBS_NODEFILE
22 | cat $PBS_NODEFILE | sort | uniq > hostfile
23 | #_EXECCMD_ -n _NBNODE_ -hostfile hostfile _EXECUTABLE_ _DRIVER_
24 | _EXECCMD_ -n _NBNODE_ _EXECUTABLE_ _DRIVER_
25 |
26 |
--------------------------------------------------------------------------------
/src/wrapper/src/pypastix/genpxd.py:
--------------------------------------------------------------------------------
1 | from cwrap.config import Config, File
2 | import sys
3 |
4 | print sys.argv
5 | if len(sys.argv) > 1:
6 | files = [File(f) for f in sys.argv[2:]]
7 | else:
8 | files = [File('test.h')]
9 |
10 | if __name__ == '__main__':
11 | #config = Config('gccxml', files=files, save_dir = 'tests/result_gccxml')
12 | #config.generate()
13 |
14 | print '------------------------'
15 | print
16 |
17 | config_clang = Config('clang', files=files,
18 | save_dir = sys.argv[1],
19 | #include_dirs = [], #/usr/include/c++/4.2.1
20 | #extern_name = '',
21 | #implementation_name = '',
22 | #language = 'c++',
23 | )
24 | config_clang.generate()
25 |
--------------------------------------------------------------------------------
/scripts/regression/Machines/machines.py:
--------------------------------------------------------------------------------
1 | import vulcain
2 | import plafrim
3 | import tthor
4 | import remus
5 | machines = {}
6 | remote_machines = {}
7 |
8 | for key in vulcain.machines.keys():
9 | machines[key] = vulcain.machines[key]
10 | for key in vulcain.remote.keys():
11 | remote_machines[key] = vulcain.remote[key]
12 |
13 | for key in remus.machines.keys():
14 | machines[key] = remus.machines[key]
15 | for key in remus.remote.keys():
16 | remote_machines[key] = remus.remote[key]
17 |
18 | for key in plafrim.machines.keys():
19 | machines[key] = plafrim.machines[key]
20 | for key in plafrim.remote.keys():
21 | remote_machines[key] = plafrim.remote[key]
22 |
23 | for key in tthor.machines.keys():
24 | machines[key] = tthor.machines[key]
25 | for key in tthor.remote.keys():
26 | remote_machines[key] = tthor.remote[key]
27 |
--------------------------------------------------------------------------------
/scripts/regression/list_comp_opts.py:
--------------------------------------------------------------------------------
1 | from Projects.PaStiX import PaStiX
2 | from Projects.Hips import Hips
3 | def printCompilationNames(p):
4 | """ print compilation keywords"""
5 |
6 | out = ''
7 | for l in p.listCompilationNames():
8 | out += l.pop(0) + u'\t\t => '
9 | if l:
10 | w = l.pop(0)
11 | else:
12 | w = None
13 | while not w == None:
14 | out += w
15 | if l:
16 | w = l.pop(0)
17 | out += u' : '
18 | else:
19 | w = None
20 | out += '\n'
21 | print out
22 |
23 |
24 | print """
25 | === PaStiX Compilation options ===
26 | """
27 |
28 | p = PaStiX()
29 | printCompilationNames(p)
30 | print """
31 | === Hips Compilation options ===
32 | """
33 | p = Hips()
34 | printCompilationNames(p)
35 |
36 |
--------------------------------------------------------------------------------
/src/all_modules.mk:
--------------------------------------------------------------------------------
1 | OJTDIR:=$(MODULE)/obj/$(HOSTARCH)
2 | DSTDIR:=$(MODULE)/bin/$(HOSTARCH)
3 | SRCDIR:=$(MODULE)/src
4 | DEPDIR:=$(MODULE)/dep
5 |
6 | MY_SRC := $(patsubst %,$(SRCDIR)/%,$(MY_SRC))
7 | MY_SRC_MULT_ARCH := $(patsubst %,$(SRCDIR)/%,$(MY_SRC_MULT_ARCH))
8 |
9 | MY_OBJ := $(patsubst %.c,%.o,$(filter %.c,$(MY_SRC))) \
10 | $(patsubst %.c,%.o,$(filter %.c,$(MY_SRC_MULT_ARCH))) \
11 | $(patsubst %.c,%_s.o,$(filter %.c,$(MY_SRC_MULT_ARCH))) \
12 | $(patsubst %.c,%_d.o,$(filter %.c,$(MY_SRC_MULT_ARCH))) \
13 | $(patsubst %.c,%_c.o,$(filter %.c,$(MY_SRC_MULT_ARCH))) \
14 | $(patsubst %.c,%_z.o,$(filter %.c,$(MY_SRC_MULT_ARCH)))
15 |
16 | MY_OBJ := $(patsubst $(SRCDIR)/%,$(OJTDIR)/%,$(MY_OBJ))
17 |
18 | OBJ_LIB := $(OBJ_LIB) $(MY_OBJ)
19 |
20 | DEP_LIB := $(DEP_LIB) $(patsubst $(OJTDIR)/%.o,$(DEPDIR)/%.d,$(MY_OBJ))
21 |
22 | $(DEPDIR):
23 | mkdir -p $@
--------------------------------------------------------------------------------
/src/wrapper/src/pastix.i:
--------------------------------------------------------------------------------
1 | %module pastix
2 | %{
3 | #include
4 | #include
5 | #include
6 | #include
7 | #include
8 | #ifndef FORCE_NOMPI
9 | #include
10 | #endif
11 | #include
12 | #include "pastix.h"
13 | %}
14 | %include "cpointer.i"
15 | %include "carrays.i"
16 | %include "mpi4py.i"
17 |
18 | %mpi4py_typemap(Comm, MPI_Comm);
19 |
20 | %typemap(in) int32_t {
21 | $1 = PyInt_AsLong($input);
22 | }
23 | %typemap(in) int64_t {
24 | $1 = PyInt_AsLong($input);
25 | }
26 |
27 | %array_functions(int, intArray);
28 | %array_functions(pastix_int_t, pIntArray);
29 | %array_functions(double, doubleArray);
30 | %array_functions(float, simpleArray);
31 | %array_functions(pastix_float_t, pFloatArray);
32 |
33 | %apply long* INOUT{pastix_data_t **pastix_data }; // tell SWIG its an inout
34 | #%include "pastix.h"
35 |
--------------------------------------------------------------------------------
/scripts/templates/cines.tpl:
--------------------------------------------------------------------------------
1 | #!/bin/csh
2 | # @ class = PC
3 | # @ initialdir = _PATH_
4 | # @ input = /dev/null
5 | # @ output = _FILE_OUT_
6 | # @ error = _FILE_ERR_
7 | # @ job_type=parallel
8 | # @ job_name = _NAME_
9 | # @ node = _NBNODE_
10 | # @ tasks_per_node = _TASKPERNODE_
11 | # @ notify_user = _USER_
12 | # @ notification = complete
13 | # @ network.MPI=csss,shared,US,AVERAGE
14 | # @ resources = ConsumableCpus(1) ConsumableMemory(900mb)
15 | # @ wall_clock_limit = _TIME_
16 | # requirements = (Feature == "F17")
17 | # @ node_usage = not_shared
18 | # @ environment = COPY_ALL;\
19 | # LANG=En_US;\
20 | # MP_SHARED_MEMORY=YES;\
21 | # MP_LABELIO=yes;\
22 | # MP_EUILIB=us;\
23 | # MP_HOSTFILE=NULL;\
24 | # MP_RMPOOL=0;\
25 | # OMP_NUM_THREADS=1;\
26 | # XLSMPOPTS=parthds=1;\
27 | # MP_WAIT_MODE=poll;\
28 | # MP_CSS_INTERRUPT=yes;
29 | # @ restart = no
30 | # @ queue
31 | _PATH_/pastix
32 |
33 |
--------------------------------------------------------------------------------
/scripts/Modules/Machines/chinqchint.pm:
--------------------------------------------------------------------------------
1 | $machines{'chinqchint'} =
2 | {
3 | 'nbcores' => 8,
4 | #'mempernode' => 32,
5 | #'execcmd' => '',
6 | #'template' => '',
7 | #'script' => '',
8 | #'submit' => '',
9 | #'time' => "",
10 | #'args' => "",
11 | #'argsbe' => "",
12 | 'bits' => "_64bits",
13 | 'hostarch' => "i686_pc_linux",
14 | 'ccprog' => "gcc -Wall",
15 | 'f77prog' => "gfortran",
16 | 'mpccprog' => "mpicc -Wall",
17 | 'mcfprog' => "mpif90",
18 | 'ccfopt' => "-O3",
19 | 'ccfdeb' => "-O0 -g3",
20 | 'f90flags' => "-ffree-form -x f95-cpp-input",
21 | 'ldflags' => "-L$ENV{ BLAS_HOME} -lgoto -lm -lrt -lgfortran",
22 | 'ccflags' => "",
23 | 'lkfopt' => "-s",
24 | 'arprog' => "ar",
25 | 'arflags' => "-ruv",
26 | 'makecmd' => "make"
27 | }
28 |
--------------------------------------------------------------------------------
/scripts/Modules/Machines/bordereau.pm:
--------------------------------------------------------------------------------
1 | $machines{'bordereau'} =
2 | {
3 | 'nbcores' => 4,
4 | #'mempernode' => 32,
5 | #'execcmd' => '',
6 | #'template' => '',
7 | #'script' => '',
8 | #'submit' => '',
9 | #'time' => "",
10 | #'args' => "",
11 | #'argsbe' => "",
12 | 'bits' => "_64bits",
13 | 'hostarch' => "i686_pc_linux",
14 | 'ccprog' => "gcc -Wall",
15 | 'f77prog' => "gfortran",
16 | 'mpccprog' => "mpicc -Wall",
17 | 'mcfprog' => "mpif90",
18 | 'ccfopt' => "-O3",
19 | 'ccfdeb' => "-O0 -g3",
20 | 'f90flags' => "-ffree-form -x f95-cpp-input",
21 | 'ldflags' => "-L/softs/acml/gnu64/lib -lacml -lm -lrt -lg2c",
22 | 'ccflags' => "",
23 | 'lkfopt' => "-s",
24 | 'arprog' => "ar",
25 | 'arflags' => "-ruv",
26 | 'makecmd' => "make"
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/scripts/Modules/Machines/gommette.pm:
--------------------------------------------------------------------------------
1 | $machines{'gommette'} =
2 | {
3 | 'nbcores' => 8,
4 | 'mempernode' => 0,
5 | 'execcmd' => '',
6 | 'template' => 'gommette.tpl',
7 | 'script' => 'job.sh',
8 | 'submit' => 'oarsub -S',
9 | 'time' => "01:00:00",
10 | 'args' => " -p'cluster=\"borderline\"' -t allow_classic_ssh",
11 | 'argsbe' => " -p'cluster=\"borderline\"' -t allow_classic_ssh --type=besteffort",
12 | #'bits' => "",
13 | #'hostarch' => "",
14 | #'ccprog' => "",
15 | #'f77prog' => "",
16 | #'mpccprog' => "",
17 | #'mcfprog' => "",
18 | #'ccfopt' => "",
19 | #'ccfdeb' => "",
20 | #'f90flags' => "",
21 | #'ldflags' => "",
22 | #'ccflags' => "",
23 | #'lkfopt' => "",
24 | #'arprog' => "",
25 | #'arflags' => "",
26 | #'makecmd' => "make"
27 | }
28 |
--------------------------------------------------------------------------------
/src/blend/src/module.mk:
--------------------------------------------------------------------------------
1 | MODULE:=blend
2 | MY_SRC =assemblyGener.c \
3 | blend.c \
4 | blend_symbol_cost.c \
5 | blendctrl.c \
6 | bulles.c \
7 | cost.c \
8 | costfunc.c \
9 | distribPart.c \
10 | elimin.c \
11 | eliminfunc.c \
12 | extendVector.c \
13 | extrastruct.c \
14 | fanboth2.c \
15 | param_blend.c \
16 | partbuild.c \
17 | queue.c \
18 | simu.c \
19 | smart_cblk_split.c \
20 | solverMatrixGen.c \
21 | solverRealloc.c \
22 | solver_check.c \
23 | solver_io.c \
24 | splitfunc.c \
25 | splitpart.c \
26 | splitpartlocal.c \
27 | symbolrand.c \
28 | task.c \
29 | write_ps.c \
30 | smart_cblk_split.c \
31 | blend_distributeOnGPU.c
32 |
33 | MY_SRC_MULT_ARCH =
34 |
35 | OJTDIR:=blend/obj/$(HOSTARCH)
36 | SRCDIR:=blend/src
37 | DEPDIR:=blend/dep
38 |
39 | include all_modules.mk
40 | include all_rules.mk
41 |
--------------------------------------------------------------------------------
/scripts/templates/service-intel.tpl:
--------------------------------------------------------------------------------
1 | #PBS -S /bin/bash
2 | #PBS -N Pastix__NBNODE_P__NBTHREAD_T
3 | #PBS -e _FILE_ERR_
4 | #PBS -o _FILE_OUT_
5 | #PBS -l select=_NBNODE_:ncpus=_NBTHREAD_:mpiprocs=_TASKPERNODE_
6 | #PBS -l walltime=_TIME_
7 |
8 | cd _PATH_
9 |
10 | ## Redefinition des modules
11 | . /etc/profile.d/modules.sh
12 | ## Initialisation environnement des modules
13 | module purge
14 | ## Chargement du module intel (compilateur)
15 | module load intel
16 | ## Chargement du module intelmpi (librairie // MPI de intel)
17 | module load intelmpi
18 | ## recuperation de la liste des nœuds de calcul utilises
19 | ## et creation du fichier mpd.hosts necessaire a intelmpi
20 | cat $PBS_NODEFILE | uniq > mpd.hosts
21 | ## Demarrage du daemon mpd de intelmpi
22 | mpdboot --rsh=ssh -v -n `cat mpd.hosts|wc -l` -f mpd.hosts
23 | ## lancement executable
24 | mpiexec -np _NBNODE_ ./_EXECUTABLE_
25 | ##Arret des daemons mpd
26 | mpdallexit
27 |
--------------------------------------------------------------------------------
/scripts/regression/www/prettify/lang-css.js:
--------------------------------------------------------------------------------
1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[ \t\r\n\f]+/,null," \t\r\n\u000c"]],[["str",/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],["str",/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],["kwd",/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],
2 | ["com",/^(?: