Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCO doesn't build on pleiades #3

Open
aaschwanden opened this issue Dec 25, 2017 · 0 comments
Open

NCO doesn't build on pleiades #3

aaschwanden opened this issue Dec 25, 2017 · 0 comments

Comments

@aaschwanden
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant