Parallelizing Bioinformatics and Medical Imaging Applications: A Directive Based Approach