Hello All,
I am trying to compile CRTM- 2.3.0 with “GCC- 6.3.0 compiler” and I am getting very strange error, it is giving error in this file “CRTM_CloudCover_Define.f90”
As I am able to compile successfully with intel compiler but unable to compile with GCC.
I am using this source code for compiling.
please find the attached link for your reference. “
Index of /jcsda/CRTM/CRTM_Latest_Release ”
Please find the error msg and log file for your reference.
Kindly help me to fix this issue , I will be very thankful to you all.
raj@master~/software/crtm/REL-2.3.0> make
cd libsrc && make all
make[1]: Entering directory ‘/home/raj/software/crtm/REL-2.3.0/libsrc’
gfortran -O3 -fimplicit-none -ffree-form -fno-second-underscore -frecord-marker=4 -funroll-loops -ggdb -Wall -Wconversion -std=f2008 -c CRTM_Aerosol_Define.f90
gfortran -O3 -fimplicit-none -ffree-form -fno-second-underscore -frecord-marker=4 -funroll-loops -ggdb -Wall -Wconversion -std=f2008 -c CRTM_Cloud_Define.f90
gfortran -O3 -fimplicit-none -ffree-form -fno-second-underscore -frecord-marker=4 -funroll-loops -ggdb -Wall -Wconversion -std=f2008 -c CRTM_Parameters.f90
gfortran -O3 -fimplicit-none -ffree-form -fno-second-underscore -frecord-marker=4 -funroll-loops -ggdb -Wall -Wconversion -std=f2008 -c CRTM_Atmosphere_Define.f90
gfortran -O3 -fimplicit-none -ffree-form -fno-second-underscore -frecord-marker=4 -funroll-loops -ggdb -Wall -Wconversion -std=f2008 -c CRTM_CloudCover_Define.f90
CRTM_CloudCover_Define.f90:1423:8:
self , &
1
Error: INTENT(OUT) argument ‘self’ of pure procedure ‘create’ at (1) may not be polymorphic
CRTM_CloudCover_Define.f90:1355:36:
ELEMENTAL SUBROUTINE Destroy( self )
1
Error: INTENT(OUT) argument ‘self’ of pure procedure ‘destroy’ at (1) may not be polymorphic
CRTM_CloudCover_Define.f90:1478:8:
self , &
1
Error: INTENT(OUT) argument ‘self’ of pure procedure ‘ivar_create’ at (1) may not be polymorphic
CRTM_CloudCover_Define.f90:1360:41:
ELEMENTAL SUBROUTINE iVar_Destroy( self )
1
Error: INTENT(OUT) argument ‘self’ of pure procedure ‘ivar_destroy’ at (1) may not be polymorphic
make.rules:14: recipe for target ‘CRTM_CloudCover_Define.o’ failed
make[1]: *** [CRTM_CloudCover_Define.o] Error 1
make[1]: Leaving directory ‘/home/raj/software/crtm/REL-2.3.0/libsrc’
Makefile:17: recipe for target ‘all’ failed
make: *** [all] Error 2