software:lapack:caviness

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
software:lapack:caviness [2020-03-09 12:51] – [Sequential vs parallel] anitasoftware:lapack:caviness [2020-12-01 09:34] frey
Line 25: Line 25:
 already have.</note> already have.</note>
  
-===== Compiling with intel and mkl library =====+===== Compiling with Intel and MKL library =====
  
 The [[https://software.intel.com/en-us/parallel-studio-xe/|Intel Parallel Studio XE]] comes installed with a Fortran compiler with the MKL library.  Use VALET, **''vpkg_versions intel''**. to find the latest version installed on Caviness. The [[https://software.intel.com/en-us/parallel-studio-xe/|Intel Parallel Studio XE]] comes installed with a Fortran compiler with the MKL library.  Use VALET, **''vpkg_versions intel''**. to find the latest version installed on Caviness.
Line 45: Line 45:
  
 <code> <code>
 +workgroup -g <<investing-entity>>
 vpkg_devrequire intel vpkg_devrequire intel
 ifort -mkl dgels-ex.f -o dgels-ex ifort -mkl dgels-ex.f -o dgels-ex
Line 70: Line 71:
 </code> </code>
 </note> </note>
-==== qsub file to test ====+==== sbatch file to test ====
  
 The ''ifort'' compiler with flag ''-mkl'' will compile and link to the threaded MKL libraries.  Thus you should test in the threaded parallel environment, and export the number of slots to the ''MKL_NUM_THREAD'' environment variable. Remember to use our templates for threaded jobs which can be found in ''/opt/templates/slurm/generic/threads.qs'' as a starting point. Here is a simple ''test.qs'' based on the ''threads.qs'' template. The ''ifort'' compiler with flag ''-mkl'' will compile and link to the threaded MKL libraries.  Thus you should test in the threaded parallel environment, and export the number of slots to the ''MKL_NUM_THREAD'' environment variable. Remember to use our templates for threaded jobs which can be found in ''/opt/templates/slurm/generic/threads.qs'' as a starting point. Here is a simple ''test.qs'' based on the ''threads.qs'' template.
Line 172: Line 173:
 [(it_css:traine)@login01 nagex]$ more slurm-6718859.out [(it_css:traine)@login01 nagex]$ more slurm-6718859.out
 -- OpenMP job setup complete: -- OpenMP job setup complete:
---  OMP_NUM_THREADS      = 4+--  OMP_THREAD_LIMIT     = 4
 --  OMP_PROC_BIND        = true --  OMP_PROC_BIND        = true
 --  OMP_PLACES           = cores --  OMP_PLACES           = cores
  • software/lapack/caviness.txt
  • Last modified: 2021-04-27 16:21
  • by 127.0.0.1