Skip to content

Commit

Permalink
set unlimited stack size in ldas_setup (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmao-rreichle committed Jan 19, 2023
2 parents 1bb45c4 + 3184fbf commit 62e7c57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Applications/LDAS_App/ldas_setup
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import shutil
import argparse
import fileinput
import time
import resource
import subprocess as sp
import shlex
from dateutil import rrule
Expand Down Expand Up @@ -1708,6 +1709,7 @@ def parseCmdLine():

if __name__=='__main__':

resource.setrlimit(resource.RLIMIT_STACK, (resource.RLIM_INFINITY, resource.RLIM_INFINITY))
#print "reading params...."
args = vars(parseCmdLine()) # vars converts to dict
ld = LDASsetup(args)
Expand Down

0 comments on commit 62e7c57

Please sign in to comment.