Main menu

Navigation

Porting CESM 1.2.0 to local cluster - LINUX - Intel or PGI12.5

2 posts / 0 new
Last post
divy@...
Porting CESM 1.2.0 to local cluster - LINUX - Intel or PGI12.5

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! 

Diane

Macros:

#
# 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 -DCPRIFORT

SLIBS+=$(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.6

NETCDF_PATH:=$(NETCDF)

PNETCDF_PATH:=

SUPPORTS_CXX:=FALSE

The 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 directory

gmake: *** [libgptl.a] Error 1

divy@...

I think I solved it by adding to the mpi compiler variables to the Macros file. 

MPICC:= mpicc 

MPICXX:= mpicxx 

MPIFC:= mpif90

Log in or register to post comments

Who's new

  • lwheele@...
  • afroberts@...
  • richard.allard@...
  • tracy@...
  • 498749303@...