Closed ojreuter closed 2 months ago
Have you tried it without manually specifying the statapath()
in parallel initialize
? If that doesn't work, could you report the full value of c(sysdir_stata)
?
Thanks for your reply! I have tried it without specifying statapath and I receive the error below.
parallel initialize 4
N Child processes: 4
Can not set Stata directory, try using -statapath()- option
r(601);
I can force it to select the directory, as below, but then I receive the same error referenced above. . parallel initialize 4, f N Child processes: 4 Stata dir: /Applications/Stata/Stata.app/Contents/MacOS/stata
Here is c(sysdir_stata) display c(sysdir_stata) /Applications/Stata/
Get the same error when I use that abbeviated file path in parallel initialize.
Thanks again for your help!
Looks like you have an old lparallel.mlib
, maybe from SSC. Try to completely remove all versions and reinstall. You can use which lparallel.mlib
to see what it's reference.
Thanks, I uninstalled everything, using both -ado uninstall- and manually in the folders (for whatever reason, ado uininstall does not uninstall all the parallel package components). Unfortunately, I get the same error. I tried both the stable version and the latest release version from github (fully uninstalling each after each failure). Interestingly, I do NOT get the error when I install and use the SSC version, but it freezes and never completes the task (even the simple one from the help file above) Thanks for your help again, but I may need to stick with R for this.
Sorry, yeah, Stata can get confused when you install from multiple sources and then won't uninstall everything. Also with windows, you might need to restart to clear dlls from memory.
Preliminaries
Before submitting an issue, please check (with
x
in brackets) that you:Expected behavior and actual behavior
No parallel commands work, including those using system data in the help file. Am wondering if parallel is incompatible with my system.
Steps to reproduce the problem
Here is all the code from install to command:
This same error is returned for all commands, bootstraps or simulations I try in the parallel environment.
System information
Output from
creturn list
:. creturn list
System values
Directories and paths
System limits
Numerical and string limits
Current dataset
Memory settings
Output settings
Interface settings
Graphics settings
Network settings
Update settings
Trace (program debugging) settings
Mata settings
Java settings
LAPACK settings
putdocx settings
putpdf settings
Python settings
RNG settings
sort settings
Unicode settings
Other settings
Other system values