User Tools

Site Tools


faq:libsmm_arguments_too_long

Differences

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

Link to this comparison view

faq:libsmm_arguments_too_long [2015/12/09 08:30] (current)
ibethune created
Line 1: Line 1:
 +====== How do I solve the "​Argument list too long" error when building libsmm? ======
 +
 +The libsmm build process involves compiling many small (versions of) matrix multiplication kernels and testing them.  For some shells / settings, the makefile may generate lists of arguments that are too long, and you will see errors like:
 +
 +<code bash>
 +make: execvp: /bin/sh: Argument list too long
 +</​code>​
 +
 +This most likely occurs if you are building the library interactively (i.e. not through a batch system). ​ The workaround is to to use the 'batch / workload manager'​ option with a null submission command:
 +
 +<code bash>
 +./generate -c config/​linux.intel -j 100 -w none -t 24 tiny1
 +</​code>​
 +
 +Here the ''​-w none''​ option means using the null submission command, and  ''​-j 100''​ splits the build into 100 separate stages. ​ Increase the value of the ''​-j''​ option until you no longer hit the ''​Argument list too long''​ error.
  
faq/libsmm_arguments_too_long.txt ยท Last modified: 2015/12/09 08:30 by ibethune