mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			214 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			214 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								import sys
							 | 
						||
| 
								 | 
							
								if sys.platform == 'linux2':
							 | 
						||
| 
								 | 
							
								    import DLFCN as dl
							 | 
						||
| 
								 | 
							
								    flags = sys.getdlopenflags()
							 | 
						||
| 
								 | 
							
								    sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
							 | 
						||
| 
								 | 
							
								    import mpi
							 | 
						||
| 
								 | 
							
								    sys.setdlopenflags(flags)
							 | 
						||
| 
								 | 
							
								else:
							 | 
						||
| 
								 | 
							
								    import mpi
							 | 
						||
| 
								 | 
							
								
							 |