In LAPACK 3.70 there is a new file iparam2stage.f that contains C-style pre-processing lines. I can compile this file perfectly OK from the command line using FTN95 iparam2stage.f /CFPP, but I cannot get it to work from within Plato. I have set up a project and have the pre-processing switched on, but I still get an error message. The problem occurs at line 155:
#if defined(_OPENMP)
use omp_lib
#endif
If I switch on the preprocessor I get the following error messages:
iparam2stage.F(155) : error 32 - Statement not recognised
iparam2stage.F(156) : error 404 - Cannot find definition for MODULE OMP_LIB
If I switch off the preprocessor I get the following (which are exactly the same messages I get from the command line without using /CFPP):
iparam2stage.F(155) : error 66 - Invalid characters in label field of FIXED format source
iparam2stage.F(155) : error 32 - Statement not recognised
iparam2stage.F(156) : error 404 - Cannot find definition for MODULE OMP_LIB
Does anybody have any idea how to solve this problem? I don't define _OPENMP so the complaint about line 156 is occurring simply because the conditional compilation line is not being recognised properly.
... And on a related topic. If I try to compile the other files in LAPACK using Release x64 I get an error message indicating that LIB or DLL are invalid target extensions for x64. Any suggestions?