For each process, there is a stack size limit. Therefore, if you really want to create this array locally (on the stack), the only solution is to increase the stack size limit for your program. How to change the stack size limit depends on your OS.
An alternative is to create this array on the heap. To do this, you need to use the "new" keyword as follows.
std::complex<double> *c_array = new std::complex<double>[L][L][L][L][L][L];
source share