Dominique d'Humières writes: >> Can adjust anything so only stack space is used? > > Which options are you using? You may want to try -Ofast. Spot on, Dominique! -Ofast triggers "-fstack-arrays", which does exactly what I need. -- Alberto