chemresearch
New member
Hi,
I am trying to compile WRF Chem 4.5 on Cheyenne and facing issues. The first thing I noticed is that the compilations fails in the beginning saying:
compile kpp
make[1]: Entering directory '/glade/scratch/user/WRF-latest/chem/KPP/kpp/kpp-2.1/src'
/usr/bin/yacc –d scan.y
/usr/bin/bison: extra operand ‘scan.y’
Try `/usr/bin/bison --help' for more information.
Makefile:81: recipe for target 'y.tab.c' failed
make[1]: *** [y.tab.c] Error 1
make[1]: Leaving directory '/glade/scratch/user/WRF-latest/chem/KPP/kpp/kpp-2.1/src'
Then, I copied two files (y.tab.c and y.tab.h) from a previous installation to chem/KPP/kpp/kpp-2.1/src and then it proceeded further. But it eventually didn't compile. Below is the first instance of Error I found.
sed -f ../../../../arch/standard.sed write_decomp.F > write_decomp.b
/lib/cpp -P -nostdinc -I../../../../inc -DEM_CORE= -DNMM_CORE= -DNMM_MAX_DIM=2600 -DDA_CORE= -DWRFPLUS= -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT -DDM_PARALLEL -DNETCDF -DLANDREAD_STUB=1 -DUSE_ALLOCATABLES -Dwrfmodel -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DBUILD_RRTMG_FAST=0 -DBUILD_RRTMK=0 -DBUILD_SBM_FAST=1 -DSHOW_ALL_VARS_USED=0 -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST= -DWRF_CHEM -DBUILD_CHEM=1 -DWRF_KPP -I. -traditional-cpp -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT write_decomp.b > write_decomp.f90
rm -f write_decomp.b
ifort -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -real-size `expr 8 \* 4` -i4 write_decomp.f90
ifort -o write_decomp.exe module_kpp_cb05_sorg_aq_Precision.o module_kpp_cb05_sorg_aq_Parameters.o module_kpp_cb05_sorg_aq_JacobianSP.o write_decomp.o
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: write_decomp.o: in function `MAIN__':
write_decomp.f90.text+0x7c8): undefined reference to `cb05_sorg_vbs_aq_jacobiansp_mp_lu_diag_'
I am also attaching the compile log and my environment for you. I will really appreciate your help in fixing the issue.
I am trying to compile WRF Chem 4.5 on Cheyenne and facing issues. The first thing I noticed is that the compilations fails in the beginning saying:
compile kpp
make[1]: Entering directory '/glade/scratch/user/WRF-latest/chem/KPP/kpp/kpp-2.1/src'
/usr/bin/yacc –d scan.y
/usr/bin/bison: extra operand ‘scan.y’
Try `/usr/bin/bison --help' for more information.
Makefile:81: recipe for target 'y.tab.c' failed
make[1]: *** [y.tab.c] Error 1
make[1]: Leaving directory '/glade/scratch/user/WRF-latest/chem/KPP/kpp/kpp-2.1/src'
Then, I copied two files (y.tab.c and y.tab.h) from a previous installation to chem/KPP/kpp/kpp-2.1/src and then it proceeded further. But it eventually didn't compile. Below is the first instance of Error I found.
sed -f ../../../../arch/standard.sed write_decomp.F > write_decomp.b
/lib/cpp -P -nostdinc -I../../../../inc -DEM_CORE= -DNMM_CORE= -DNMM_MAX_DIM=2600 -DDA_CORE= -DWRFPLUS= -DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=4 -DLWORDSIZE=4 -DNONSTANDARD_SYSTEM_FUNC -DWRF_USE_CLM -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT -DDM_PARALLEL -DNETCDF -DLANDREAD_STUB=1 -DUSE_ALLOCATABLES -Dwrfmodel -DGRIB1 -DINTIO -DKEEP_INT_AROUND -DLIMIT_ARGS -DBUILD_RRTMG_FAST=0 -DBUILD_RRTMK=0 -DBUILD_SBM_FAST=1 -DSHOW_ALL_VARS_USED=0 -DCONFIG_BUF_LEN=65536 -DMAX_DOMAINS_F=21 -DMAX_HISTORY=25 -DNMM_NEST= -DWRF_CHEM -DBUILD_CHEM=1 -DWRF_KPP -I. -traditional-cpp -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT write_decomp.b > write_decomp.f90
rm -f write_decomp.b
ifort -c -O3 -ip -fp-model precise -w -ftz -align all -fno-alias -FR -convert big_endian -real-size `expr 8 \* 4` -i4 write_decomp.f90
ifort -o write_decomp.exe module_kpp_cb05_sorg_aq_Precision.o module_kpp_cb05_sorg_aq_Parameters.o module_kpp_cb05_sorg_aq_JacobianSP.o write_decomp.o
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: write_decomp.o: in function `MAIN__':
write_decomp.f90.text+0x7c8): undefined reference to `cb05_sorg_vbs_aq_jacobiansp_mp_lu_diag_'
I am also attaching the compile log and my environment for you. I will really appreciate your help in fixing the issue.