<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Dennis, 
<div class=""><br class="">
</div>
<div class="">Thank you for looking into this. I was thinking something suspicious has happened, because it isn’t working on 4 different computer clusters. I have a feeling that this is a compiler issue and that some sort of library is missing.</div>
<div class=""><br class="">
</div>
<div class="">-Jonathan</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Dec 20, 2020, at 6:02 PM, Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Also tried NCL 6.6.2:  Same error <br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Dec 20, 2020 at 9:50 AM Dennis Shea <<a href="mailto:shea@ucar.edu" class="">shea@ucar.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" class="">
<div class="">Hi Jonathan</div>
<div class=""><br class="">
</div>
<div class="">I tried on my MAC and CGD systems</div>
<div class=""><br class="">
</div>
<div class="">=========  MAC ============</div>
<div class="">%> WRAPIT qsatmodoperator.stub shr_kind_mod.F90 shr_const_mod.F90 QSatMod.F90 qsatmodoperator.F90<br class="">
 <br class="">
WRAPIT Version: 120209<br class="">
<b class="">A syntax error occurred while parsing: </b><br class="">
COMPILING shr_kind_mod.F90<br class="">
COMPILING shr_const_mod.F90<br class="">
COMPILING QSatMod.F90<br class="">
COMPILING qsatmodoperator.F90<br class="">
LINKING<br class="">
ld: warning: URGENT: building for OSX, but linking against dylib (/usr/lib/libSystem.dylib) built for (unknown). Note: This will be an error in the future.<br class="">
END WRAPIT</div>
<div class=""><br class="">
</div>
<div class="">======= CGD ==============</div>
<div class=""><br class="">
</div>
<div class="">%>WRAPIT qsatmodoperator.stub shr_kind_mod.F90 shr_const_mod.F90 QSatMod.F90 qsatmodoperator.F90<br class="">
 <br class="">
WRAPIT Version: 120209<br class="">
<b class="">A syntax error occurred while parsing: </b><br class="">
COMPILING shr_kind_mod.F90<br class="">
COMPILING shr_const_mod.F90<br class="">
COMPILING QSatMod.F90<br class="">
COMPILING qsatmodoperator.F90<br class="">
LINKING<br class="">
END WRAPIT</div>
<div class="">============================</div>
<div class=""><br class="">
</div>
<div class="">Both were using NCL 6.5.0 <br class="">
</div>
<div class="">To my knowledge, nothing has changed for 6.6.2</div>
<div class="">****************************************</div>
<div class="">I am not sure of the error</div>
<div class=""><br class="">
</div>
<div class="">For a test, I changed the stub file to classic f77 syntax</div>
<div class=""><br class="">
</div>
<div class="">C NCLFORTSTART<br class="">
      subroutine qsatmodoperator (timeinn,latinn,loninn,T_k_i,p_i,e_s_ou<br class="">
     *      ,e_s_d_T_ou,q_s_ou,q_s_d_T_ou)<br class="">
      implicit none<br class="">
      integer  timeinn,latinn,loninn<br class="">
      double precision T_k_i(loninn,latinn,timeinn)<br class="">
     *      ,p_i(loninn,latinn,timeinn),e_s_ou(loninn,latinn,timeinn)<br class="">
      double precision e_s_d_T_ou(loninn,latinn,timeinn)<br class="">
     *      ,q_s_ou(loninn,latinn,timeinn),q_s_d_T_ou(loninn,latinn,timeinn)<br class="">
C NCLEND</div>
<div class=""><br class="">
</div>
<div class="">and got the same error</div>
<div class=""><br class="">
</div>
<div class="">************</div>
<div class="">I'll keep looking.<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Dec 20, 2020 at 2:41 AM Buzan, Jonathan via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank" class="">ncl-talk@mailman.ucar.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi NCL-Talk,<br class="">
<br class="">
I am encountering an error that I have not encountered before in WRAPIT. I am confused by this error, because I have not changed my routines or my wrapper scripts.<br class="">
I tried on two different clusters, and I receive the same error. I have included the files that are used in the routine. Below is the error.
<br class="">
<br class="">
Perhaps I am missing a flag?<br class="">
<br class="">
Cheers,<br class="">
-Jonathan<br class="">
<br class="">
<br class="">
<br class="">
 > WRAPIT qsatmodoperator.stub shr_kind_mod.F90 shr_const_mod.F90 QSatMod.F90 qsatmodoperator.F90<br class="">
<br class="">
WRAPIT Version: 120209<br class="">
In file included from /apps/spack/halstead/apps/ncl/6.4.0-gcc-4.8.5-vdbunrk/include/ncarg/hlu/hlu.h:49:0,<br class="">
                 from WRAPIT.c:9:<br class="">
WRAPIT.c: In function 'qsatmodoperator_W':<br class="">
WRAPIT.c:215:10: warning: implicit declaration of function 'qsatmodoperator_' [-Wimplicit-function-declaration]<br class="">
  NGCALLF(qsatmodoperator,QSATMODOPERATOR)(timeinn,latinn,loninn,T_k_i,p_i,e_s_ou,e_s_d_T_ou,q_s_ou,q_s_d_T_ou);<br class="">
          ^<br class="">
/apps/spack/halstead/apps/ncl/6.4.0-gcc-4.8.5-vdbunrk/include/ncarg/c.h:31:29: note: in definition of macro 'NGCALLF'<br class="">
 #define NGCALLF(reg,caps)   reg##_<br class="">
                             ^~~<br class="">
COMPILING shr_kind_mod.F90<br class="">
COMPILING shr_const_mod.F90<br class="">
COMPILING QSatMod.F90<br class="">
COMPILING qsatmodoperator.F90<br class="">
LINKING<br class="">
END WRAPIT<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank" class="">ncl-talk@mailman.ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>