 He taught at Pennsylvania State University before joining Purdue University in 1988.While at Purdue University, Elmagarmid founded two successful organizations with funding from the Lilly Endowment and the State of Indiana