<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Aaron,
<div>I believe the problem is that cron does not read your .bashrc before running jobs. You need to set those environment variables in your scripts, or else set up a symlink for /usr/local/lib/grads that points to /home/hoth/grads.</div>
<div>—Jennifer</div>
<div><br>
<div>
<div>On Jan 31, 2016, at 3:06 PM, Perry, Aaron <<a href="mailto:Aaron.Perry@lsc.vsc.edu">Aaron.Perry@lsc.vsc.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;">
<p>Hi Everyone,</p>
<p><br>
</p>
<p>I'm currently running into a problem with running some grads scripts in a bash script that is on my cron. I'm running on a CentOS 7 system.</p>
<p><br>
</p>
<p>The error: </p>
<p><span style="font-size: 12pt;"><b>Open Error on Map Data Set: /usr/local/lib/grads/hires</b></span></p>
<p><br>
</p>
<p>I added the following lines to my .bashrc:</p>
<div><br class="webkit-block-placeholder">
</div>
<div><b>export PATH=/bin:/usr/bin:$PATH</b></div>
<div><b>export GADDIR=/home/hoth/grads</b></div>
<div><b>export GASCRP=/home/hoth/scripts</b></div>
<div><b><br>
</b></div>
<div>I'm a bit perplexed because I have all of the required font.dats and the 3 map sets in /home/hoth/grads/ but when the scripts run via cron, GrADS can't see them.</div>
<div><br>
</div>
<div>What's going on?</div>
<div><br class="webkit-block-placeholder">
</div>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;">
<div style="font-family: Tahoma; font-size: 13px;"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="font-family: Tahoma; font-size: 13px;"><font face="Calibri,Arial,Helvetica,sans-serif"><b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Aaron D. Perry</span></font></b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Class of 2016</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Lyndon State College</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="font-family: Tahoma; font-size: 13px;"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:14.67px">Mobile: (617) 780-4312</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9"><span style="font-size:11pt">Twitter: </span></font><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"><font size="2"><span style="font-size:11pt">@arnpry</span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="font-family: Tahoma; font-size: 13px;"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">FB: </span></font><a href="https://www.facebook.com/arnpry" target="_blank" id="LPNoLP" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">fb.com/arnpry</span></font></a></div>
<div style="font-family: Tahoma; font-size: 13px;"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">LinkedIn: </span></font><a href="https://www.linkedin.com/in/arnpry" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">arnpry</span></font></a><a href="https://www.linkedin.com/in/upstream" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"></span></font></a></font></div>
<div style="font-family: Tahoma; font-size: 13px;"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Web: </span></font><a href="http://shearanalytics.net/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9">shearanalytics.net</font></span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Email: </span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div>
<div>
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer M. Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
111 Research Hall, Mail Stop 2B3<br>
George Mason University<br>
4400 University Drive<br>
Fairfax, VA 22030 <br>
<br>
</div>
</div>
</div>
<br>
</div>
</body>
</html>