Hi everybody
I tried to compile create_omi on my laptop (Ubuntu 16.04 x64) but I got the following error message:
/home/hdong/CMAQv5.3/lib/x86_64/gcc/ioapi/lib/libioapi.a(m3msg2.o): In function m3msg2_ ': m3msg2.F :(. text + 0x1e): undefined reference to GOMP_critical_name_start ’
Although I have successfully compiled and run other programs such as icon, bcon, mcip, jproc.
Specific of this error in the attached file.
Please show me another way to fix this error.
I appreciate the help of everyone. build_create_omi.txt (7.0 KB) make.log.txt (14.6 KB)
Thanks a lot.
I added -fopenmp to FSTD and F_FLAGS, when the compilation still got the same error but when your suggestion was successful, the compilation was successful.
This is a Fortran syntax error in module_utilities.f (that evidently some compilers/compiler-versions let you get away with):
Every SUBROUTINE statement in a MODULE must be matched by an END SUBROUTINE, not just an END.
In particular, SUBROUTINE GET_OMI_LISTSIZE at line 8 needs an END SUBROUTINE at line 37, not just an END.