mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
				synced 2025-10-31 17:22:47 +00:00 
			
		
		
		
	Add memMB and core restrictions.
This commit is contained in:
		
							
								
								
									
										4
									
								
								nlp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nlp
									
									
									
									
									
								
							| @@ -78,7 +78,7 @@ class NLPWorkflow(WorkflowRunner): | ||||
|                 os.path.join(job["output_dir"], os.path.basename(job["path"]).rsplit(".", 1)[0] + ".vrt"), | ||||
|                 self.lang | ||||
|             ) | ||||
|             nlp_jobs.append(self.addTask(label="nlp_job_-_%i" % (nlp_job_number), command=cmd, dependencies=mkdir_jobs)) | ||||
|             nlp_jobs.append(self.addTask(label="nlp_job_-_%i" % (nlp_job_number), command=cmd, dependencies=mkdir_jobs, nCores=min(4, self.nCores), memMb=16384)) | ||||
|  | ||||
|  | ||||
| def analyze_jobs(inputDir, outputDir, level=1): | ||||
| @@ -114,4 +114,4 @@ def main(): | ||||
|  | ||||
|  | ||||
| if __name__ == "__main__": | ||||
|     main() | ||||
|     main() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user