Error in running the test case of SMOKE4.7

Hello, every one. I am new to SMOKE and try to use the version of 4.7.
I think I have finished compiling the source code as followed:

netcdf-c 4.7.3
netcdf-fortran 4.5.2
ioapi 3.2
and also smoke source code

and I try to run the test case
but bump into some error in this log file “smkmerge.area.nctox.20050710.us12-nc.log”
the error message is as followed:

 *** ERROR ABORT in subroutine MRGVNAMS
 ERROR: Variable descriptions do not contain proper separator in spec matrix.

so I try to track the fortran code from “mrgvnams.f” to “openmrgin.f”
and I notice this variable “VDESCS” or “VDESCSET” are always empty
Is this normal?

and this part in openmrgin.f
"
DO I = 1, NDESC

            IF( LFSET ) THEN  ! From FileSetAPI
                DESCS( I ) = TRIM( VDESCSET( J ) )
            ELSE              ! From standard I/O API
                DESCS( I ) = TRIM( VDESC3D( J ) )
            END IF

            J = J + INCRMT

        END DO

"
and I notice that actually I don’t compile “FileSetAPI”
is it important?
thank you very much

btw, I am not sure is this important?

–disable-netcdf4 --disable-dap
when compiling netcdf

reference:
https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#ncf4

–disable-netcdf4 --disable-dap should not be important, except that they mean that your Makefiles must reference a number of additional libraries (starting with HDF5), and that these libraries also must be available. Depending upon how netCDF and HDF are configured, the resulting changes to the Makefiles may be quite complex :frowning:

The SMOKE/IOAPI system should continue to work correctly either way…

Thank you for your reply.
Before compiling netCDF, I successfully compiled szip2.1.1, zlib1.2.11, hdf5-1.10.6, and I think the netCDF supports hdf5 format. Actually I think all library needed for running smoke is correctly installed, otherwise I won’t run any script and fortran file.

Using this script ‘smk_area_nctox.csh’ as example, the error message appeared after finishing RUN_SMKINVEN, RUN_SPCMAT and RUN_GRDMAT successfully. the step of RUN_TEMPORAL seems to go right, but RUN_SMKMERGE happens error as the following figure:

this error (smkmerge) also appears in the point and nonroad script.

beside above, “smkreport.point.temporal.nctox.2005191.log” this also appears some error:

btw, I forgot to mention the environment of my system:
CentOS release 6.10
Linux master 2.6.32-754.17.1.el6.x86_64 #1 SMP Tue Jul 2 12:42:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
and I am using pgi compiler (11.2-1 64-bit target on x86-64 Linux -tp nehalem)

Hi, do you fix it? I encountered this error before. I used serval programs from smk4.6(intel) combined with some from smk4.7(pgi) to finish the run and smkmerge output could be generated. But description and unit of output nc file is totally a mess. I suspect only using pgi complier will get this error.

I fix it by changing my compiler into ifort. (actually I don’t fix anything…)
this bug happened when I used pgi compiler
and I gave it up to deal with the issue…

1 Like