UCFD_SPARSE  v1.0
Documentation
Loading...
Searching...
No Matches
omp3d.py File Reference

Go to the source code of this file.

Namespaces

namespace  omp3d
 

Functions

def omp3d.run (params, comm, lib)
 
def omp3d.write_output (nprocs, params, times)
 

Variables

 omp3d.comm = MPI.COMM_WORLD
 
 omp3d.rank = comm.Get_rank()
 
 omp3d.nproc = comm.Get_size()
 
int omp3d.err = 1
 
 omp3d.inputname = sys.argv[1]
 
 omp3d.params = read_input(inputname)
 
 omp3d.dm = params[3]
 
 omp3d.dn = params[4]
 
 omp3d.dl = params[5]
 
 omp3d.nthreads = eval(sys.argv[3].split('=')[-1])
 
 omp3d.lib = CDLL(sys.argv[2])
 
def omp3d.avtimei = run(params, comm, lib)
 
 omp3d.tbuf = comm.gather(avtimei)