nitkbhat@gmail_com
Member
I was running CESM 1.2.2 with a threaded version. I intend to run openmp thread along with mpi tasks on a 16 core node.The component set is B. and the resolution is f19_g16.
I changed the variable in the BUILD_THREADED to true.I changed the mach_env_pes.xml to the following:
But, I am getting an error while I build the model. [nitin@master B_f19_g16_1node_omp]$ ./B_f19_g16_1node_omp.build
-------------------------------------------------------------------------
CESM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/run
infile is /storage/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/Buildconf/cplconf/cesm_namelist
CAM writing dry deposition namelist to drv_flds_in
CAM writing namelist to atm_in
CLM configure done.
CLM adding use_case 2000_control defaults for var sim_year with val 2000
CLM adding use_case 2000_control defaults for var sim_year_range with val constant
CLM adding use_case 2000_control defaults for var use_case_desc with val Conditions to simulate 2000 land-use
CICE configure done.
POP2 build-namelist: ocn_grid is gx1v6
POP2 build-namelist: ocn_tracer_modules are iage
CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM PRESTAGE SCRIPT STARTING
- Case input data directory, DIN_LOC_ROOT, is /home/nitin/CESM_NEW/input_data
- Checking the existence of input datasets in DIN_LOC_ROOT
CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM BUILDEXE SCRIPT STARTING
rm: No match.
COMPILER is intel
- Build Libraries: mct gptl pio csm_share
Wed Feb 11 14:09:25 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/mct.bldlog.150211-140918
Wed Feb 11 14:09:26 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/gptl.bldlog.150211-140918
Wed Feb 11 14:09:26 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/pio.bldlog.150211-140918
Wed Feb 11 14:09:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/csm_share.bldlog.150211-140918
Wed Feb 11 14:09:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/atm.bldlog.150211-140918
Wed Feb 11 14:10:39 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lnd.bldlog.150211-140918
Wed Feb 11 14:11:14 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/ice.bldlog.150211-140918
Wed Feb 11 14:11:48 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/ocn.bldlog.150211-140918
Wed Feb 11 14:13:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/glc.bldlog.150211-140918
Wed Feb 11 14:13:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/wav.bldlog.150211-140918
Wed Feb 11 14:13:28 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/rof.bldlog.150211-140918
Wed Feb 11 14:13:39 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.bldlog.150211-140918
ERROR: cesm.buildexe.csh failed, see /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.bldlog.150211-140918
ERROR: cat /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.bldlog.150211-140918
The error in the log is as follows:mpiifort -o /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.exe ccsm_comp_mod.o ccsm_driver.o mrg_mod.o seq_avdata_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_map_esmf.o seq_map_mod.o seq_mctext_mod.o seq_rest_mod.o -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -latm -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lice -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -llnd -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -locn -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lrof -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lglc -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lwav -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -lcsm_share -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/lib -lpio -lgptl -lmct -lmpeu -L/storage/softwares/installedsoftware/netcdf_4.4.0/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -L/opt/intel/impi/4.1.3.048/intel64/lib -lmpich -L/storage/softwares/installedsoftware/netcdf_4.4.0/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -openmp
ld: MPIR_Thread: TLS definition in /opt/intel/impi/4.1.3.048/intel64/lib/libmpi_mt.so section .tbss mismatches non-TLS definition in /opt/intel/impi/4.1.3.048/intel64/lib/libmpich.so section .bss
/opt/intel/impi/4.1.3.048/intel64/lib/libmpi_mt.so: could not read symbols: Bad value
gmake: *** [/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.exe] Error 1 Please find attached the env_mach_pes.xml and the error log file.Thanks.
I changed the variable in the BUILD_THREADED to true.I changed the mach_env_pes.xml to the following:
But, I am getting an error while I build the model. [nitin@master B_f19_g16_1node_omp]$ ./B_f19_g16_1node_omp.build
-------------------------------------------------------------------------
CESM BUILDNML SCRIPT STARTING
- To prestage restarts, untar a restart.tar file into /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/run
infile is /storage/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/Buildconf/cplconf/cesm_namelist
CAM writing dry deposition namelist to drv_flds_in
CAM writing namelist to atm_in
CLM configure done.
CLM adding use_case 2000_control defaults for var sim_year with val 2000
CLM adding use_case 2000_control defaults for var sim_year_range with val constant
CLM adding use_case 2000_control defaults for var use_case_desc with val Conditions to simulate 2000 land-use
CICE configure done.
POP2 build-namelist: ocn_grid is gx1v6
POP2 build-namelist: ocn_tracer_modules are iage
CESM BUILDNML SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM PRESTAGE SCRIPT STARTING
- Case input data directory, DIN_LOC_ROOT, is /home/nitin/CESM_NEW/input_data
- Checking the existence of input datasets in DIN_LOC_ROOT
CESM PRESTAGE SCRIPT HAS FINISHED SUCCESSFULLY
-------------------------------------------------------------------------
-------------------------------------------------------------------------
CESM BUILDEXE SCRIPT STARTING
rm: No match.
COMPILER is intel
- Build Libraries: mct gptl pio csm_share
Wed Feb 11 14:09:25 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/mct.bldlog.150211-140918
Wed Feb 11 14:09:26 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/gptl.bldlog.150211-140918
Wed Feb 11 14:09:26 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/pio.bldlog.150211-140918
Wed Feb 11 14:09:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/csm_share.bldlog.150211-140918
Wed Feb 11 14:09:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/atm.bldlog.150211-140918
Wed Feb 11 14:10:39 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lnd.bldlog.150211-140918
Wed Feb 11 14:11:14 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/ice.bldlog.150211-140918
Wed Feb 11 14:11:48 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/ocn.bldlog.150211-140918
Wed Feb 11 14:13:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/glc.bldlog.150211-140918
Wed Feb 11 14:13:27 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/wav.bldlog.150211-140918
Wed Feb 11 14:13:28 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/rof.bldlog.150211-140918
Wed Feb 11 14:13:39 IST 2015 /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.bldlog.150211-140918
ERROR: cesm.buildexe.csh failed, see /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.bldlog.150211-140918
ERROR: cat /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.bldlog.150211-140918
The error in the log is as follows:mpiifort -o /home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.exe ccsm_comp_mod.o ccsm_driver.o mrg_mod.o seq_avdata_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_map_esmf.o seq_map_mod.o seq_mctext_mod.o seq_rest_mod.o -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -latm -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lice -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -llnd -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -locn -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lrof -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lglc -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/lib/ -lwav -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/MCT/noesmf/a1l1r1i1o1g1w1/csm_share -lcsm_share -L/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/intel/mpich/nodebug/threads/lib -lpio -lgptl -lmct -lmpeu -L/storage/softwares/installedsoftware/netcdf_4.4.0/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -L/opt/intel/impi/4.1.3.048/intel64/lib -lmpich -L/storage/softwares/installedsoftware/netcdf_4.4.0/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -openmp
ld: MPIR_Thread: TLS definition in /opt/intel/impi/4.1.3.048/intel64/lib/libmpi_mt.so section .tbss mismatches non-TLS definition in /opt/intel/impi/4.1.3.048/intel64/lib/libmpich.so section .bss
/opt/intel/impi/4.1.3.048/intel64/lib/libmpi_mt.so: could not read symbols: Bad value
gmake: *** [/home/nitin/CESM_NEW/cesm1_2_2/cases/B_f19_g16_1node_omp/cesm.exe] Error 1 Please find attached the env_mach_pes.xml and the error log file.Thanks.