@@ -19,8 +19,8 @@ \section{The SuiteSparse:GraphBLAS JIT} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1919\subsection {Using the JIT }
2020
2121Using the JIT in a user application is simple: by default, there is nothing to
22- do. The current release, LAGraph v1.1.4, can use the JIT (and PreJIT) kernels
23- without changing a single line of code.
22+ do. LAGraph can use the JIT (and PreJIT) kernels without changing a single
23+ line of code, for example .
2424
2525Currently, the JIT compiles kernels for the CPU only, but a CUDA JIT is in
2626progress to exploit NVIDIA GPUs, in collaboration with Joe Eaton and
@@ -38,10 +38,9 @@ \subsection{Using the JIT}
3838cannot be determined and the \verb 'GRAPHBLAS_CACHE_PATH ' environment variable
3939is not set, then JIT compilation is disabled and only PreJIT kernels can be
4040used. The optional environment variable, \verb 'GRAPHBLAS_CACHE_PATH ', is also
41- read by \verb 'GrB_init ' when the user application runs. The filesystem holding
42- the cache folder must also support file locking. See Section~\ref {cache_path }
43- for a description of the valid characters that can appear in the cache path
44- and for more suggestions about file locking.
41+ read by \verb 'GrB_init ' when the user application runs. See
42+ Section~\ref {cache_path } for a description of the valid characters that can
43+ appear in the cache path.
4544
4645The user application can modify the location of the cache folder after calling
4746\verb 'GrB_init '. It can also modify the C compiler and its flags, and can
@@ -331,27 +330,9 @@ \subsubsection{\sf GxB\_JIT\_CACHE\_PATH}
331330character (\verb ': ') to allow for the use of Windows drive letters. Any
332331character outside of these rules is converted into an underscore (\verb '_ ').
333332
334- On distributed file systems that do not support file locking, sometimes the
335- \verb '/tmp ' directory is located on a file system that is not distributed, and
336- is thus suitable to use for the GraphBLAS JIT cache. In this case, try
337- creating a symbolic link in your home file folder (for Linux or Mac):
338-
339- {\small
340- \begin {verbatim }
341- cd
342- ln -s /tmp/me/.SuiteSparse \end {verbatim } }
343-
344- where \verb 'me ' is your user name. Next, in your startup script
345- (\verb '.bashrc ' for example), add these commands:
346-
347- {\small
348- \begin {verbatim }
349- mkdir /tmp/me
350- mkdir /tmp/me/.SuiteSparse \end {verbatim } }
351-
352- Then whenever you log into a system that has your home file folder on a
353- distributed file system, the default \verb '~/.SuiteSparse ' cache folder will be
354- a symbolic link to a folder on a file system that does support file locking.
333+ If your run multiple user applications that each use the same version of
334+ GraphBLAS, then each of your applications must set their own unique JIT cache
335+ path. Only one user application at a time may use the default JIT cache path.
355336
356337% -------------------------------------------------------------------------------
357338\subsection {Compilation options: {\sf GRAPHBLAS\_ USE\_ JIT} and {\sf GRAPHBLAS\_ COMPACT} }
0 commit comments