{"push_id":766700936,"size":1,"distinct_size":1,"ref":"refs/heads/wrapper_improvements","head":"7e62a9d8153868faca89d167c0cdbdd68b423007","before":"589fc59873dcc95c5ca359755031a47fa172149d","commits":[{"sha":"7e62a9d8153868faca89d167c0cdbdd68b423007","author":{"email":"836ad2bc440c79961a9847c81d154b03f425b875@lbl.gov","name":"swfrench"},"message":"Added deduplication of wrapped fortran MPI calls\n\nNow that we are calling the actual fortran PMPI bindings within the\nfortran wrappers (as opposed to converting to C-flavored args and\ncalling the C PMPI bindings), there is the possibility of\ndouble-counting wrapped fortran MPI calls. Namely, if a particular MPI\nimplementation calls the C MPI bindings (which are wrapped by IPM) from\nwithin the fortran PMPI bindings, then we end up intercepting the call\ntwice. This has been observed in both MPICH and OpenMPI.\n\nAs a first-cut solution, I've now added a flag that indicates whether we\nare within a fortran PMPI call (set / unset within the fortran wrapper),\nwhich can in turn be used to selectively call into the IPM_\ninstrumentation routine within the C wrapper.","distinct":true,"url":"https://api.github.com/repos/nerscadmin/IPM/commits/7e62a9d8153868faca89d167c0cdbdd68b423007"}]}