User Tools

Site Tools


Site Tools

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