Hello everyone
I am trying to compile smokev4.7 on linux platform (ubuntu 16.04 x64) following the instructions at https://www.cmascenter.org/smoke/documentation/4.7/html/ch12.html.
When I execute make command, I get an error message like below (I’m not good at programming) and I don’t understand what happened.
Help me solve this problem.
I appreciate everyone’s help.
cd /home/hdong/SMOKEv4.7/subsys/smoke/src/../Linux2_x86_64gfort; gfortran -I/home/hdong/SMOKEv4.7/subsys/ioapi/ioapi/fixed_src -I/home/hdong/SMOKEv4.7/subsys/smoke/src/inc -I/home/hdong/SMOKEv4.7/subsys/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -c /home/hdong/SMOKEv4.7/subsys/smoke/src/biog/normbeis361.f
/home/hdong/SMOKEv4.7/subsys/smoke/src/biog/normbeis361.f:163:22:
INTEGER :: IS_AG, IS_TAG
1
Error: Return type mismatch of function ‘is_ag’ at (1) (INTEGER(4)/LOGICAL(4))
/home/hdong/SMOKEv4.7/subsys/smoke/src/biog/normbeis361.f:693:36:
IF (IS_AG( M, MODIS12 , MODIS14, NLCD81,
1
Error: IF clause at (1) requires a scalar LOGICAL expression
/home/hdong/SMOKEv4.7/subsys/smoke/src/biog/normbeis361.f:163:30: Error: Return type mismatch of function ‘is_tag’ at (1) (INTEGER(4)/LOGICAL(4))
/home/hdong/SMOKEv4.7/subsys/smoke/src/biog/normbeis361.f:719:40:
IF( IS_TAG (M,MODIS14) ) THEN
1
Error: IF clause at (1) requires a scalar LOGICAL expression
Makefile:348: recipe for target 'normbeis361.o' failed
make: *** [normbeis361.o] Error 1