Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Parallel sim

    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

    Last edited by Teresa Sawicka; 03 Jun 2024, 07:02.
Working...
X