pism / pism-builds

Scripts for building PISM on some HPC systems (mostly Chinook and NASA's Pleiades).
GNU General Public License v3.0
0 stars 2 forks source link

NCO doesn't build on pleiades #3

Open aaschwanden opened 6 years ago

aaschwanden commented 6 years ago

NCO provided by NASA causes segfaults so need to build our own.

Currently, running (even when CC=mpicc)

$ sh nco.sh fails with

ibnco.so -lexpat -lm /nasa/netcdf/4.4.1.1_mpt/lib/libnetcdf.so -lcurl /u/aaschwan/local/lib/libudunits2.so -fopenmp -Wl,-rpath -Wl,/u/aaschwan/local/lib -Wl,-rpath -Wl,/nasa/netcdf/4.4.1.1_mpt/lib
ncap_lex.o: In function `ncap_ntl_scn':
/u/aaschwan/local/sources/nco/src/nco/ncap_lex.l:970: undefined reference to `yy_scan_string'
ncap_lex.o: In function `ncap_ncwa_scn':
/u/aaschwan/local/sources/nco/src/nco/ncap_lex.l:1094: undefined reference to `yy_scan_string'
collect2: error: ld returned 1 exit status
Makefile:970: recipe for target 'ncap' failed
make[3]: *** [ncap] Error 1
make[3]: Leaving directory '/home1/aaschwan/local/sources/nco/src/nco'
Makefile:1360: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home1/aaschwan/local/sources/nco/src/nco'
Makefile:383: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home1/aaschwan/local/sources/nco/src'
Makefile:445: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1