laerror do nto list files by default
This commit is contained in:
		
							parent
							
								
									8f037f7ccf
								
							
						
					
					
						commit
						78c0e4edc5
					
				@ -39,6 +39,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace LA {
 | 
					namespace LA {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					bool LA_error_list_files=false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//enforce GPU initialization by a global class instantization constructor
 | 
					//enforce GPU initialization by a global class instantization constructor
 | 
				
			||||||
#ifdef CUDALA
 | 
					#ifdef CUDALA
 | 
				
			||||||
GPU_START gpu_start_instant;
 | 
					GPU_START gpu_start_instant;
 | 
				
			||||||
@ -140,7 +142,8 @@ if(f)
 | 
				
			|||||||
  	std::cerr.flush();
 | 
					  	std::cerr.flush();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int r=system("echo INFO:; whoami; hostname; pwd; ls -l -t .;");
 | 
					int r=system("echo INFO:; whoami; hostname; pwd;");
 | 
				
			||||||
 | 
					if(LA_error_list_files) r=system("ls -l -t .;");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
throw LAerror(s1); 
 | 
					throw LAerror(s1); 
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user