Closed AliS-Noaa closed 1 year ago
Describe the bug To compile degrib2 for NWPS on HERA, I used g2c, png. I can not build the degrib2.
To Reproduce cd /scratch2/NCEPDEV/marine/alisalimi/NWPS/nwps-dev/nwps/sorc/degrib-2.15.cd
./build.sh degrib-2.15 | tee -a ${srcDir}/degrib-2.15.cd/degrib_build.log
Expected behavior /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/intel-18.0.5.274/png/1.6.35/lib64/libpng.a(pngrutil.c.o): In function png_handle_iCCP': pngrutil.c:(.text+0xf46): undefined reference toinflateValidate' /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/intel-18.0.5.274/png/1.6.35/lib64/libpng.a(pngrutil.c.o): In function png_decompress_chunk': pngrutil.c:(.text+0x3699): undefined reference toinflateValidate' /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/intel-18.0.5.274/png/1.6.35/lib64/libpng.a(pngrutil.c.o): In function png_read_start_row': pngrutil.c:(.text+0x69ca): undefined reference toinflateValidate' make: *** [degrib] Error 1 ERROR: build of degrib-2.15.cd FAILED!
png_handle_iCCP': pngrutil.c:(.text+0xf46): undefined reference to
png_decompress_chunk': pngrutil.c:(.text+0x3699): undefined reference to
png_read_start_row': pngrutil.c:(.text+0x69ca): undefined reference to
System: HERA
Additional context Currently Loaded Modules: 1) hpc/1.1.0 3) hpc-intel/18.0.5.274 5) hpc-impi/2018.0.4 7) jasper/2.0.25 9) bacio/2.4.1 11) w3nco/2.4.1 2) intel/18.0.5.274 4) impi/2018.0.4 6) g2c/1.6.2 8) png/1.6.35 10) g2/3.4.1
The zlib should be declare and png is depends on zlib. I declared the zlib and it is fixed now
Describe the bug To compile degrib2 for NWPS on HERA, I used g2c, png. I can not build the degrib2.
To Reproduce cd /scratch2/NCEPDEV/marine/alisalimi/NWPS/nwps-dev/nwps/sorc/degrib-2.15.cd
./build.sh degrib-2.15 | tee -a ${srcDir}/degrib-2.15.cd/degrib_build.log
Expected behavior /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/intel-18.0.5.274/png/1.6.35/lib64/libpng.a(pngrutil.c.o): In function
png_handle_iCCP': pngrutil.c:(.text+0xf46): undefined reference to
inflateValidate' /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/intel-18.0.5.274/png/1.6.35/lib64/libpng.a(pngrutil.c.o): In functionpng_decompress_chunk': pngrutil.c:(.text+0x3699): undefined reference to
inflateValidate' /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/intel-18.0.5.274/png/1.6.35/lib64/libpng.a(pngrutil.c.o): In functionpng_read_start_row': pngrutil.c:(.text+0x69ca): undefined reference to
inflateValidate' make: *** [degrib] Error 1 ERROR: build of degrib-2.15.cd FAILED!System: HERA
Additional context Currently Loaded Modules: 1) hpc/1.1.0 3) hpc-intel/18.0.5.274 5) hpc-impi/2018.0.4 7) jasper/2.0.25 9) bacio/2.4.1 11) w3nco/2.4.1 2) intel/18.0.5.274 4) impi/2018.0.4 6) g2c/1.6.2 8) png/1.6.35 10) g2/3.4.1