remove unused imports
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
import numpy as np
|
||||
|
||||
def reduce_Born(Cf):
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys
|
||||
import numpy as np
|
||||
|
||||
def reduce_Born(Cf):
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
# -nsteps 5
|
||||
# number of timesteps, default = 5
|
||||
|
||||
import sys,math,random
|
||||
import sys
|
||||
import mdi
|
||||
import numpy as np
|
||||
from mpi4py import MPI
|
||||
@ -42,10 +42,9 @@ def error(txt=None):
|
||||
def perform_aimd(world,mm_comm,qm_comm):
|
||||
|
||||
me = world.Get_rank()
|
||||
nprocs = world.Get_size()
|
||||
|
||||
# receive number of atoms from the MM engine
|
||||
|
||||
|
||||
mdi.MDI_Send_command("<NATOMS",mm_comm)
|
||||
natoms = mdi.MDI_Recv(1,mdi.MDI_INT,mm_comm)
|
||||
natoms = world.bcast(natoms,root=0)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import hashlib,os,subprocess,sys
|
||||
import hashlib,os,subprocess
|
||||
|
||||
# try to auto-detect the maximum number of available CPUs
|
||||
def get_cpus():
|
||||
|
||||
Reference in New Issue
Block a user