Hello,
I want to install CMAQ. However, before that, I used the following link to install netCDF-C, netCDF-Fortran, and I/O API:
In the above website, I found a link to download different versions of I/O API:
https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html
So, I downloaded v3.2. Then, I followed the instruction in README.txt.
Then I did the following step (Step 6):
6. Customize “Makefile” for your system:
The default directory for both executables and object
libraries is in directory “…/$BIN” relative to the source
code directories for the I/O API and tools. Edit the
“Makefile” to put “BASEDIR”, “SRCDIR”, and “OBJDIR” wherever
you want it (if you want somewhere other than the default
“./$BIN” location). Look at the “Makefile” header-comment
for further customization options.
Then I typed “make”, however, I received the following errors:
Makefile:200: warning: overriding recipe for target /CMAQ_libs//Linux3 Makefile:197: warning: ignoring old recipe for target
/CMAQ_libs//Linu3’
mkdir -p /CMAQ_libs/Linux3/Linux3
mkdir -p /CMAQ_libs/Linux3/ioapi/fixed_src
(cd /CMAQ_libs/Linux3/ioapi ; make fixed_src)
make[1]: Entering directory /CMAQ_libs/Linux3/ioapi' make[1]: Nothing to be done for
fixed_src’.
make[1]: Leaving directory CMAQ_libs/Linux3/ioapi' (cd /CMAQ_libs/Linux3/ioapi ; make all) make[1]: Entering directory
CMAQ_libs/Linux3/ioapi’
make[1]: *** No rule to make target all'. Stop. make[1]: Leaving directory
/CMAQ_libs/Linux3/ioapi’
make: *** [all] Error 2
Then, I have tried to delete it and install the lower version of I/O API (e.g. 3.1), however, I received the same error.
Can you please help me in this regard?
Thank you.