I installed 17.4 version(64 bit) of PGI Compiler and mpich(ver. 3.2) on my Linux system.
I had to build ESMF coupling application on my system.
And, I didn’t have a problem on making ESMF library and ESMF coupling application when I tried with version 6.3.0rp1 of ESMF.
But, when I tried it with version 7.0.1 of ESMF, which is the recently version of ESMF, I had a problem.
Although I didn’t have a problem on making ESMF library, I had a problem on building & compiling application using ESMF library.
The error message is shown below.
[kesti@couple AtmOcn7]$ make
mpif90 -c -g -fpic -lpthread -I/home/kesti/ESMF/SRC/7.0.1/mod/modg/Linux.pgi.64.mpich3.default -I/home/kesti/ESMF/SRC/7.0.1/src/include -I/opt/compiler/pgi/linux86-64/10.1/APPLIC1/NETCDF4/4.1.3/include -DESMF_NO_INTEGER_1_BYTE -DESMF_NO_INTEGER_2_BYTE -DESMF_LAPACK=1 -DESMF_MOAB=1 -DESMF_NO_ACC_SOFTWARE_STACK=1 -DESMF_NETCDF=1 -DESMF_PIO=1 -DESMF_MPIIO -DESMF_NO_OPENMP -DESMF_NO_OPENACC -DSx86_64_small=1 -DESMF_OS_Linux=1 -DESMF_PGIVERSION_MAJOR=17 -DESMF_PGIVERSION_MINOR=4 -DESMF_PGIVERSION_PATCH=0 -I/home/kesti/WRF/WRFV3-ESMF/frame -I/home/kesti/WRF/WRFV3-ESMF/external/io_esmf -I/home/kesti/WRF/WRFV3-ESMF/share -I/home/kesti/WRF/WRFV3-ESMF/inc -I/home/kesti/WRF/WRFV3-ESMF/main -I/home/kesti/WRF/WRFV3-ESMF/test -I./includes -I/home/kesti/WRF/WRFV3-ESMF/external/io_netcdf -I/home/kesti/WRF/WRFV3-ESMF/external/io_int -I/home/kesti/WRF/WRFV3-ESMF/phys atm.F90
PGF90-S-0000-Internal compiler error. import: module esmf_f90interfacemod (2146,base=2147) member symbol this (offset=3): not found! 0 (atm.F90: 32)
PGF90-F-0000-Internal compiler error. interf:new_symbol, symbol not found 1974 (atm.F90: 32)
PGF90/x86-64 Linux 17.4-0: compilation aborted
make: *** [atm.o] Error 2
This message said the "Internal compiler error’ with error code ‘0000’
I guess, this error is originated from the “Symbol table” matching between “Fortran” codes and “C++” codes using esmf_f90interfacemod.
But, I haven’t seen this message ever, so I don’t know how I can deal with this error.
Could you tell me how can I deal with this issue, in detail?