Forgive me if this is an easy one but I am a scientist and not much of a programming expert.
I have written some programs that I am running using a Batch file - I have 100+ versions of a similar program in different Folders. (Specifically this is Computational biology and each of These is an Independent cell Simulation).
I decided to do this with a simple command:
@echo off
for /D %%a in ("%cd%\cells\cell_*.*") do cd "%%a\sim1\" & START neuron sim.hoc
The idea I had was to navigate to each Directory and launch the program. This works with less than 32 different programs. Since this is automatically generated Code, I want to scale this arbitrarily, my current Project has 105 different simulations.
When more than 32 are opened, Windows gives me a "console device allocation failure: too many consoles" error (I can't read the specifics before the Windows are closed) and only a small fraction of my programs get executed.
Can someone help me find a way around this? I want to Keep it simple and avoid dealing with "proper" parallelism, since this way doesn't take too Long to run. On the flipside, having to manually only run Batches of 32 is time consuming and frustrating.
I am using Win10 64-bit with 16GB of RAM, if relevant.