wu_ker_wang@gmail_com
New Member
I'm trying to port cesm1.2.0 on local computer, using 'ibm' 13.1.0.8 compiler, netcdf version 4.2.1, ibm MPI compiler MPICC:= mpcc_r, MPIFC:= mpxlf95_r,
at the cesm.exe build step, there are always problems like that:
ERROR: cesm.buildexe.csh failed, in more detaild:
-----------------------------------------------------------------------------------------------------
mpxlf95_r -o /$EXEROOT/bld/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/$EXEROOT/bld/lib/ -latm -lice -llnd -locn -lrof -lglc -lwav -lcsm_share -lmct -lmpeu -lpio -lgptl -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -lmass -lessl -g -q64 -lmass -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -bdatapsize:64K -bstackpsize:64K -btextpsize:32K -qextname
ld: 0711-317 ERROR: Undefined symbol: .gptlfinalize_
ld: 0711-317 ERROR: Undefined symbol: .flush__
ld: 0711-317 ERROR: Undefined symbol: .gptldisable_
******************
ld: 0711-317 ERROR: Undefined symbol: .chdir_
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
-----------------------------------------------------------------------------------------------------I put the -qextname option in the FLAGS, but it still doesn't work.I also tried to go to the director which included *.o files and run:---------------------------------------------------------------------------------------------------mpxlf95_r -o /$EXEROOT/bld/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/$EXEROOT/bld/lib/ -latm -lice -llnd -locn -lrof -lglc -lwav -lcsm_share -lmct -lmpeu -lpio -lgptl -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -lmass -lessl -g -q64 -lmass -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -bdatapsize:64K -bstackpsize:64K -btextpsize:32K -qextname-brename:.flush__,.flush_ **** -brename:.chdir_,.chdir----------------------------------------------------------------------------------------------------Then it seems works, and the cesm.exe file can be created. But, does anyone knows how to change the FLAGS in the MARCOS file to make it work?
Thanks a lot!
Wuke Wang
at the cesm.exe build step, there are always problems like that:
ERROR: cesm.buildexe.csh failed, in more detaild:
-----------------------------------------------------------------------------------------------------
mpxlf95_r -o /$EXEROOT/bld/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/$EXEROOT/bld/lib/ -latm -lice -llnd -locn -lrof -lglc -lwav -lcsm_share -lmct -lmpeu -lpio -lgptl -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -lmass -lessl -g -q64 -lmass -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -bdatapsize:64K -bstackpsize:64K -btextpsize:32K -qextname
ld: 0711-317 ERROR: Undefined symbol: .gptlfinalize_
ld: 0711-317 ERROR: Undefined symbol: .flush__
ld: 0711-317 ERROR: Undefined symbol: .gptldisable_
******************
ld: 0711-317 ERROR: Undefined symbol: .chdir_
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
-----------------------------------------------------------------------------------------------------I put the -qextname option in the FLAGS, but it still doesn't work.I also tried to go to the director which included *.o files and run:---------------------------------------------------------------------------------------------------mpxlf95_r -o /$EXEROOT/bld/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/$EXEROOT/bld/lib/ -latm -lice -llnd -locn -lrof -lglc -lwav -lcsm_share -lmct -lmpeu -lpio -lgptl -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -lmass -lessl -g -q64 -lmass -L/sw/aix61/netcdf-4.2.1/lib -lnetcdff -lnetcdf -L/sw/aix61/netcdf-4.2.1/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -L/sw/aix61/hdf5-1.8.8/lib -L/sw/aix53/zlib-1.2.6/lib -L/sw/aix53/szip-2.1/lib -lsz -bdatapsize:64K -bstackpsize:64K -btextpsize:32K -qextname-brename:.flush__,.flush_ **** -brename:.chdir_,.chdir----------------------------------------------------------------------------------------------------Then it seems works, and the cesm.exe file can be created. But, does anyone knows how to change the FLAGS in the MARCOS file to make it work?
Thanks a lot!
Wuke Wang