blob: 5585ef21a6cc911d8c17d1752cb47fb4e2017f8d [file] [log] [blame]
<ompts:testdescription>Testing if the conditional compilation is supported or not.
Yi Wen at 05032004: Do we want to write two versions of has_omp? both C23456789
and #ifdef formats are supposed to work. At least Sun's compiler cannot deal with
the second format (#ifdef)</ompts:testdescription>
INTEGER FUNCTION <ompts:testcode:functionname>has_openmp</ompts:testcode:functionname>()
<testfunctionname></testfunctionname> = 0
!version 1.
!$ <testfunctionname></testfunctionname> = 1
! version 2.
!#ifdef _OPENMP
<testfunctionname></testfunctionname> = 1