An optical interconnect has a plurality of optical data sources, a plurality of optical data receivers, a diffractive optical element configured to diffract an optical beam from at least one alignment optical source to at least one sensor, and an aligning element configured to align optical beams from the optical data sources to said optical data receivers, according to readings from the sensor.