Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible issue of the function compile_pseudo_pop running on a Linux machine / Ubuntu 22.04.2 LTS #240

Open
andrepython opened this issue Feb 16, 2024 · 1 comment

Comments

@andrepython
Copy link

When running the function compile_pseudo_pop on my Linux server, it generates an error message 'Aborted (core dumped)'. However, the same code works on my Windows 10 machine. I am not sure what is the cause of the issue but I suspect that this occurs during the parallelization process (perhaps issue on the nthread argument / number of cores attributed?).

I use R 4.3.0, Platform: x86_64-pc-linux-gnu (64-bit), CausalGPS ‘0.4.1’, and Ubuntu 22.04.2 LTS. I have attached a zip file that contains files with more details about the specifications of my server (machine_info.txt), R code and output (Rcode_and_Routput.txt), and data input (ACLED_1_type.Rdata) here:

CausalGPS_issue.zip

Many thanks for your support!
Best wishes,
Andre

@andrepython
Copy link
Author

I have just found that if I decrease the number of DT threads as follows: data.table::setDTthreads(percent=30) before running the function compile_pseudo_pop, it seems to solve the issue. But percentages higher than 45% seems to lead to the issue previously reported. Perhaps one should further investigate how the function compile_pseudo_pop allocates cores for parallel processes on a Linux machine with particular specification such as mine (AMD Epyc 7713 dual core, 64 x 2 physical cores, 128 x 2 logical cores).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant