SMOKE compilation issues


#1

I got a number of errors on SMOKE4.5 compilation. My compiler is intel fortran compiler(Linux2_x86_64ifort). FFLAGS=-fixed -132 -O3 -override-limits -fno-alis . NetCDF-4.3.3 and IOAPI-3.1 are well installed. But I got an error while trying to make.

Error messages:

ar: modar2pt.o: No such file or diretory

make: *** [libemmod.a] Error 1

Here’s my Makeinclude file:

AR=ar

CC=icc

FC=ifort

#M4=m4

LINK=$(CC)

OMPFLAGS=-openmp

OMPLIBS=-openmp

ARCHFLAGS = \

-DAUTO_ARRAYS=1 \

-DF90=1 -DFLDMN=1 \

-DFSTR_L=int \

-DIOAPI_NO_STDOUT=1 \

-DAVOID_FLUSH=1 -DBIT32=1

Can anyone help solve the problem?


#2

Based on your error message, you are missing modar2pt module file located at …/src/emmod.

As long as you are running SMOKE on Linux OS, you do not need to compile SMOKE but use the precompiled executables you downloded as a package. Please go throught the SMOKE user’s guide Chapter 12:

https://www.cmascenter.org/smoke/documentation/4.6/html/ch12.html

If you can run any of program using the run scripts priveded with the package, you do not need to compile SMOKE.

BH