Hello,
I am trying to build sitecmp.exe (in /AMET_v14/tools_src/sitecmp). Here is what I did:
- I change the FC flag in Makefile to pgf90 (as I am using pgi compiler) and IOAPI/NETCDF libraries path as my systems path (attached Makefile Makefile.txt (2.7 KB) ).
Modified path:
EXEC = sitecmp_v53.exe
FC = pgf90
CC = cc
IOAPI_INC = /root/Documents/softwares/ioapi3.2_install/ioapi-3.2-20200828/ioapi/fixed_src
IOAPI_LIB = /root/Documents/softwares/ioapi3.2_install/ioapi-3.2-20200828/Linux3
NETCDF_LIB = /usr/local/netcdf-4.7.4/lib
include_path = -I (IOAPI_LIB) \
-I (IOAPI_INC)
-I /usr/local/netcdf-4.7.4/include
-I /usr/local/netcdf-4.7.4/include
Here is the original path:
EXEC = sitecmp_v53.exe
FC = mpiifort
CC = cc
LIB = /home/kappel/CMAQ_Code/PROJECTS/CMAQv53r3/lib/x86_64/intel18.0
include_path = -I (LIB)/ioapi/lib \
-I (LIB)/ioapi/include_files
-I (LIB)/netcdf/include \
-I (LIB)/netcdff/include
Then I ran âmakeâ which gives me following error:
[root@adeq src]# make
pgf90 -c -fixed -132 -O3 -fno-alias -mp1 -fp-model source -ftz -simd -align all -xHost -vec-guard-write -unroll-aggressive -I /root/Documents/softwares/ioapi3.2_install/ioapi-3.2-20200828/Linux3 -I /root/Documents/softwares/ioapi3.2_install/ioapi-3.2-20200828/ioapi/fixed_src -I /usr/local/netcdf-4.7.4/include -I /usr/local/netcdf-4.7.4/include module_envvar.F
pgf90-Error-Unknown switch: -fixed
pgf90-Error-Unknown switch: -132
pgf90-Error-Unknown switch: -fno-alias
pgf90-Error-Unknown switch: -mp1
pgf90-Error-Unknown switch: -fp-model
pgf90-Error-Unknown switch: -ftz
pgf90-Error-Unknown switch: -simd
pgf90-Error-Unknown switch: -align
pgf90-Error-Unknown switch: -xHost
pgf90-Error-Unknown switch: -vec-guard-write
make: *** [module_envvar.o] Error 1
Please help