MET compile issue #1157
-
Hello, config.log Any assistance would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @scatt11, I see you are having issues installing MET. I have assigned this issue to @jprestop, who is familiar with common errors in the installation process. Was a make.log file created in the bufrlib directory? If so, could you also attach this file? /home/computeadmin/meteo/Libraries/MET_install/external_libs/bufrlib/BUFRLIB_v11.3.0/make.log |
Beta Was this translation helpful? Give feedback.
-
Hi @scatt11. I see that you are having trouble with the compilation of BUFRLIB in the compile_Met_all.sh script. Thank you very much for all of the helpful log information you sent. I see the following in the make.log file for BUFRLIB:
‘-Wno-argument-mismatch' was deprecated in favor of ‘-fallow-argument-mismatch'. It looks like that was deprecated with version 10 of the GNU compilers (https://gcc.gnu.org/gcc-10/changes.html). I see in your config.log file that you are using 7.5.0 of the GNU compilers. Let's have you try changing the following line in the compile_MET_all.sh script from: ${FC} -c -fno-second-underscore -fallow-argument-mismatch `./getdefflags_F.sh` modv*.F moda*.F `ls -1 *.F *.f | grep -v "mod[av]_"` >> make.log 2>&1 to ${FC} -c -fno-second-underscore -Wno-argument-mismatch `./getdefflags_F.sh` modv*.F moda*.F `ls -1 *.F *.f | grep -v "mod[av]_"` >> make.log 2>&1 Then, please try recompiling everything and seeing if that does the trick for BUFRLIB and for MET. Please let us know how it goes. I have a GitHub issue set up to make improvement to the script, and I have just added this as a change to improve the script. (If GNU version 10 or greater, have ‘-fallow-argument-mismatch' in BUFRLIB compilation. If less than 10, have ‘-Wno-argument-mismatch'' in BUFRLIB compilation.) |
Beta Was this translation helpful? Give feedback.
Hi @scatt11. I see that you are having trouble with the compilation of BUFRLIB in the compile_Met_all.sh script. Thank you very much for all of the helpful log information you sent.
I see the following in the make.log file for BUFRLIB:
gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?
‘-Wno-argument-mismatch' was deprecated in favor of ‘-fallow-argument-mismatch'. It looks like that was deprecated with version 10 of the GNU compilers (https://gcc.gnu.org/gcc-10/changes.html). I see in your config.log file that you are using 7.5.0 of the GNU compilers.
Let's have you try changing the following line in the compile_MET_all.s…