This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
software:lapack:caviness [2020-12-01 09:34] – frey | software:lapack:caviness [2021-04-27 16:21] (current) – external edit 127.0.0.1 |
---|
==== sbatch 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/shared/templates/slurm/generic/threads.qs'' as a starting point. Here is a simple ''test.qs'' based on the ''threads.qs'' template. |
<file bash test.qs> | <file bash test.qs> |
#!/bin/bash -l | #!/bin/bash -l |