Dear all,
For some reason, I need to compile CMAQ 5.0.1. But, it seems like CVS is needed to get source code. I have installed CVS, and tried to run some compile file, and then I got these error:
cvs [export aborted]: cannot remove file `Z Unknown error 2119076176
I’m not familiar with CVS; should I configure cvs with CMAQ?
Anybody know the reason? Or, is there anybody can share me with their CMAQ5.0.1 source code? I would be appreciate it.
thanks!
CMAQv5.0.1 source code is available on GitHub GitHub - USEPA/CMAQ at 5.0.1. This model version is over 10 years old. We strongly recommend upgrading to a more recent version of the model. We are not able to provide support for issues with such an old version.
1 Like
I echo the recommendation above to upgrade to a more recent version of the model.
That said, I do not think CVS is necessary to compile the CMAQv5.0.1 source code you can obtain from the CMAQ github repository.
I obtained CMAQv5.0.2 from the github repository and followed the build instructions in the v5.0.2 README file. We do not have CVS on our system.
Ignoring the instructions about the tar files, after downloading the source code from github I started by editing scripts/config.cmaq to setup my compiler and M3HOME environment.
Following this, I linked the ioapi, netcdf, and mpi to their expected location, following the “Install required external libraries” section of the README file.
Finally, I went through the process of compiling stenex, pario, bldmake, icon, bcon, and cctm by invoking the bldit scripts in each of the individual directories under scripts. In the bldit scripts including a netcdf dependency, I had to add ‘-lnetcdff’ after ‘-lnetcdf’. All bldit scripts completed successfully and created the expected libraries and executables.
3 Likes
Thank you, however, parts of the source code, such as bldmake.f
, cannot be found in GitHub - USEPA/CMAQ at 5.0.1. But I find all source code from other people, it’s fine for me now.
Thanks for your reply. Yes, it’s pretty easy to compile 5.0.2, because all of the source code can be found in github. However, it’s a different situation for 5.0.1, I cannot find some source code in github such as bldmake.f
. But I find all source code from other people, it’s fine for me now.
1 Like