Open fipoucat opened 4 years ago
https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gfortran/IARGC.html says you can try COMMAND_ARGUMENT_COUNT instead, because gfortran has implemented the Fortran 2003 standard. I'm not sure if pgfortran, which I use, has implemented that or not. https://www.pgroup.com/resources/docs/19.10/x86/fortran-ref-guide/index.htm#fort-intrin-func-tbl-2003-2008 says it has. Feel free to test and commit a change that updates and fixes this.
Thank you, seen now. I should uncomment the correct arg.
I am trying to compile WPS-ghrsst-to-intermediate using gfortran as compiler but it always end up with an error undefined reference to "iargc".
Hope someone can help solving this.