Skip to content

Update parameters passed to Plink#15

Open
jhchung wants to merge 4 commits into
getian107:masterfrom
jhchung:master
Open

Update parameters passed to Plink#15
jhchung wants to merge 4 commits into
getian107:masterfrom
jhchung:master

Conversation

@jhchung

@jhchung jhchung commented Oct 7, 2024

Copy link
Copy Markdown

Update parameters passed to Plink

The current implementation of calling Plink to calculate LD does not allow for changing the number of threads or memory used by Plink. This can lead to problems when running on high performance computing (HPC) clusters which require limits on the memory and cores used by a particular job.

This pull request updates the Plink LD calculations by:

Pass number of threads available to SuSiEx
Add plink_mem parameter to limit memory used by Plink.

Add `plink_mem` long and short options to main.cpp
Pass additional parameters to Plink

* Number of threads limited to those available to SuSiEx
* Memory limits
Add plink_mem to data.hpp

Implement `plink_mem` option and provide default value of 5000MB.
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

Successfully merging this pull request may close these issues.

1 participant