janezhang8587@yeah_net
Member
I ran the csh script, called paleo_mkraw.csh, and the outputs in the terminal are shown between the follwing two dot lines:-----------------------------------------------------------------setenv INFILE pft_90ma.ncsetenv INFILE pft_90ma.ncsetenv CASE Paleo90masetenv CASE Paleo90masetenv TOOLSDIR /lustre/baijingjing/Cesm/expand_ccsm3_setup_tools_110319-NR-120316_msetenv TOOLSDIR /lustre/baijingjing/Cesm/expand_ccsm3_setup_tools_110319-NR-120316_msetenv SRCDIR $TOOLSDIR/lnd/src/paleo_mkrawsetenv SRCDIR /lustre/baijingjing/Cesm/expand_ccsm3_setup_tools_110319-NR-120316_m/lnd/src/paleo_mkrawsetenv DATADIR /lustre/baijingjing/Cesm/Paleo/P90masetenv DATADIR /lustre/baijingjing/Cesm/Paleo/P90ma set DATE = "`date +%y%m%d`"set DATE = `date +%y%m%d`date +%y%m%dset INFILE_FORMAT = netcdfset INFILE_FORMAT = netcdf set INPUT_LSM_DATA = $DATADIR/$INFILEset INPUT_LSM_DATA = /lustre/baijingjing/Cesm/Paleo/P90ma/pft_90ma.nc if ( ! ( -e $INPUT_LSM_DATA ) ) thenif ( ! ( -e /lustre/baijingjing/Cesm/Paleo/P90ma/pft_90ma.nc ) ) then set INPUT_SOI_DATA = $TOOLSDIR/lnd/data/mksrf_soitex.10level.ncset INPUT_SOI_DATA = /lustre/baijingjing/Cesm/expand_ccsm3_setup_tools_110319-NR-120316_m/lnd/data/mksrf_soitex.10level.nc set OUTPUT_GLACIER = mksrf_glacier_$CASE.c$DATE.ncset OUTPUT_GLACIER = mksrf_glacier_Paleo90ma.c150622.ncset OUTPUT_URBAN = mksrf_urban_$CASE.c$DATE.ncset OUTPUT_URBAN = mksrf_urban_Paleo90ma.c150622.ncset OUTPUT_LANWAT = mksrf_lanwat_$CASE.c$DATE.ncset OUTPUT_LANWAT = mksrf_lanwat_Paleo90ma.c150622.ncset OUTPUT_SOICOL = mksrf_soicol_$CASE.c$DATE.ncset OUTPUT_SOICOL = mksrf_soicol_Paleo90ma.c150622.ncset OUTPUT_PFT = mksrf_pft_$CASE.c$DATE.ncset OUTPUT_PFT = mksrf_pft_Paleo90ma.c150622.ncset OUTPUT_LAI = mksrf_lai_$CASE.c$DATE.ncset OUTPUT_LAI = mksrf_lai_Paleo90ma.c150622.ncset OUTPUT_SOITEX = mksrf_soitex_$CASE.c$DATE.ncset OUTPUT_SOITEX = mksrf_soitex_Paleo90ma.c150622.nc cat > ! pathnames.sed ! paleo_mkraw.F90sed -f pathnames.sed paleo_mkraw_sed.F90 gmake EXENAME=paleo_mkrawgmake EXENAME=paleo_mkrawifort -o paleo_mkraw.o -O3 -xHost -ip -no-prec-div -static-intel -I/lustre/baijingjing/program/netcdf4.1.3/include -L/lustre/baijingjing/program/netcdf4.1.3/lib -lnetcdff -lnetcdf paleo_mkraw.F90ifort -o paleo_mkraw paleo_mkraw.o -L/lustre/baijingjing/program/netcdf4.1.3/lib -lnetcdff -lnetcdf paleo_mkraw.o:(.rodata+0x0): multiple definition of `_IO_stdin_used'/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o:(.rodata.cst4+0x0): first defined herepaleo_mkraw.o: In function `main':(.text+0xf0): multiple definition of `main'/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64/for_main.o:/export/users/nbtester/efi2linux_nightly/branch-13_0gt/20130314_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x0): first defined herepaleo_mkraw.o:(.rodata+0x8): multiple definition of `__dso_handle'/usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o:(.rodata+0x0): first defined herepaleo_mkraw.o: In function `_fini':(.fini+0x0): multiple definition of `_fini'/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o:(.fini+0x0): first defined herepaleo_mkraw.o: In function `_start':(.text+0x0): multiple definition of `_start'/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o:(.text+0x0): first defined herepaleo_mkraw.o: In function `_init':(.init+0x0): multiple definition of `_init'/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o:(.init+0x0): first defined herepaleo_mkraw.o: In function `__data_start':(.data+0x0): multiple definition of `__data_start'/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o:(.data+0x0): first defined here/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64/libirc.a(cpu_disp.o):(.bss+0x0): multiple definition of `__intel_cpu_indicator'paleo_mkraw.o:(.bss+0x49ec320): first defined here/usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__'paleo_mkraw.o:(.dtors+0x8): first defined hereld: error in paleo_mkraw.o(.eh_frame); no .eh_frame_hdr table will be created.gmake: *** [paleo_mkraw] Error 1paleo_mkrawpaleo_mkrawpaleo_mkraw: Command not found. exitexit----------------------------------------------------------------- It seems that the there is something wrong about the Makefile, but I donot work it out. Who can help me? And the csh script, paleo_mkraw.csh, and the Makefile are attached. Thanks! Jian