rambhari0123@gmail_com
Member
Dear Uesrs,We are porting CESM1.2.0 on new machine( Linux + PGI compiler). We are following porting steps given in the cesm1.2.0 user guide(page no. 51-54) (via userdefined ). we are getting the error at the building steps which is referring to pio as :
[ankush@chandra test5]$ ./test5.build
-------------------------------------------------------------------------
CESM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /home/ankush/ankush/test5/run
infile is /home/ankush/test5/Buildconf/cplconf/cesm_namelist
CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM PRESTAGE SCRIPT STARTING
- Case input data directory, DIN_LOC_ROOT, is /data/CESM_INPUT/inputdata
- Checking the existence of input datasets in DIN_LOC_ROOT
CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM BUILDEXE SCRIPT STARTING
COMPILER is pgi
- Build Libraries: mct gptl pio csm_share
Tue Sep 17 17:10:39 IST 2013 /home/ankush/ankush/test5/bld/mct/mct.bldlog.130917-171038
Tue Sep 17 17:11:34 IST 2013 /home/ankush/ankush/test5/bld/gptl/gptl.bldlog.130917-171038
Tue Sep 17 17:11:37 IST 2013 /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038
ERROR: buildlib.pio failed, see /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038
ERROR: cat /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038since we are ignoring the PNETCDF path but it still looking for it.so before executing build we did the following settings in Macros file :
#---------HDF5/zlib----------
HDF5_PATH=/usr/local/pgilib/HDF5
INC_HDF5=-I$(HDF5_PATH)/include
LIB_HDF5=-L$(HDF5_PATH)/lib
#
ZLIB_PATH=/usr/local/pgilib/ZLIB
INC_ZLIB=-I$(ZLIB_PATH)/include
LIB_ZLIB=-L$(ZLIB_PATH)/lib
MPICC:= mpicc
MPICXX:= mpicxx
MPIFC:= mpif90
MPI_PATH:=/opt/pgi/linux86-64/2013/mpi/mpich/bin/
INC_MPI := $(MPICH_PATH)/include
LIB_MPI := $(MPICH_PATH)/lib
MPI_LIB_NAME:=mpi -lmpigf
NETCDF_PATH:= /usr/local/pgilib/NETCDF4
INC_NETCDF := $(NETCDF_PATH)/include
LIB_NETCDF := $(NETCDF_PATH)/lib $(LIB_HDF5) $(LIB_ZLIB)
MOD_NETCDF := $(NETCDF_PATH)/include
PNETCDF_PATH:=
we did not edit the env_mach_specific. since we had tried to edit as shown in document (loading the module netcdf, pgi etc.). then it doesnt went for building step and thrown error. for more detail i am attaching the poi log file here.
I request you to please suggest me the useful setting to get rid of this error.and is it necessary to compile the netcdf libraries in parallel for cesm1.2.0.??Thanking you in anticipation.
Best Regards,
Ram
[ankush@chandra test5]$ ./test5.build
-------------------------------------------------------------------------
CESM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /home/ankush/ankush/test5/run
infile is /home/ankush/test5/Buildconf/cplconf/cesm_namelist
CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM PRESTAGE SCRIPT STARTING
- Case input data directory, DIN_LOC_ROOT, is /data/CESM_INPUT/inputdata
- Checking the existence of input datasets in DIN_LOC_ROOT
CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM BUILDEXE SCRIPT STARTING
COMPILER is pgi
- Build Libraries: mct gptl pio csm_share
Tue Sep 17 17:10:39 IST 2013 /home/ankush/ankush/test5/bld/mct/mct.bldlog.130917-171038
Tue Sep 17 17:11:34 IST 2013 /home/ankush/ankush/test5/bld/gptl/gptl.bldlog.130917-171038
Tue Sep 17 17:11:37 IST 2013 /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038
ERROR: buildlib.pio failed, see /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038
ERROR: cat /home/ankush/ankush/test5/bld/pio/pio.bldlog.130917-171038since we are ignoring the PNETCDF path but it still looking for it.so before executing build we did the following settings in Macros file :
#---------HDF5/zlib----------
HDF5_PATH=/usr/local/pgilib/HDF5
INC_HDF5=-I$(HDF5_PATH)/include
LIB_HDF5=-L$(HDF5_PATH)/lib
#
ZLIB_PATH=/usr/local/pgilib/ZLIB
INC_ZLIB=-I$(ZLIB_PATH)/include
LIB_ZLIB=-L$(ZLIB_PATH)/lib
MPICC:= mpicc
MPICXX:= mpicxx
MPIFC:= mpif90
MPI_PATH:=/opt/pgi/linux86-64/2013/mpi/mpich/bin/
INC_MPI := $(MPICH_PATH)/include
LIB_MPI := $(MPICH_PATH)/lib
MPI_LIB_NAME:=mpi -lmpigf
NETCDF_PATH:= /usr/local/pgilib/NETCDF4
INC_NETCDF := $(NETCDF_PATH)/include
LIB_NETCDF := $(NETCDF_PATH)/lib $(LIB_HDF5) $(LIB_ZLIB)
MOD_NETCDF := $(NETCDF_PATH)/include
PNETCDF_PATH:=
we did not edit the env_mach_specific. since we had tried to edit as shown in document (loading the module netcdf, pgi etc.). then it doesnt went for building step and thrown error. for more detail i am attaching the poi log file here.
I request you to please suggest me the useful setting to get rid of this error.and is it necessary to compile the netcdf libraries in parallel for cesm1.2.0.??Thanking you in anticipation.
Best Regards,
Ram