Hi,
I have question regarding optimizing the multiple processor features in Stata/MP (13.1). I have access to a high speed shared computing facility at work and can connect to a node which has 64 GB RAM and 12 CPU cores. Using Stata/MP I have run a series of generalised SEM using gsem. I found the models ran at the same speed on my laptop (8 GB single core laptop running Stata/IC 14) as they did on the multi-core system. I continue to use the multi-core system because it is convenient, however my current model has been running for 8 days so far so I am exploring alternatives. My question is, am I doing something wrong which is leading to the models running at the same speed on the multi-core and single core machines?
From what I have read, the multi-core features work automatically - i.e. I don't need to ask Stata to use more cores. I understand Stata/MP can only run as fast as the mathematical processes will allow and therefore doesn't speed up all opreations. I don't however have the statistical background to understand whether my model should be running faster than the 'lower bound (no improvement)' as it says on the Stata website.
The data is unbalanced panel data held in 'long' format with 78,000 observations of 13,000 people. The first two lines of code estimate a continuous outcome variable, while the last four lines estimate binary outcomes. The code is as follows:
Thank you,
David Bayliss
I have question regarding optimizing the multiple processor features in Stata/MP (13.1). I have access to a high speed shared computing facility at work and can connect to a node which has 64 GB RAM and 12 CPU cores. Using Stata/MP I have run a series of generalised SEM using gsem. I found the models ran at the same speed on my laptop (8 GB single core laptop running Stata/IC 14) as they did on the multi-core system. I continue to use the multi-core system because it is convenient, however my current model has been running for 8 days so far so I am exploring alternatives. My question is, am I doing something wrong which is leading to the models running at the same speed on the multi-core and single core machines?
From what I have read, the multi-core features work automatically - i.e. I don't need to ask Stata to use more cores. I understand Stata/MP can only run as fast as the mathematical processes will allow and therefore doesn't speed up all opreations. I don't however have the statistical background to understand whether my model should be running faster than the 'lower bound (no improvement)' as it says on the Stata website.
The data is unbalanced panel data held in 'long' format with 78,000 observations of 13,000 people. The first two lines of code estimate a continuous outcome variable, while the last four lines estimate binary outcomes. The code is as follows:
Code:
gsem(m_y1 <- x0 x1 x2 i.x3 1.x4 1.x4#c.x1 1.x4#i.x3 i.x5 i.x6 i.x7 1.x8 i.x9 1.x10 i.x11 U1[pid]) /// (t_y1 <- i.x5 i.x6 i.x7 1.x8 i.x9 1.x10 i.x11 U1[pid]) /// (2.m_y2 <- 1.i.x5 i.x6 i.x7 1.x8 i.x9 1.x10 i.x11 x12 x13 x14 1.x15 x16 x17 1.x18 x19 x20 1.x21 x22 x23 1.x24 x25 x26 1.x27 x28 x29 U2[pid]) /// (3.m_y2 <- 1.i.x5 i.x6 i.x7 1.x8 i.x9 1.x10 i.x11 x12 x13 x14 1.x15 x16 x17 1.x18 x19 x20 1.x21 x22 x23 1.x24 x25 x26 1.x27 x28 x29 U3[pid]) /// (2.t_y2 <- i.x5 i.x6 i.x7 1.x8 i.x9 1.x10 i.x11 U2[pid]) /// (3.t_y2 <- i.x5 i.x6 i.x7 1.x8 i.x9 1.x10 i.x11 U3[pid]) if sex==1, nocons
David Bayliss
Comment