同问题:https://blog.csdn.net/Theo93/article/details/106813986
输入:
make padcirc compiler=intel
出现错误:
makefile:49: (WARNING) Intel compiler has been specified. The flag "--heap-arrays 8192" should be set
makefile:50: (WARNING) in both ADCIRC cmplrflags.mk FFLAGS1 and when compiling the netcdf-fortran library
makefile:51: (WARNING) using FCFLAGS to avoid potential issues with stack allocation of large implicit arrays.
make BUILDTYPE=padcirc CC="icc" CFLAGS="-I . -I /home/theo/model/adcirc_v54.01/prep -O2 -xSSE4.2 -m64 -mcmodel=medium -DLINUX" padcirc
Intel compiler has been specified. The flag "--heap-arrays 8192" should be set in both ADCIRC cmplrflags.mk FFLAGS1 and when compiling the netcdf-fortran library using FCFLAGS to avoid potential issues with stack alloc