I run a simulation in parallel in Stata
parallel initialize 10, f
parallel sim, reps(100) do_test
save results, replace
where do_test is simple program performing statistical tests.
I sometimes get 180, 190 iterations instead of 100, which are saved in results.dta file.
Do you have any idea why this would happen?
I run my code on cluster
#SBATCH --ntasks 2
#SBATCH --cpus-per-task 8
parallel initialize 10, f
parallel sim, reps(100) do_test
save results, replace
where do_test is simple program performing statistical tests.
I sometimes get 180, 190 iterations instead of 100, which are saved in results.dta file.
Do you have any idea why this would happen?
I run my code on cluster
#SBATCH --ntasks 2
#SBATCH --cpus-per-task 8