divy@mit_edu
New Member
Hi,I'm trying to port CESM to our local cluster. I have successfully built a case (./create_newcase -case test5 -res f45_g37 -compset X -mach userdefined)and am using the -mach userdefined. I've tried it with the compilers: Intel-11.1.072 and PGI12.5 and get the same errors.Thanks! DianeMacros:#
# Makefile Macros generated from /home/divy/cesm1_2_0/scripts/ccsm_utils/Machines/config_compilers.xml using
# COMPILER=ifort
# OS=LINUX
# MACH=userdefined
#
CPPDEFS+= -DLINUX -DCPRIFORTSLIBS+=$(shell $(NETCDF_PATH)/bin/nc-config --flibs)CONFIG_ARGS:=ESMF_LIBDIR:=MPI_LIB_NAME:=$(LIB_MPI)MPI_PATH:=/home/software/pgi/pgi-12.5/pkg/openmpi/openmpi-1.6NETCDF_PATH:=$(NETCDF)PNETCDF_PATH:=SUPPORTS_CXX:=FALSEThe mct builds okay but then I get these errors. I'm guessing I need to fix a compiler variable or add some flags in the Macros file - but google hasn't shown me anything:Copying source to CESM EXEROOT...
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/gptl.c
gmake: c: Command not found
gmake: [gptl.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/GPTLutil.c
gmake: c: Command not found
gmake: [GPTLutil.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/GPTLget_memusage.c
gmake: c: Command not found
gmake: [GPTLget_memusage.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/GPTLprint_memusage.c
gmake: c: Command not found
gmake: [GPTLprint_memusage.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/gptl_papi.c
gmake: c: Command not found
gmake: [gptl_papi.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/f_wrappers.c
gmake: c: Command not found
gmake: [f_wrappers.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/perf_utils.F90
gmake: c: Command not found
gmake: [perf_utils.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/perf_mod.F90
gmake: c: Command not found
gmake: [perf_mod.o] Error 127 (ignored)
ar ruv libgptl.a gptl.o GPTLutil.o GPTLget_memusage.o GPTLprint_memusage.o gptl_papi.o f_wrappers.o perf_mod.o perf_utils.o
ar: creating libgptl.a
ar: gptl.o: No such file or directorygmake: *** [libgptl.a] Error 1
# Makefile Macros generated from /home/divy/cesm1_2_0/scripts/ccsm_utils/Machines/config_compilers.xml using
# COMPILER=ifort
# OS=LINUX
# MACH=userdefined
#
CPPDEFS+= -DLINUX -DCPRIFORTSLIBS+=$(shell $(NETCDF_PATH)/bin/nc-config --flibs)CONFIG_ARGS:=ESMF_LIBDIR:=MPI_LIB_NAME:=$(LIB_MPI)MPI_PATH:=/home/software/pgi/pgi-12.5/pkg/openmpi/openmpi-1.6NETCDF_PATH:=$(NETCDF)PNETCDF_PATH:=SUPPORTS_CXX:=FALSEThe mct builds okay but then I get these errors. I'm guessing I need to fix a compiler variable or add some flags in the Macros file - but google hasn't shown me anything:Copying source to CESM EXEROOT...
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/gptl.c
gmake: c: Command not found
gmake: [gptl.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/GPTLutil.c
gmake: c: Command not found
gmake: [GPTLutil.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/GPTLget_memusage.c
gmake: c: Command not found
gmake: [GPTLget_memusage.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/GPTLprint_memusage.c
gmake: c: Command not found
gmake: [GPTLprint_memusage.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/gptl_papi.c
gmake: c: Command not found
gmake: [gptl_papi.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/f_wrappers.c
gmake: c: Command not found
gmake: [f_wrappers.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/perf_utils.F90
gmake: c: Command not found
gmake: [perf_utils.o] Error 127 (ignored)
c -DLINUX -DCPRIFORT -DHAVE_MPI /home/divy/cesm1_2_0/models/utils/timing/perf_mod.F90
gmake: c: Command not found
gmake: [perf_mod.o] Error 127 (ignored)
ar ruv libgptl.a gptl.o GPTLutil.o GPTLget_memusage.o GPTLprint_memusage.o gptl_papi.o f_wrappers.o perf_mod.o perf_utils.o
ar: creating libgptl.a
ar: gptl.o: No such file or directorygmake: *** [libgptl.a] Error 1