<html><head></head><body><div class="ydpa666f3ffyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>I meant to point out I tried to use the prebuilt Suse libraries and they failed:</div><div><br></div><div><span><span class="ydpcf9f10bdem_N ydpcf9f10bden_N"></span><div class="ydpcf9f10bdD_F ydpcf9f10bden_0 ydpcf9f10bdM_3gJOe ydpcf9f10bdA_6Eb4 ydpcf9f10bdC_Z1VRpVF" data-test-id="message-date"><span>Dec 28 at 6:30 PM</span></div><span><div>ramos@leo1:/lustre/scratch/software/supplibs.prebuilt/lib> more libnetcdf.settings</div><div># NetCDF C Configuration Summary</div><div>==============================</div><div><br></div><div># General</div><div>-------</div><div>NetCDF Version: 4.3.3</div><div>Configured On: Tue Aug 1 11:38:07 MDT 2017</div><div>Host System: x86_64-unknown-linux-gnu</div><div>Build Directory: /glade/u/home/jennifer/suse-12.1/supplibs/src/netcdf-4.3.3</div><div>Install Prefix: /glade/u/home/jennifer/suse-12.1/supplibs</div><div><br></div><div># Compiling Options</div><div>-----------------</div><div>C Compiler: /usr/bin/gcc</div><div>CFLAGS: -fPIC</div><div>CPPFLAGS: -I/glade/u/home/jennifer/suse-12.1/supplibs/include</div><div>LDFLAGS: -L/glade/u/home/jennifer/suse-12.1/supplibs/lib</div><div>AM_CFLAGS:</div><div>AM_CPPFLAGS:</div><div>AM_LDFLAGS:</div><div>Shared Library: yes</div><div>Static Library: yes</div><div>Extra libraries: -lhdf5_hl -lhdf5 -ldl -lm -lm -ldl -lcurl -lssl -lrt -lz</div><div><br></div><div># Features</div><div>--------</div><div>NetCDF-2 API: yes</div><div>NetCDF-4 API: yes</div><div>HDF4 Support: no</div><div>HDF5 Support: yes</div><div>PNetCDF Support: no</div><div>Parallel Support: no</div><div>DAP Support: yes</div><div>Diskless Support: yes</div><div>MMap Support: no</div><div>JNA Support: no</div><div>ramos@leo1:/lustre/scratch/software/supplibs.prebuilt/lib></div></span></span><div><br></div><div><br></div><div>While trying to compile:</div><div><br></div><div><span><span><div>libtool: link: warning: library `/lustre/scratch/software/supplibs.prebuilt/lib/libgd.la' was moved.</div><div>libtool: link: warning: library `/lustre/scratch/software/supplibs.prebuilt/lib/libfontconfig.la' was moved.</div><div>/usr/bin/grep: /glade/u/home/jennifer/suse-12.1/supplibs/lib/libfreetype.la: No such file or directory</div><div>/usr/bin/sed: can't read /glade/u/home/jennifer/suse-12.1/supplibs/lib/libfreetype.la: No such file or directory</div><div>libtool: link: `/glade/u/home/jennifer/suse-12.1/supplibs/lib/libfreetype.la' is not a valid libtool archive</div><div>Makefile:641: recipe for target 'libgxpGD.la' failed</div><div>make[2]: *** [libgxpGD.la] Error 1</div><div>make[2]: Leaving directory '/lustre/scratch/users/ramos/grads-2.2.0/src'</div><div>Makefile:543: recipe for target 'all' failed</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory '/lustre/scratch/users/ramos/grads-2.2.0/src'</div><div>Makefile:454: recipe for target 'all-recursive' failed</div><div>make: *** [all-recursive] Error 1</div><div>ramos@leo1:~/grads-2.2.0></div><div><br></div></span></span><br></div></div><div><br></div><div class="ydpa666f3ffsignature"><div style="font-style:italic;font-weight:bold;color:rgb(255, 0, 0);"><br>brownwrap.blogspot.com</div><div style="color:rgb(255, 0, 0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:italic;font-weight:bold;"><br></div><div style="color:rgb(255, 0, 0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:italic;font-weight:bold;">brownwraps-linuxfromscratch.blogspot.com/</div><div style="color:rgb(255, 0, 0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:italic;font-weight:bold;"><br></div><div style="color:rgb(255, 0, 0);font-size:13px;font-family:arial, helvetica, clean, sans-serif;background-color:transparent;font-style:italic;font-weight:bold;"><br></div></div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_6531603849" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, December 27, 2018, 3:12:19 PM PST, Jennifer M Adams <jadams21@gmu.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv8623445320"><div>
A google search for “ac_nonexistent.h" reveals that might be a deliberate feature of the autoconfigure tools. See, for example, <a rel="nofollow" shape="rect" class="yiv8623445320" target="_blank" href="https://lists.gnu.org/archive/html/autoconf/2011-03/msg00009.html">https://lists.gnu.org/archive/html/autoconf/2011-03/msg00009.html</a>.
<div class="yiv8623445320"><br class="yiv8623445320" clear="none">
</div>
<div class="yiv8623445320">To find out why grib2 is not enabled, open your config.log in a text editor and search for the string ‘grib2’. Here’s a block of text where I find it in my config.log that has succeeded:</div>
<div class="yiv8623445320"><br class="yiv8623445320" clear="none">
</div>
<div class="yiv8623445320"><font class="yiv8623445320" style="font-size:11px;" face="Lucida Grande">configure:19014: checking grib2.h usability<br class="yiv8623445320" clear="none">
configure:19014: /usr/bin/gcc -c -fPIC -I/opt/local/include -I/Users/jma/grads/supplibs/include conftest.c >&5<br class="yiv8623445320" clear="none">
configure:19014: $? = 0<br class="yiv8623445320" clear="none">
configure:19014: result: yes<br class="yiv8623445320" clear="none">
configure:19014: checking grib2.h presence<br class="yiv8623445320" clear="none">
configure:19014: /usr/bin/gcc -E -I/Users/jma/grads/supplibs/include conftest.c<br class="yiv8623445320" clear="none">
configure:19014: $? = 0<br class="yiv8623445320" clear="none">
configure:19014: result: yes<br class="yiv8623445320" clear="none">
configure:19014: checking for grib2.h<br class="yiv8623445320" clear="none">
configure:19014: result: yes<br class="yiv8623445320" clear="none">
configure:19016: checking for main in -lgrib2c<br class="yiv8623445320" clear="none">
configure:19035: /usr/bin/gcc -o conftest -fPIC -I/opt/local/include -I/Users/jma/grads/supplibs/include -L/Users/jma/grads/supplibs/lib conftest.c -lgrib2c -lm >&5<br class="yiv8623445320" clear="none">
configure:19035: $? = 0<br class="yiv8623445320" clear="none">
configure:19044: result: yes</font><br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
Do the same for ‘netcdf’ or any other library you need — you’ll find the similar gcc calls to compile conftest.c (a tiny program created by the configure script that loads the desired header file or library) followed by the errors that gcc returned when it
failed. Depending on the error messages, you may need to adjust your $CFLAGS or $CPPFLAGS or $LIBS environnment variables. </div>
<div class="yiv8623445320"><br class="yiv8623445320" clear="none">
</div>
<div class="yiv8623445320">—Jennifer</div>
<div class="yiv8623445320"><br class="yiv8623445320" clear="none">
</div>
<div class="yiv8623445320"><br class="yiv8623445320" clear="none">
<blockquote class="yiv8623445320" type="cite">On Dec 27, 2018, at 4:25 PM, brown wrap <<a rel="nofollow" shape="rect" class="yiv8623445320" ymailto="mailto:gramos@yahoo.com" target="_blank" href="mailto:gramos@yahoo.com">gramos@yahoo.com</a>> wrote:<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
In the config.log file I am seeing a number of these:<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
configure:7333: gcc -E -I/lustre/scratch/software/supplibs/include conftest.c<br class="yiv8623445320" clear="none">
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory<br class="yiv8623445320" clear="none">
#include <ac_nonexistent.h><br class="yiv8623445320" clear="none">
^~~~~~~~~~~~~~~~~~<br class="yiv8623445320" clear="none">
compilation terminated.<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
Greg<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
On Thursday, December 27, 2018, 9:48:38 AM PST, Jennifer M Adams <<a rel="nofollow" shape="rect" class="yiv8623445320" ymailto="mailto:jadams21@gmu.edu" target="_blank" href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>> wrote:<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
Look in config.log for the errors when trying to compile test programs with grib2, hdf4, and netcdf. The output to the terminal when running the configure script will also tell you where things went wrong. <br class="yiv8623445320" clear="none">
—Jennifer<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
> On Dec 26, 2018, at 10:44 PM, brown wrap <<a rel="nofollow" shape="rect" class="yiv8623445320" ymailto="mailto:gramos@yahoo.com" target="_blank" href="mailto:gramos@yahoo.com">gramos@yahoo.com</a>> wrote:<br class="yiv8623445320" clear="none">
> <br class="yiv8623445320" clear="none">
> I am trying to build GrADS on a Cray. I have built all of the libraries, but several are not being found:<br class="yiv8623445320" clear="none">
> <br class="yiv8623445320" clear="none">
> +=========================================================================+<br class="yiv8623445320" clear="none">
> GrADS 2.2.0 : Configured on 12/27/18 for x86_64-unknown-linux-gnu<br class="yiv8623445320" clear="none">
> +=========================================================================+<br class="yiv8623445320" clear="none">
> <br class="yiv8623445320" clear="none">
> +-------------------------------+<br class="yiv8623445320" clear="none">
> | |<br class="yiv8623445320" clear="none">
> | GrADS will be built with: |<br class="yiv8623445320" clear="none">
> | |<br class="yiv8623445320" clear="none">
> | - GUI disabled |<br class="yiv8623445320" clear="none">
> | + READLINE enabled |<br class="yiv8623445320" clear="none">
> | + GEOTIFF enabled |<br class="yiv8623445320" clear="none">
> | + SHAPEFILE enabled |<br class="yiv8623445320" clear="none">
> | + GD enabled |<br class="yiv8623445320" clear="none">
> | + CAIRO enabled |<br class="yiv8623445320" clear="none">
> | - GRIB2 disabled |<br class="yiv8623445320" clear="none">
> | - HDF4 disabled |<br class="yiv8623445320" clear="none">
> | + HDF5 enabled |<br class="yiv8623445320" clear="none">
> | - NETCDF disabled |<br class="yiv8623445320" clear="none">
> | - OPeNDAP disabled |<br class="yiv8623445320" clear="none">
> | |<br class="yiv8623445320" clear="none">
> +-------------------------------+<br class="yiv8623445320" clear="none">
> <br class="yiv8623445320" clear="none">
> Both HDF4 and NetCDF are there in the supplibs directory. Any ideas?<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
> <br class="yiv8623445320" clear="none">
> _______________________________________________<br class="yiv8623445320" clear="none">
> gradsusr mailing list<br class="yiv8623445320" clear="none">
> gradsusr@gradsusr.org<br class="yiv8623445320" clear="none">
> http://secure-web.cisco.com/1v9r5rJb1OuQ69Htts-wjzgAMQT1C6_XD39z9wPsnQdKnQbtH0Vak9RsJIW3AFQEcrulhFV01lam7qwdTwSNd6QUktbwz9u0LZIinlappNmvhdlU1kPuzgA6fDJH2fOOrrYmWtHsSdjDq10otqyYApiDgieEidMPrGgNqA63whXU8i1Au4pwm00d20GaOj-7Lce-xgj2Xtu1pIiDKi64umNYBq-l46RXok2u_4zS-l9KObH8HD04G5-wmHEErjNnpPvzreimAvSQR3rdqbGYJFz48wJ5G8mbBu6NRCu0ktj4WWX2bGqBEBdQWVMhMaOw_hJUD8HPLSuudDG50xtPpRgyS5uTBrE1b4JS8dxyCn2BA1CMQcORXcxDpvBVgzf2gt1l4UVzcbbvw9JH--X4GciAjPmVrOs4T7r-QEMLlJmv7GsZWRUXd5IGX86lUCvL9/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
--<br class="yiv8623445320" clear="none">
Jennifer Miletta Adams<br class="yiv8623445320" clear="none">
Center for Ocean-Land-Atmosphere Studies (COLA)<br class="yiv8623445320" clear="none">
George Mason University<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
_______________________________________________<br class="yiv8623445320" clear="none">
gradsusr mailing list<br class="yiv8623445320" clear="none">
gradsusr@gradsusr.org<br class="yiv8623445320" clear="none">
http://gradsusr.org/mailman/listinfo/gradsusr<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
_______________________________________________<br class="yiv8623445320" clear="none">
gradsusr mailing list<br class="yiv8623445320" clear="none">
gradsusr@gradsusr.org<br class="yiv8623445320" clear="none">
http://secure-web.cisco.com/1tevWdtozE8qF4zYZxnQYBWzVWOxgAYAYIOOdaCg7Bls0JEvLzUPUzn4WO3jlX7nm7qStP9AB547b3GVp-M5XM9gMM9aPBEK1VqeYEx0REP8LpxQNCZf7fa8DH0KjP3HcoX_FZpf-s5Ll0Wpm9mVnvvW7b5W9m0rCMyUOpElteDS26dIZsjt8g4WcY6T3wWic6T1KKZXHSbolQCTpNh2Zj67nObmwszorJXj7y8Aod02hqWcagEGe4Epn-EqtStwLS7IODVshiWhdz3WYFyNMpXaUSX1WcfAK9Ibt_tbUbcMt87ixpo1NsZGccagd7y4PsCsh4vLELZtSWCPxksjgU03BkHihLomGRI6_M_Do3Y8NBEarhyQYapS0S1TdECvNNUQSmcgWveh859JiU_PU6Au-2DaXIQMTej4zy2YxRORBVl0mALM33P3tKu0vB8uq/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr<div class="yiv8623445320yqt2094151641" id="yiv8623445320yqtfd09450"><br class="yiv8623445320" clear="none">
</div></blockquote><div class="yiv8623445320yqt2094151641" id="yiv8623445320yqtfd60863">
<br class="yiv8623445320" clear="none">
<div class="yiv8623445320">--<br class="yiv8623445320" clear="none">
Jennifer Miletta Adams<br class="yiv8623445320" clear="none">
Center for Ocean-Land-Atmosphere Studies (COLA)<br class="yiv8623445320" clear="none">
George Mason University<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
<br class="yiv8623445320" clear="none">
</div>
<br class="yiv8623445320" clear="none">
</div></div><div class="yiv8623445320yqt2094151641" id="yiv8623445320yqtfd26301">
</div></div></div><div class="yqt2094151641" id="yqtfd51709">_______________________________________________<br clear="none">gradsusr mailing list<br clear="none"><a shape="rect" ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br clear="none"><a shape="rect" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br clear="none"></div></div>
</div>
</div></body></html>