Dear all,
I was trying to compile the MCIP, but it ends up with the following error message:
" make: *** No targets specified and no makefile found. Stop."
I don’t know how to get this make file. It would be great if anyone could help me
The command I used (According the documentation)
cd $CMAQ_HOME/PREP/mcip/src
source …/…/…/config_cmaq.csh
make |& tee make.mcip.log
In the bldit_project.csh there isn’t a command to copy the source code for MCIP to the CMAQ_HOME directory. There is only a command to copy the scripts.
#===============================================================================
#> Copy MCIP scripts
#===============================================================================
if ( $EXT_MCIP == 'Y' ) then
if ( ! -e "$CMAQ_HOME/PREP/mcip/scripts" ) then
mkdir -pv $CMAQ_HOME/PREP/mcip/scripts
endif
cp PREP/mcip/scripts/run_mcip.csh $CMAQ_HOME/PREP/mcip/scripts/
endif
The fix, would be to edit the bldit_project.csh to add the following code within the following if then block:
if ( $EXT_MCIP == ‘Y’ ) then
#===============================================================================
#> Copy MCIP src
#===============================================================================
if ( $EXT_MCIP == 'Y' ) then
if ( ! -e "$CMAQ_HOME/PREP/mcip/src" ) then
mkdir -pv $CMAQ_HOME/PREP/mcip/src
endif
cp PREP/mcip/src/* $CMAQ_HOME/PREP/mcip/src
endif
Then turn off all of the other tools and only run the bldit_project.csh with the following settings:
#> This section allows users to choose explicitly which tools
#> to make available from the repo. For each selected tool,
#> extract_scripts.csh will copy any build and run scritps
#> out of the repo for you. Set each to [Y/N]
set EXT_CCTM = N
# Pre-processing Tools
set EXT_AGDUST = N
set EXT_BCON = N
set EXT_ICON = N
set EXT_MCIP = Y
# Post-Processing Tools
set EXT_COMBINE = N
set EXT_APPENDWRF = N
set EXT_BLDOVERLAY = N
set EXT_BLOCK_EXTRACT = N
set EXT_HR2DAY = N
set EXT_SITECMP = N
set EXT_SITECMP_DAILYO3 = N
set EXT_WRITESITE = N
This would avoid over-writing any of the scripts that you may have already edited in the CMAQ_HOME directory.