fortran 90 namelist and -mp option

Dear sirs
an error occur using pgf90 10.3-0 64-bit target on x86-64 Linux -tp gh-64
the code is a well known (;)fortran 90 MPI code
The error is in the linking step:

dfi_initialization.o: In function .STATICS2': dfi_initialization.f90:(.data+0x648): undefined reference to .V2_3313’
dfi_initialization.f90:(.data+0x678): undefined reference to .V2_3314' dfi_initialization.f90:(.data+0x6a8): undefined reference to .V2_3307’
dfi_initialization.f90:(.data+0x6d8): undefined reference to .V2_3309' dfi_initialization.f90:(.data+0x708): undefined reference to .V2_3310’
dfi_initialization.f90:(.data+0x738): undefined reference to `.V2_3308’
make: *** [parexe] Error 2

some preliminary test shows that the namelist could be the reason.
using other compilers and compiling without -mp option fix the problem


Hi Piero,

Thank you for the report. This is a known issue with COSMO that unfortunately has yet to be fixed. I’ve increased it’s priority and hopefully we can have in fixed in the near future.

  • Mat

Thank’s yes this is COSMO code
some simple workaround? how to fix in the meanwhile?