program hello !$ use OMP_LIB implicit none !$OMP PARALLEL print *, "Hello World ! " !$OMP END PARALLEL end program hello
#include<stdio.h> #include<omp.h> int main(int argc, char** argv) { #pragma omp parallel { printf("Hello World\n"); } return 0; }