NERSCPowering Scientific Discovery Since 1974

"gni_pub.h" not found in compilation

March 29, 2011 by Helen He


After the OS upgrade to CLE3.1UP03, codes using "gni_pub.h" are getting the "gni_pub.h not found" error at compile time.  The workaround is to specify the detailed location of this include file in the CFLAGS or FCFLAGS. For example:  set CFLAGS = "$CFLAGS -I/opt/cray/gni-headers/default/include".


Problem has been reported to Cray.