aboutsummaryrefslogtreecommitdiff
path: root/example_packages/link_executable/app/main.f90
diff options
context:
space:
mode:
Diffstat (limited to 'example_packages/link_executable/app/main.f90')
-rw-r--r--example_packages/link_executable/app/main.f9011
1 files changed, 11 insertions, 0 deletions
diff --git a/example_packages/link_executable/app/main.f90 b/example_packages/link_executable/app/main.f90
new file mode 100644
index 0000000..b1df402
--- /dev/null
+++ b/example_packages/link_executable/app/main.f90
@@ -0,0 +1,11 @@
+program gomp_example
+ implicit none
+
+ interface
+ integer function omp_get_num_procs()
+ end function
+ end interface
+
+ print *, omp_get_num_procs()
+
+end program gomp_example