send&recv,collective function errors corrected