bcgsc / goldrush

Linear-time de novo Long Read Assembler
GNU General Public License v3.0
35 stars 2 forks source link

Set ulimit to max using a bash script #107

Closed jwcodee closed 1 year ago

jwcodee commented 1 year ago

GoldRush-Edit creates a lot of process, sometimes more than the default maximum number a user can create. This PR adds a script that is called before GoldRush-Edit that increases the maximum number of processes to the maximum of the system.

The script was first tested by using a conda environment of GoldRush 1.0.2 with ulimit -Su 100. Once I observed that it failed during the GoldRush-Edit, I compiled the code on this branch and ran it on the same directory. GoldRush-Edit completed with no problem.