gchiodo@fis_ucm_es
Member
Hi everyone,
I have trouble compiling CAM3.1 at MareNostrum (Barcelona), which is a ppc64 AIX platform.
When I try to compile the model, the gmake issues the following errors:
mpcc_r -q64 -c -O3 -qstrict -qspill=3000 -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/src/include -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/build/rs6000_64 -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/include -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/src/Infrastructure/mpiuni -D__SDIR__='"src/Infrastructure/BasicUtil/"' /home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/src/Infrastructure/BasicUtil/ESMC_BasicUtil.c
gmake[7]: mpcc_r: Command not found
gmake[7]: *** [/gpfs/projects/bsc29/bsc29637/CAM/prueba_cam_mpi/bld/esmf/lib/libO/rs6000_64/libesmf.a(ESMC_BasicUtil.o)] Error 127
gmake[7]: Leaving directory `/gpfs/projects/bsc29/bsc29637/CAM/prueba_cam_mpi/bld/esmf/mod/modO/rs6000_64'
gmake[6]: *** [lib] Error 2
gmake[6]: Leaving directory `/gpfs/projects/bsc29/bsc29637/CAM/prueba_cam_mpi/bld/esmf/mod/modO/rs6000_64'
gmake[5]: *** [vpathlib] Error 2
I tried to specify the C-compiler in the Makefile, even the multi-threading C-compiler in the spmd=true line, but it doesn't work. Gmake is somehow still looking for the default AIX-compiler mpcc_r
from my makefile -->
CC := xlc_r
CPPDEF += -DAIX
ifeq ($(NESTED_OMP),TRUE)
CPPDEF += -DNESTED_PAR
endif
CFLAGS := $(cpp_path) -O2 $(CPPDEF) $(QCMP)
ifeq ($(SPMD),TRUE)
FC := mpif90
else
FC := mpif90
CC := mpicc
FFLAGS += -WF,-DHIDE_MPI
endif
Any ideas??
Thanks a lot
I have trouble compiling CAM3.1 at MareNostrum (Barcelona), which is a ppc64 AIX platform.
When I try to compile the model, the gmake issues the following errors:
mpcc_r -q64 -c -O3 -qstrict -qspill=3000 -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/src/include -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/build/rs6000_64 -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/include -I/home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/src/Infrastructure/mpiuni -D__SDIR__='"src/Infrastructure/BasicUtil/"' /home/bsc29/bsc29637/CAM/cam1/models/utils/esmf/src/Infrastructure/BasicUtil/ESMC_BasicUtil.c
gmake[7]: mpcc_r: Command not found
gmake[7]: *** [/gpfs/projects/bsc29/bsc29637/CAM/prueba_cam_mpi/bld/esmf/lib/libO/rs6000_64/libesmf.a(ESMC_BasicUtil.o)] Error 127
gmake[7]: Leaving directory `/gpfs/projects/bsc29/bsc29637/CAM/prueba_cam_mpi/bld/esmf/mod/modO/rs6000_64'
gmake[6]: *** [lib] Error 2
gmake[6]: Leaving directory `/gpfs/projects/bsc29/bsc29637/CAM/prueba_cam_mpi/bld/esmf/mod/modO/rs6000_64'
gmake[5]: *** [vpathlib] Error 2
I tried to specify the C-compiler in the Makefile, even the multi-threading C-compiler in the spmd=true line, but it doesn't work. Gmake is somehow still looking for the default AIX-compiler mpcc_r
from my makefile -->
CC := xlc_r
CPPDEF += -DAIX
ifeq ($(NESTED_OMP),TRUE)
CPPDEF += -DNESTED_PAR
endif
CFLAGS := $(cpp_path) -O2 $(CPPDEF) $(QCMP)
ifeq ($(SPMD),TRUE)
FC := mpif90
else
FC := mpif90
CC := mpicc
FFLAGS += -WF,-DHIDE_MPI
endif
Any ideas??
Thanks a lot