Compatibility of rodlike polymers