Hello,
I have downloaded CMAQ 5.3.2 and trying to compile ‘hr2day’ from CMAQ-master/POST/ directory.
I am using pgi compiler and ioapi v3.2. I have modified the directory path as my system in config_cmaq.csh file (attached) config_cmaq (copy).txt (10.7 KB) and then modified only set ioapi line in bldit_hr2day.csh (attached) file bldit_hr2day (copy).txt (8.5 KB) from /POST/hr2day/scripts folder
’ #> Set IO/API version
set IOAPI = ioapi_3.2
Then I issued the command ./bldit_hr2day.csh pgi which is giving me following error in the terminal:
WARNING: Your license to use PGI Community Edition version 19.10 has expired. Please obtain a new version at http://www.pgroup.com/community or contact PGI Sales at sales@pgroup.com to obtain a perpetual license.
PGF90-F-0004-Unable to open MODULE file m3utilio.mod (module_file.F: 33) PGF90/x86-64 Linux 19.10-0: compilation aborted make: *** [module_file.o] Error 2 ERROR while running make command
Warning: ieee_inexact is signaling FORTRAN STOP mv: ‘Makefile’ and ‘Makefile.pgi’ are the same file
You specified an incorrect location for IOAPI_MOD_DIR when you edited config_cmaq. You need to set it to the directory where m3utilio.mod is located, this is what the compiler error message is telling you.
Assuming it is located in the same directory as libioapi.a in your installation, this means changing
Hello,
Thank you for the response. I did modify the path, But still same error occurs.
You can see the path from terminal: root@adeq Linux3]# ls -l m3ut -rw-r–r--. 1 root root 286294 Feb 9 13:00 m3utilio.mod -rw-r–r--. 1 root root 293616 Feb 9 13:00 m3utilio.o [root@adeq Linux3]# pwd /root/Documents/softwares/ioapi3.2_install/ioapi-3.2-20200828/Linux3
I realized now that the release version of config_cmaq.csh does not even set IOAPI_MOD_DIR since both libioapi.a and m3utilio.mod are expected under the standard IOAPI_LIB_DIR directory, so there was no need for you to introduce IOAPI_MOD_DIR, but even setting it to a wrong value shouldn’t have harmed things.
Did you verify that the links which config_cmaq.csh creates under /root/Downloads/CMAQ-master/lib/x86_64/pgi/ioapi are indeed pointing to the correct I/O API installation location and specifically that libioapi.a and m3utilio.mod are present in the directory which /root/Downloads/CMAQ-master/lib/x86_64/pgi/ioapi/lib links to?
So even when you go to /root/Downloads/CMAQ-master/ and type source ./config_cmaq.csh, no ioapi directory is created under /root/Downloads/CMAQ-master/lib/x86_64/pgi? Do you see error messages? Are there any other directories under /root/Downloads/CMAQ-master/lib?